Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS_Utilities_Math_Examples_InverseXRegularized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.InverseXRegularized,fileNamePrefix="IDEAS_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.001611/0.001611, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9084/0.9084, allocations: 133.6 MB / 141.6 MB, free: 2.895 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.451/1.451, allocations: 221.5 MB / 395.4 MB, free: 10.77 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.0008803/0.0008803, allocations: 101.2 kB / 478.2 MB, free: 1.297 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.68e-05/2.674e-05, allocations: 4 kB / 0.5535 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4078/0.4079, allocations: 82.3 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.5431, allocations: 111.7 MB / 0.7431 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002249/0.5434, allocations: 71.97 kB / 0.7431 GB, free: 10.85 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01204/0.5554, allocations: 3.809 MB / 0.7468 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.174e-06/0.5555, allocations: 0 / 0.7468 GB, free: 7.035 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.5555, allocations: 0 / 0.7468 GB, free: 7.035 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.0006177/0.5561, allocations: 382.3 kB / 0.7472 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 6.745e-05/0.5562, allocations: 8.031 kB / 0.7472 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00044/0.5567, allocations: 79.77 kB / 0.7473 GB, free: 6.531 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000202/0.5569, allocations: 163 kB / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.5569, allocations: 0 / 0.7474 GB, free: 6.332 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.322e-05/0.557, allocations: 11.88 kB / 0.7475 GB, free: 6.32 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001291/0.5571, allocations: 23.98 kB / 0.7475 GB, free: 6.297 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.5572, allocations: 45.69 kB / 0.7475 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.5572, allocations: 0 / 0.7475 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.477e-05/0.5573, allocations: 0 / 0.7475 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.5573, allocations: 0 / 0.7475 GB, free: 6.246 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005394/0.5578, allocations: 273.4 kB / 0.7478 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 9.794e-05/0.5579, allocations: 50.5 kB / 0.7478 GB, free: 5.883 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.189e-05/0.558, allocations: 16.92 kB / 0.7478 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.882e-05/0.558, allocations: 0 / 0.7478 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.558, allocations: 30.56 kB / 0.7479 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.558, allocations: 0 / 0.7479 GB, free: 5.824 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0003629/0.5584, allocations: 73.56 kB / 0.7479 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.5585, allocations: 55.44 kB / 0.748 GB, free: 5.68 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.43e-05/0.5585, allocations: 93 kB / 0.7481 GB, free: 5.582 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.5586, allocations: 29.7 kB / 0.7481 GB, free: 5.547 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.535e-05/0.5586, allocations: 84.14 kB / 0.7482 GB, free: 5.461 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.252e-05/0.5587, allocations: 7.891 kB / 0.7482 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.5587, allocations: 0 / 0.7482 GB, free: 5.453 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001474/0.5588, allocations: 314.8 kB / 0.7485 GB, free: 5.137 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.362e-05/0.5589, allocations: 12 kB / 0.7485 GB, free: 5.125 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.876e-05/0.5589, allocations: 20 kB / 0.7485 GB, free: 5.105 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.5591, allocations: 27.91 kB / 0.7486 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.5591, allocations: 0 / 0.7486 GB, free: 5.078 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000211/0.5593, allocations: 69.67 kB / 0.7486 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.069e-05/0.5593, allocations: 4 kB / 0.7486 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/0.5593, allocations: 0 / 0.7486 GB, free: 5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.606e-05/0.5594, allocations: 4.094 kB / 0.7486 GB, free: 4.996 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001862/0.5596, allocations: 27.97 kB / 0.7487 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.236e-05/0.5596, allocations: 0 / 0.7487 GB, free: 4.969 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001286/0.5597, allocations: 32.16 kB / 0.7487 GB, free: 4.938 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.174e-05/0.5597, allocations: 4 kB / 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 9.386e-05/0.5598, allocations: 104.9 kB / 0.7488 GB, free: 4.824 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002357/0.5601, allocations: 77.59 kB / 0.7489 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.182e-05/0.5601, allocations: 0 / 0.7489 GB, free: 4.742 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.068e-05/0.5601, allocations: 7.75 kB / 0.7489 GB, free: 4.734 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.5602, allocations: 8.031 kB / 0.7489 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.5602, allocations: 0 / 0.7489 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.5602, allocations: 0 / 0.7489 GB, free: 4.727 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.5604, allocations: 154.1 kB / 0.749 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-06/0.5604, allocations: 0 / 0.749 GB, free: 4.539 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.5606, allocations: 23.97 kB / 0.7491 GB, free: 4.516 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.5606, allocations: 7.938 kB / 0.7491 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.105e-05/0.5606, allocations: 4 kB / 0.7491 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.5606, allocations: 0 / 0.7491 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.5606, allocations: 0 / 0.7491 GB, free: 4.504 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002719/0.5609, allocations: 167.5 kB / 0.7492 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.855e-05/0.5609, allocations: 81.09 kB / 0.7493 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.754e-05/0.561, allocations: 0 / 0.7493 GB, free: 4.227 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.5611, allocations: 24.02 kB / 0.7493 GB, free: 4.203 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.178e-05/0.5612, allocations: 3.984 kB / 0.7493 GB, free: 4.199 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.026e-05/0.5612, allocations: 4 kB / 0.7493 GB, free: 4.195 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.689e-05/0.5612, allocations: 87.22 kB / 0.7494 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5612, allocations: 0 / 0.7494 GB, free: 4.109 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002397/0.5615, 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.0005941/0.5621, allocations: 0.7091 MB / 0.7501 GB, free: 3.359 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.5622, allocations: 27.98 kB / 0.7502 GB, free: 3.332 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.5622, allocations: 4.094 kB / 0.7502 GB, free: 3.328 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 4.425e-05/0.5623, allocations: 19.94 kB / 0.7502 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001898/0.5625, allocations: 4 kB / 0.7502 GB, free: 3.305 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000559/0.563, allocations: 141.5 kB / 0.7503 GB, free: 3.129 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.5633, allocations: 0.6768 MB / 0.751 GB, free: 2.426 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.409e-05/0.5634, allocations: 11.98 kB / 0.751 GB, free: 2.414 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.803e-05/0.5635, allocations: 15.44 kB / 0.751 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of SimCode: time 4.11e-07/0.5635, allocations: 0 / 0.751 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02293/0.5864, allocations: 1.061 MB / 0.752 GB, free: 1.348 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002117/0.5867, allocations: 135.6 kB / 0.7522 GB, free: 1.148 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.509/2.096, allocations: 3.125 kB / 0.7522 GB, free: 1.148 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_InverseXRegularized.fmu > IDEAS_IDEAS.Utilities.Math.Examples.InverseXRegularized.pipe 2>&1)