OpenMx Error Messages

Error in runHelper NLOPT unrecognized error -1
While running simulations with the development version of OpenMx, I ran into an interesting error:
Error in runHelper(model, frontendStart, intervals, silent, suppressWarnings, :
NLOPT unrecognized error -1; please report to developers
It is somewhat difficult to replicate and it took some time to put together the attached example. As you may see in the attached, I read in the same dataset and fit the same model 10 times, obtaining likelihood-based CIs each time for a single parameter. The error only shows up for some replications.
Thought you all should know!

Error: A cycle has been detected in model
If you create a multi-group model by simply embedding the group models in a container, be sure an add an explicit model name or put the fit function first. Otherwise mxModel will interpret the first parameter as a base model to update, and adding the multigroup function will cause a "cycle" - a reference that resolves back to itself.
works:
myModel = mxModel("twoGroups", m1, m2, mxFitFunctionMultigroup(c("female", "male")))
Fails:
myModel = mxModel(m1, m2, mxFitFunctionMultigroup(c("female", "male")))
- Read more about Error: A cycle has been detected in model
- Log in or register to post comments


tssem2() results produce status code 5
Good morning, as this is my first post, I apologize in advance if I am missing any information.
I am running a meta-analytic SEM using the metaSEM package under the following environmental conditions:
OpenMx version: 2.5.2 [GIT v2.5.2]
R version: R version 3.2.2 (2015-08-14)
Platform: x86_64-apple-darwin13.4.0
MacOS: 10.11.3
Default optimiser: SLSQP
Package: metaSEM
Type: Package
Version: 0.9.6
Date: 2015-10-31
License: GPL (>=2)
LazyLoad: yes
- Read more about tssem2() results produce status code 5
- 2 comments
- Log in or register to post comments

Error: The data object 'MZ.data' contains an observed matrix that is not of type 'double'
Hi Everybody!!!
I'm really naive using OpenMx. So probably my question is a silly mistake. Any way;
I try to perform a twin analysis with sex and age as covariates. I have used the script "UnivariateTwinAnalysis_MatrixRaw-3" from Dr. neale that I found in this forum. But I don't want generate sex and age data because I have mine. So I changed a bit the script.
*******************************************************************
summary(test)
selVars <- c('hear1','hear2')
mzData <- as.matrix(subset(test, zyg==1, c(hear1,hear2,sex1,sex2,age1,age2)))

Error in if (class(fit) == "try-error" || is.na(fit$output$minimum) || : missing value where TRUE/FALSE needed
I'm running a measurement model (two time point common factor model) and I am getting an error message I've never seen before when I drop a parameter. I talked to AdminRobK about this, and he suggested I post it to the forums. The error reads:
Error in if (class(fit) == "try-error" || is.na(fit$output$minimum) || : missing value where TRUE/FALSE needed
In addition: Warning message:
In is.na(fit$output$minimum) : is.na() applied to non-(list or vector) of type 'NULL'

mxRefModels error
Hi all,
I'm running a Qualitative Sex Differences ACE model and I'm using the mxRefModels to get the reference models, but for some variables I get a error:
>mxRefModels(QualAceFit_rg, run = T)
Error in chol.default(sampcov) :
the leading minor of order 1 is not positive definite
> mxVersion()
OpenMx version: 2.3.1 [GIT v2.3.1]
R version: R version 3.2.1 (2015-06-18)
Platform: x86_64-w64-mingw32
Default optimiser: NPSOL
- Read more about mxRefModels error
- 7 comments
- Log in or register to post comments

executing error, band dispersion problem
Hello everyone,
I am struggling with a “band dispersion” problem.
I am trying to execute my input file with the following command:
% ./openmx input_file_name.dat
and I get the following error:
Error: unexpected input in "% ./openmx input_file_name.dat"
any idea how to fix it?
PS:
I'm working in the directory where my input file is.
I am using the latest version of OpenMX under R 3.2.2 on Win10 (64-bit).
- Read more about executing error, band dispersion problem
- 1 comment
- Log in or register to post comments

mxFactorScores - Error: The KA matrix associated with ... is not an N x 1 matrix
Not sure why I'm getting an error when I'm trying to compute factor scores using mxFactorScores with type="ML". The model has two correlated latent factors.
> fit.lisrel <- mxRun(model.lisrel)
Running Model LISREL
> summary(fit.lisrel)
Summary of Model LISREL
free parameters:
name matrix row col Estimate Std.Error A lbound ubound
1 b_e_nc LX c_nc_el mu_e 1.13324087 0.16178139
2 b_o_nc LX c_nc_or mu_o 1.11548157 0.13534684
3 v_e PH mu_e mu_e 0.11987041 0.03554072 0.01

Permutations Analysis non-zero status code 6 warning
Hello,
I have completed a standard ACE model of a phenotype with no errors. I now want to permute the zygosity labels of the twins and perform 10,000 permutations of the ACE model. I will then use this distribution of permitted A estimates to estimate the significance of my observed A.
Pagination
- Previous page
- Page 3
- Next page