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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001771/0.00177, allocations: 180.2 kB / 7.65 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7858/0.7858, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009495/0.0009494, allocations: 100.1 kB / 478.2 MB, free: 1.301 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.331e-05/2.336e-05, allocations: 8 kB / 0.5536 GB, free: 8.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4058, allocations: 82.3 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1375/0.5434, allocations: 111.7 MB / 0.7431 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002062/0.5436, allocations: 71.95 kB / 0.7431 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01178/0.5554, allocations: 3.809 MB / 0.7468 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.313e-06/0.5555, allocations: 0 / 0.7468 GB, free: 7.039 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.5555, allocations: 0 / 0.7468 GB, free: 7.039 MB / 0.5261 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.0004853/0.556, allocations: 382.3 kB / 0.7472 GB, free: 6.621 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.556, allocations: 15.97 kB / 0.7472 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.5564, allocations: 63.84 kB / 0.7473 GB, free: 6.543 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001471/0.5566, allocations: 171 kB / 0.7474 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.591e-05/0.5566, allocations: 4 kB / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.5566, allocations: 0 / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.603e-05/0.5567, allocations: 27.94 kB / 0.7475 GB, free: 6.305 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.489e-05/0.5568, allocations: 49.67 kB / 0.7475 GB, free: 6.25 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.5569, allocations: 3.984 kB / 0.7475 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.5569, allocations: 0 / 0.7475 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.5569, allocations: 0 / 0.7475 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004383/0.5573, allocations: 277.4 kB / 0.7478 GB, free: 5.938 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 7.634e-05/0.5574, allocations: 38.58 kB / 0.7478 GB, free: 5.891 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.781e-05/0.5575, allocations: 20.92 kB / 0.7478 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.801e-05/0.5575, allocations: 3.938 kB / 0.7479 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.598e-05/0.5575, allocations: 30.56 kB / 0.7479 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.5575, allocations: 0 / 0.7479 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002912/0.5578, allocations: 73.58 kB / 0.748 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.486e-05/0.5579, allocations: 59.39 kB / 0.748 GB, free: 5.676 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.12e-05/0.558, allocations: 93 kB / 0.7481 GB, free: 5.578 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.558, allocations: 25.7 kB / 0.7481 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.536e-05/0.558, allocations: 80.14 kB / 0.7482 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.649e-05/0.5581, allocations: 3.906 kB / 0.7482 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.141e-06/0.5581, allocations: 3.938 kB / 0.7482 GB, free: 5.457 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.5582, allocations: 322.8 kB / 0.7485 GB, free: 5.133 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.665e-05/0.5582, allocations: 16.02 kB / 0.7485 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.616e-05/0.5583, allocations: 12 kB / 0.7485 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001167/0.5584, allocations: 23.97 kB / 0.7486 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.5584, allocations: 0 / 0.7486 GB, free: 5.082 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000181/0.5586, allocations: 73.61 kB / 0.7486 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.5586, allocations: 4 kB / 0.7486 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.5586, allocations: 4.094 kB / 0.7486 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.5587, allocations: 0 / 0.7486 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001737/0.5588, allocations: 27.97 kB / 0.7487 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.5588, allocations: 3.938 kB / 0.7487 GB, free: 4.965 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001285/0.559, allocations: 31.97 kB / 0.7487 GB, free: 4.934 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.559, allocations: 0 / 0.7487 GB, free: 4.934 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.578e-05/0.5591, allocations: 108.9 kB / 0.7488 GB, free: 4.82 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001857/0.5593, allocations: 65.67 kB / 0.7489 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.5593, allocations: 0 / 0.7489 GB, free: 4.75 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.72e-05/0.5593, allocations: 15.77 kB / 0.7489 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.5593, allocations: 3.938 kB / 0.7489 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.5593, allocations: 0 / 0.7489 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.5593, allocations: 0 / 0.7489 GB, free: 4.73 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001573/0.5595, allocations: 154.1 kB / 0.749 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.5595, allocations: 0 / 0.749 GB, free: 4.543 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001463/0.5597, allocations: 27.97 kB / 0.7491 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.836e-06/0.5597, allocations: 4 kB / 0.7491 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.818e-06/0.5597, allocations: 0 / 0.7491 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.5597, allocations: 256 / 0.7491 GB, free: 4.512 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/0.5597, allocations: 4 kB / 0.7491 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002273/0.5599, allocations: 171.5 kB / 0.7492 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.594e-05/0.56, allocations: 77.11 kB / 0.7493 GB, free: 4.23 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.549e-05/0.56, allocations: 4.031 kB / 0.7493 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000149/0.5602, allocations: 23.97 kB / 0.7493 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.5602, allocations: 4 kB / 0.7493 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.534e-06/0.5602, allocations: 3.984 kB / 0.7493 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.5603, allocations: 83.28 kB / 0.7494 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5603, allocations: 4 kB / 0.7494 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002411/0.5605, allocations: 16 kB / 0.7494 GB, free: 4.094 MB / 0.5261 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005418/0.5611, allocations: 0.709 MB / 0.7501 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.5612, allocations: 28.03 kB / 0.7502 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5612, allocations: 0 / 0.7502 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.798e-05/0.5613, allocations: 19.98 kB / 0.7502 GB, free: 3.312 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.5614, allocations: 3.938 kB / 0.7502 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005688/0.562, allocations: 145.5 kB / 0.7503 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000276/0.5623, allocations: 0.6807 MB / 0.751 GB, free: 2.422 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 8.267e-05/0.5624, allocations: 7.984 kB / 0.751 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.348e-05/0.5624, allocations: 11.44 kB / 0.751 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of SimCode: time 3.1e-07/0.5625, allocations: 0 / 0.751 GB, free: 2.402 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01918/0.5816, allocations: 1.068 MB / 0.752 GB, free: 1.344 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.5819, allocations: 134.1 kB / 0.7522 GB, free: 1.152 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.073, allocations: 3.125 kB / 0.7522 GB, free: 1.152 MB / 0.5261 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/linux/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)