Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004538/0.004538, allocations: 98.67 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 202.7 kB / 16.68 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9419/0.9419, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001507, allocations: 63.91 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4035/0.4051, allocations: 80.9 MB / 0.6642 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.InverseXRegularized): time 0.00205/0.4072, allocations: 1.451 MB / 0.6656 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000951/0.4081, allocations: 0.7832 MB / 0.6663 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.487e-05/0.4082, allocations: 1.125 kB / 0.6663 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.412e-05/0.4082, allocations: 3.938 kB / 0.6663 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.008e-05/0.4082, allocations: 5.172 kB / 0.6663 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.4086, allocations: 137.5 kB / 0.6665 GB, free: 5.406 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.874e-05/0.4087, allocations: 29.7 kB / 0.6665 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.261e-05/0.4088, allocations: 3.688 kB / 0.6665 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.164e-05/0.4089, allocations: 14.05 kB / 0.6665 GB, free: 5.383 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.075e-05/0.4089, allocations: 22.69 kB / 0.6665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.4089, allocations: 4.031 kB / 0.6665 GB, free: 5.367 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.4093, allocations: 313 kB / 0.6668 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.4093, allocations: 9.609 kB / 0.6669 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.248e-05/0.4094, allocations: 13.5 kB / 0.6669 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002573/0.4096, allocations: 203.5 kB / 0.6671 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4096, allocations: 0 / 0.6671 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.383e-06/0.4096, allocations: 0 / 0.6671 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.4097, allocations: 0 / 0.6671 GB, free: 5.059 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000426/0.4101, allocations: 376.8 kB / 0.6674 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.4101, allocations: 8.906 kB / 0.6674 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.677e-05/0.4102, allocations: 39.97 kB / 0.6675 GB, free: 4.617 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004328/0.4106, allocations: 70.38 kB / 0.6675 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.79e-05/0.4107, allocations: 162.6 kB / 0.6677 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.156e-05/0.4107, allocations: 5.531 kB / 0.6677 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.4107, allocations: 1.469 kB / 0.6677 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002767/0.411, allocations: 85.56 kB / 0.6678 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.411, allocations: 1.656 kB / 0.6678 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.411, allocations: 0 / 0.6678 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-06/0.411, allocations: 0 / 0.6678 GB, free: 4.324 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004044/0.4115, allocations: 90.98 kB / 0.6679 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004262/0.4119, allocations: 301.1 kB / 0.6682 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003508/0.4123, allocations: 99.83 kB / 0.6682 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.4125, allocations: 51.75 kB / 0.6683 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.661e-05/0.4125, allocations: 0 / 0.6683 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.668e-05/0.4125, allocations: 31.72 kB / 0.6683 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 7.51e-07/0.4125, allocations: 0 / 0.6683 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0007103/0.4132, allocations: 174 kB / 0.6685 GB, free: 3.742 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.481e-05/0.4133, allocations: 51.41 kB / 0.6685 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.35e-05/0.4133, allocations: 104 kB / 0.6686 GB, free: 3.574 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.056e-05/0.4133, allocations: 27.08 kB / 0.6687 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.4134, allocations: 89.38 kB / 0.6688 GB, free: 3.453 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.742e-05/0.4134, allocations: 3.906 kB / 0.6688 GB, free: 3.449 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.444e-05/0.4134, allocations: 13.56 kB / 0.6688 GB, free: 3.434 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.071e-05/0.4135, allocations: 323.9 kB / 0.6691 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.4137, allocations: 44.56 kB / 0.6691 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.4139, allocations: 47.14 kB / 0.6692 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003652/0.4142, allocations: 88.2 kB / 0.6692 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.4143, allocations: 1.312 kB / 0.6692 GB, free: 3.027 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004166/0.4147, allocations: 120.2 kB / 0.6694 GB, free: 2.957 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.4147, allocations: 13.33 kB / 0.6694 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.198e-06/0.4147, allocations: 0 / 0.6694 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.351e-05/0.4147, allocations: 1.312 kB / 0.6694 GB, free: 2.949 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001605/0.4149, allocations: 28.5 kB / 0.6694 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.4149, allocations: 1.438 kB / 0.6694 GB, free: 2.934 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.415, allocations: 14.11 kB / 0.6694 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.987e-06/0.415, allocations: 1.469 kB / 0.6694 GB, free: 2.93 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.916e-05/0.4151, allocations: 111.3 kB / 0.6695 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.4151, allocations: 5.266 kB / 0.6695 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.4152, allocations: 12.47 kB / 0.6695 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.4152, allocations: 0 / 0.6695 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4152, allocations: 0 / 0.6695 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.4152, allocations: 1.594 kB / 0.6695 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001256/0.4153, allocations: 185.4 kB / 0.6697 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.4153, allocations: 0 / 0.6697 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.4155, allocations: 20.61 kB / 0.6697 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.4155, allocations: 5.266 kB / 0.6697 GB, free: 2.559 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.4155, allocations: 4 kB / 0.6698 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.4155, allocations: 1.344 kB / 0.6698 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4155, allocations: 3.938 kB / 0.6698 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004439/0.4159, allocations: 223.4 kB / 0.67 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.863e-05/0.416, allocations: 78.45 kB / 0.67 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.416, allocations: 0 / 0.67 GB, free: 2.277 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001372/0.4161, allocations: 19.23 kB / 0.6701 GB, free: 2.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.302e-05/0.4162, allocations: 5.047 kB / 0.6701 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.663e-06/0.4162, allocations: 1.344 kB / 0.6701 GB, free: 2.266 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.335e-05/0.4162, allocations: 88.12 kB / 0.6702 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4162, allocations: 0 / 0.6702 GB, free: 2.184 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002333/0.4164, allocations: 18.86 kB / 0.6702 GB, free: 2.176 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006524/0.4171, allocations: 0.7616 MB / 0.6709 GB, free: 1.461 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004533/0.4176, allocations: 99.3 kB / 0.671 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.4176, allocations: 0 / 0.671 GB, free: 1.418 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002068/0.4178, allocations: 43.45 kB / 0.6711 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003268/0.4181, allocations: 3.062 kB / 0.6711 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006993/0.4188, allocations: 213.7 kB / 0.6713 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.694e-05/0.4189, allocations: 0.6734 MB / 0.6719 GB, free: 0.5078 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.421e-05/0.419, allocations: 8.25 kB / 0.6719 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.544e-05/0.4191, allocations: 17.98 kB / 0.6719 GB, free: 500 kB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.4191, allocations: 0 / 0.6719 GB, free: 500 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.4374, allocations: 1.691 MB / 0.6736 GB, free: 15.54 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.446/7.884, allocations: 4.375 kB / 0.6736 GB, free: 15.54 MB / 0.5137 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)