OpenMx Error Messages

Posted on
Picture of user. Julia Joined: 03/29/2012

Multiple separator characters

Hello.
We are currently developing an environment in R which would allow us analysing data without physical sharing of them, i.e. data (from one or several sources) are located on external server(-s) and R commands are sent to that server via a secured authenticated network. Only restricted summary statistics would be sent back to the analysis computer without disclosing any data. I will not go into details here, but just to give an idea of what it is.

Posted on
No user picture. Lucía Joined: 04/11/2013

Error - NA values

Hi everybody,

I have been trying to run a model when checking the assumptions. It is a univariate analysis with an ordinal variable with two thresholds, and I have two covariates.

Everything seems to be fine, but I get this error message:

> baseFit <- mxRun( baseModel, intervals=FALSE )
Running base
Error: In model 'base' the thresholds in column 'BFEED12th_01' of matrix/algebra 'fMZ.expThreshfMZ' contain NA values. Only the first 2 elements of this column are inspected.

Do you know what may be happening?

Posted on
Picture of user. Robert Long Joined: 02/22/2013

Expected covariance matrix is non-positive-definite

Hi all

I'm new to OpenMx. Actually I'm trying to convert some SEMs written in Stata into R for a module that I am helping to deliver, and for better or worse, we have chosen OpenMx as the R package to use.

It is a very simple path analysis. In Stata the code is just


ssd init BMI SO RT SE
ssd set correlations ///
1 \ ///
0.43 1 \ ///
0.16 0.53 1 \ ///
0.02 -0.18 -0.25 1

ssd set sd 4.46 7.09 5.68 5.97
ssd set observations 202

sem ///
( SE <- RT ) ///
( RT <- SO ) ///
( SO <- BMI ) ///
, standardized nocapslatent

Posted on
No user picture. Flo Joined: 01/29/2013

NPSOL Error Message 6

Hello everybody,
I try to do a Monte Carlo simulation with a very simple SEM. I've got 2 latent variables and 3 categorical indicators with 3 categories per latent variable (see the attachment).
If I run my model (code is also in the attachment) I receive different error messages:
-"In model 'Title' NPSOL returned a non-zero status code 1. The final iterate satisfies the optimality conditions to the accuracy requested..."
-"In model 'Title' NPSOL returned a non-zero status code 6. The model does not satisfy the first-order optimality conditions..."

Posted on
Picture of user. rabil Joined: 01/14/2010

OpenMx Crash - double free or corruption - CT-SEM

I'm trying to run the CT-SEM examples from Oud et al. I'm running on an 8-core system that's running Red Hat EL5. I compiled R locally (2.15.2 Patched (2013-01-22 r61734)) and I'm running OpenMx 1.3.2. I've attached the CT-SEM files (containing data, input, and continuous_time function) and the output when R crashes.

Posted on
No user picture. romidico Joined: 01/09/2013

Multivariate ACE error message in binary data

Hi all,

I am trying to run multivariate ACE model for binary data, but I keep on getting error message...

This is my script:

require(OpenMx)

# ------------------------------------------------------------------------------
# PREPARE DATA

OMdataset <- read.csv("twins-only.csv", header=T,)
# sep = ",", dec = ".", quote="\"", na.strings="-99"

OMdataset$TONSa -> OMdataset$T_01
OMdataset$TONSb -> OMdataset$T_02

OMdataset$ADENa -> OMdataset$A_01
OMdataset$ADENb -> OMdataset$A_02

OMdataset$GROMa -> OMdataset$G_01
OMdataset$GROMb -> OMdataset$G_02

Posted on
No user picture. Jean Joined: 11/10/2009

Growth Mixture Model Error

First I ran this model using my own data, and met the error message:

Running Growth Mixture Model
Error in substituteOperators(as.list(retval), algebra@name) :
cannot allocate memory block of size 2.9 Gb
In addition: Warning message:
In substituteOperators(as.list(retval), algebra@name) :
restarting interrupted promise evaluation

So I just tried to run the example data and example R code "GrowthMixtureModel_PathRaw.R", but still the same error.
Anyone knows what happened here?

Thank you.

Posted on
No user picture. MG Joined: 10/29/2010

Multivariate AE model

HI,
I am using this script to run a multivariate-Cholesky AE model

multAEModel <- mxModel(choleskyACEFit, name="multAE",
mxModel(choleskyACEFit$ACE,
mxMatrix( type="Lower", nrow=nv, ncol=nv, free=F, values=0, name="c" ),
mxCI(c("ACE.sta","ACE.stc","ACE.ste")))
)

This is the error message I get:

Error: The following error occurred while evaluating the subexpression 'solve(sqrt(AE.I * AE.C))' during the evaluation of 'AE.Rc' in model 'univAE' : Lapack routine dgesv: system is exactly singular

Posted on
No user picture. Karin Joined: 02/11/2011

Errors in UnivariateTwinSaturated_MatrixRawCon.R

I am just starting out in OpenMx and am trying to run the demonstration script UnivariateTwinSaturated_MatrixRawCon.R I get the error messages below.

Can anybody help?

Thankyou

Karin

> # Fit Model with Equal Means & Variances across Twin Order and Zygosity
> # -----------------------------------------------------------------------
> # Constrain expected means and variances to be equal across twin order
> equateMeansVarsTwinModel <- mxModel(univTwinSatFit, name="equateMeansVarsTwin",
+ mxConstraint( alg1="MZ.expVarMZt1", "=", alg2="MZ.expVarMZt2", name="VarMZt1ist2"),

Posted on
No user picture. HAMED Joined: 06/15/2012

Error in runHelper: "Requested improper value (#, #) from (#, #) matrix".

Hello,

I'm using metaSEM package developed using OpenMx for conducting meta-analytical structural equation modeling (http://courses.nus.edu.sg/course/psycwlm/Internet/). When applying the mxModel (through tssem1RE function in metaSEM) to my data, I receive a message about an error in runHelper saying that "Requested improper value (5, 41) from (4, 702) matrix" and the function is terminated! I have attached a snapshot of the error message.