Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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: translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 100.1 kB / 15.88 MB, free: 12 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 198.7 kB / 16.79 MB, free: 6.809 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.342/1.342, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9222/0.9222, allocations: 135.1 MB / 425.7 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 60.91 kB / 0.5053 GB, free: 5.77 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1747/0.1759, allocations: 80.92 MB / 0.5843 GB, free: 5.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.489/0.6649, allocations: 145.6 MB / 0.7265 GB, free: 3.613 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001378/0.6651, allocations: 57.33 kB / 0.7266 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.972e-05/0.6651, allocations: 0 / 0.7266 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000117/0.6653, allocations: 1.922 kB / 0.7266 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.257e-05/0.6654, allocations: 13.56 kB / 0.7266 GB, free: 3.574 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004358/0.6658, allocations: 98.05 kB / 0.7267 GB, free: 3.531 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.766e-05/0.6659, allocations: 53.48 kB / 0.7267 GB, free: 3.52 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.778e-05/0.666, allocations: 7.719 kB / 0.7267 GB, free: 3.516 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.666, allocations: 17.53 kB / 0.7267 GB, free: 3.508 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.89e-05/0.6661, allocations: 14.84 kB / 0.7268 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.489e-05/0.6661, allocations: 1.094 kB / 0.7268 GB, free: 3.504 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002666/0.6664, allocations: 80.62 kB / 0.7268 GB, free: 3.473 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.635e-05/0.6665, allocations: 9.344 kB / 0.7268 GB, free: 3.469 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.585e-05/0.6665, allocations: 15.56 kB / 0.7269 GB, free: 3.461 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000138/0.6667, allocations: 45.11 kB / 0.7269 GB, free: 3.457 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.6667, allocations: 0 / 0.7269 GB, free: 3.457 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6667, allocations: 0 / 0.7269 GB, free: 3.457 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.586e-06/0.6667, allocations: 4 kB / 0.7269 GB, free: 3.453 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004321/0.6671, allocations: 338.2 kB / 0.7272 GB, free: 3.098 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.6672, allocations: 9.375 kB / 0.7272 GB, free: 3.098 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002421/0.6674, allocations: 22.09 kB / 0.7273 GB, free: 3.094 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001159/0.6675, allocations: 163.1 kB / 0.7274 GB, free: 2.898 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.497e-05/0.6676, allocations: 36.78 kB / 0.7274 GB, free: 2.859 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.287e-06/0.6676, allocations: 1.125 kB / 0.7274 GB, free: 2.859 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000151/0.6678, allocations: 60.53 kB / 0.7275 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.6678, allocations: 0 / 0.7275 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.6678, allocations: 0 / 0.7275 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.881e-05/0.6678, allocations: 2.234 kB / 0.7275 GB, free: 2.812 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.462e-05/0.6679, allocations: 18.61 kB / 0.7275 GB, free: 2.809 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.6683, allocations: 257.4 kB / 0.7278 GB, free: 2.535 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.749e-05/0.6683, allocations: 25.19 kB / 0.7278 GB, free: 2.504 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.729e-05/0.6684, allocations: 6.984 kB / 0.7278 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 6.863e-06/0.6684, allocations: 1.469 kB / 0.7278 GB, free: 2.496 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.6684, allocations: 30.56 kB / 0.7278 GB, free: 2.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.393e-06/0.6684, allocations: 1.438 kB / 0.7278 GB, free: 2.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001373/0.6686, allocations: 39.17 kB / 0.7279 GB, free: 2.418 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.6686, allocations: 61.47 kB / 0.7279 GB, free: 2.348 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.637e-05/0.6687, allocations: 110.5 kB / 0.728 GB, free: 2.242 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.6687, allocations: 26.41 kB / 0.7281 GB, free: 2.211 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.852e-05/0.6688, allocations: 91 kB / 0.7281 GB, free: 2.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.286e-06/0.6688, allocations: 9.625 kB / 0.7282 GB, free: 2.113 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.29e-05/0.6688, allocations: 17.11 kB / 0.7282 GB, free: 2.094 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.6689, allocations: 313.8 kB / 0.7285 GB, free: 1.781 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.72e-05/0.669, allocations: 3.625 kB / 0.7285 GB, free: 1.781 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.821e-05/0.669, allocations: 30.16 kB / 0.7285 GB, free: 1.75 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.301e-05/0.669, allocations: 35.09 kB / 0.7285 GB, free: 1.715 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.669, allocations: 0 / 0.7285 GB, free: 1.715 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.372e-05/0.6691, allocations: 55.19 kB / 0.7286 GB, free: 1.676 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.602e-05/0.6692, allocations: 12 kB / 0.7286 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.6692, allocations: 0 / 0.7286 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.6692, allocations: 1.281 kB / 0.7286 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.874e-05/0.6693, allocations: 6.188 kB / 0.7286 GB, free: 1.672 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.6693, allocations: 5.703 kB / 0.7286 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.814e-05/0.6693, allocations: 5.5 kB / 0.7286 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.681e-06/0.6693, allocations: 2.156 kB / 0.7286 GB, free: 1.668 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 7.309e-05/0.6694, allocations: 112.7 kB / 0.7287 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.6694, allocations: 1.594 kB / 0.7287 GB, free: 1.551 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.998e-05/0.6695, allocations: 14.02 kB / 0.7287 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.6695, allocations: 0 / 0.7287 GB, free: 1.543 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6695, allocations: 3.938 kB / 0.7287 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.6695, allocations: 1.422 kB / 0.7287 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002323/0.6697, allocations: 348.4 kB / 0.7291 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.6697, allocations: 0 / 0.7291 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.6698, allocations: 2.891 kB / 0.7291 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.628e-06/0.6698, allocations: 5.125 kB / 0.7291 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.919e-06/0.6698, allocations: 32 / 0.7291 GB, free: 1.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.6698, allocations: 4 kB / 0.7291 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.6698, allocations: 1.344 kB / 0.7291 GB, free: 1.145 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.534e-05/0.6699, allocations: 60.91 kB / 0.7291 GB, free: 1.074 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.6699, allocations: 78.88 kB / 0.7292 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.6699, allocations: 5.953 kB / 0.7292 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.482e-05/0.67, allocations: 4.188 kB / 0.7292 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.635e-05/0.67, allocations: 5.062 kB / 0.7292 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.635e-06/0.67, allocations: 0.6562 kB / 0.7292 GB, free: 0.9727 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.142e-05/0.6701, allocations: 86.09 kB / 0.7293 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.156e-06/0.6701, allocations: 0 / 0.7293 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002004/0.6703, allocations: 11.03 kB / 0.7293 GB, free: 0.8906 MB / 0.545 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 (1): * Single equations (assignments): 1 * 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 9.828e-05/0.6704, allocations: 96.12 kB / 0.7294 GB, free: 0.8047 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.295e-05/0.6705, allocations: 15.27 kB / 0.7294 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6705, allocations: 192 / 0.7294 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.055e-06/0.6705, allocations: 10.89 kB / 0.7294 GB, free: 0.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002353/0.6707, allocations: 4.531 kB / 0.7295 GB, free: 0.793 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002677/0.671, allocations: 142 kB / 0.7296 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.6713, allocations: 0.6748 MB / 0.7302 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.6713, allocations: 9.656 kB / 0.7303 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.6713, allocations: 0 / 0.7303 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.001994/0.6733, allocations: 0.5599 MB / 0.7308 GB, free: 15.93 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)