mxRun() returns without error, model claims to have not been run...

Several core users report models (typically running for many hours) returning as if the run was successful, but the returned model is marked as never run, contains no output.

I think all cases involve ordinal/binary data or joint ordinal.

CSOLNP is known to have this behavior, May affect NPSOL as well: need to check and update this bug report

Happens with 1 core as well as several.

Mike suspects optimiser finds an -Inf log likelihood and quit.

Model fails on being re-run filteredDataRow entity already exists

Hi, This still seems to be a bug in the OpenMx 2 beta 2.

Model with arow objective runs fine once, then dies the second time, trying to update "filteredDataRow"

OpenMx version: 2.0.0.3751
R version: R version 3.1.1 (2014-07-10)
Platform: x86_64-apple-darwin13.1.0
Default optimiser: CSOLNP


# ===============================
# = Model fails on being re-run =
# ===============================

library(OpenMx)
# =================
# = 1. Make data set =
# =================
set.seed(159)
xdat <- data.frame(a=rnorm(10, mean=4.2), b=1:10)

With binary data omxSaturatedModel builds under-identified model

Mike Neale pointed this out in response to a user post.

http://openmx.psyc.virginia.edu/thread/3883#comment-5602

The saturated/independence models for binary data need to be modified a little be smartly depending on the number of categories in ordinal factors.

Error message is garbled in Windows

Sometimes error messages for NaN get garbled in Windows. See the thread below.

http://openmx.psyc.virginia.edu/thread/3881#comment-5574

exited abnormally with the error message: MxComputeGradientDescent: fitfunction Sat.fitfunction evaluated to 1.#QNAN0 ()

We need a script that generates this error. Rob alluded to there being one. And then we can try to fix the printing of the error message.

Second OpenMx 2.0 beta is released

The second beta of OpenMx version 2.0 is now publicly available! Interested users can download and install this new version by copy-pasting source('https://openmx.ssri.psu.edu/getOpenMxBeta.R') into the R command line and pressing 'Return'. Documentation for the beta is available here. This second beta incorporates a number of minor adjustments and bug fixes that make it an improvement over the first beta.

mxEval(formula, model, environment = model) # add environment

mxEval looks in the parent environments to find objects. This can be handy, allowing reference to such objects in algebra. However, when used in the context of getting things out of models (quite a common use-case), it can be dangerous: mxEval might return an object with the same name from the environment, rather than from inside the model you have set as the target.

Example. Say you have a matrix


m1$submodels$top$matrices$nVar$values
[,1]
[1,] 1