Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 107.5 kB / 16.27 MB, free: 6.414 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.00114/0.00114, allocations: 189.3 kB / 17.2 MB, free: 5.953 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.373/1.373, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8009/0.8009, allocations: 132.2 MB / 423.2 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001266/0.001266, allocations: 63.91 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3933/0.3946, allocations: 80.18 MB / 0.5807 GB, free: 27.31 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1753/0.5699, allocations: 148.3 MB / 0.7255 GB, free: 9.441 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002117/0.5702, allocations: 55.86 kB / 0.7256 GB, free: 9.387 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.5702, allocations: 3.938 kB / 0.7256 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001608/0.5704, allocations: 3.938 kB / 0.7256 GB, free: 9.379 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001085/0.5706, allocations: 19.91 kB / 0.7256 GB, free: 9.359 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001184/0.5718, allocations: 214 kB / 0.7258 GB, free: 9.152 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.5719, allocations: 31.91 kB / 0.7258 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.683e-05/0.572, allocations: 0 / 0.7258 GB, free: 9.121 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 5.48e-05/0.5721, allocations: 23.92 kB / 0.7259 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.5722, allocations: 11.92 kB / 0.7259 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.638e-05/0.5722, allocations: 0 / 0.7259 GB, free: 9.086 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005935/0.5728, allocations: 199.4 kB / 0.7261 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.765e-05/0.5729, allocations: 4 kB / 0.7261 GB, free: 8.887 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.617e-05/0.5729, allocations: 7.984 kB / 0.7261 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003459/0.5733, allocations: 117.7 kB / 0.7262 GB, free: 8.766 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.844e-06/0.5733, allocations: 4 kB / 0.7262 GB, free: 8.762 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.934e-06/0.5733, allocations: 4 kB / 0.7262 GB, free: 8.758 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.683e-06/0.5733, allocations: 0 / 0.7262 GB, free: 8.758 MB / 0.5606 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.0005801/0.5739, allocations: 343.4 kB / 0.7265 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.977e-05/0.574, allocations: 12.03 kB / 0.7265 GB, free: 8.363 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004602/0.5745, allocations: 16.92 kB / 0.7265 GB, free: 8.348 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001668/0.5746, allocations: 168.4 kB / 0.7267 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.372e-05/0.5747, allocations: 33.64 kB / 0.7267 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.759e-05/0.5748, allocations: 4 kB / 0.7267 GB, free: 8.102 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001958/0.575, allocations: 61.55 kB / 0.7268 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.575, allocations: 0 / 0.7268 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.575, allocations: 0 / 0.7268 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.869e-05/0.575, allocations: 0 / 0.7268 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.388e-05/0.5751, allocations: 23.98 kB / 0.7268 GB, free: 8.012 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004709/0.5756, allocations: 256.8 kB / 0.7271 GB, free: 7.711 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 8.181e-05/0.5757, allocations: 26.58 kB / 0.7271 GB, free: 7.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.167e-05/0.5758, allocations: 12.8 kB / 0.7271 GB, free: 7.66 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002135/0.576, allocations: 97.14 kB / 0.7272 GB, free: 7.547 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.263e-05/0.576, allocations: 30.56 kB / 0.7272 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 3.577e-06/0.576, allocations: 3.984 kB / 0.7272 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003331/0.5764, allocations: 53.69 kB / 0.7273 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.337e-05/0.5764, allocations: 51.41 kB / 0.7273 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.5766, allocations: 109.7 kB / 0.7274 GB, free: 7.266 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.966e-05/0.5766, allocations: 29.7 kB / 0.7275 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.024e-05/0.5767, allocations: 87.98 kB / 0.7275 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.072e-05/0.5767, allocations: 3.906 kB / 0.7275 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.5767, allocations: 17.72 kB / 0.7276 GB, free: 7.113 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.5769, allocations: 319 kB / 0.7279 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.5769, allocations: 11.94 kB / 0.7279 GB, free: 6.781 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.047e-05/0.577, allocations: 18.58 kB / 0.7279 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.252e-05/0.5771, allocations: 34.56 kB / 0.7279 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5771, allocations: 0 / 0.7279 GB, free: 6.711 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001249/0.5772, allocations: 57.62 kB / 0.728 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.018e-05/0.5773, allocations: 4 kB / 0.728 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.678e-06/0.5773, allocations: 0 / 0.728 GB, free: 6.645 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.5773, allocations: 7.938 kB / 0.728 GB, free: 6.637 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.224e-05/0.5774, allocations: 4 kB / 0.728 GB, free: 6.633 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.978e-06/0.5774, allocations: 3.938 kB / 0.728 GB, free: 6.629 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.608e-05/0.5775, allocations: 4 kB / 0.728 GB, free: 6.625 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.082e-06/0.5775, allocations: 0 / 0.728 GB, free: 6.625 MB / 0.5606 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 0.0001119/0.5776, allocations: 117.9 kB / 0.7281 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.285e-05/0.5777, allocations: 0 / 0.7281 GB, free: 6.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.831e-05/0.5777, allocations: 7.109 kB / 0.7281 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/0.5777, allocations: 0 / 0.7281 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.5777, allocations: 11.88 kB / 0.7281 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5777, allocations: 0 / 0.7281 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.5782, allocations: 363.5 kB / 0.7285 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/0.5782, allocations: 4.062 kB / 0.7285 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.734e-05/0.5782, allocations: 4 kB / 0.7285 GB, free: 6.055 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.5782, allocations: 3.938 kB / 0.7285 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.205e-05/0.5783, allocations: 4 kB / 0.7285 GB, free: 6.047 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5783, allocations: 4 kB / 0.7285 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.5783, allocations: 0 / 0.7285 GB, free: 6.043 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000128/0.5784, allocations: 81.92 kB / 0.7286 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.011e-05/0.5785, allocations: 85.05 kB / 0.7287 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.5785, allocations: 0 / 0.7287 GB, free: 5.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001222/0.5786, allocations: 4 kB / 0.7287 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.298e-05/0.5787, allocations: 0 / 0.7287 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.5787, allocations: 0 / 0.7287 GB, free: 5.836 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.365e-05/0.5788, allocations: 83.27 kB / 0.7287 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2e-07/0.5788, allocations: 0 / 0.7287 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003523/0.5791, allocations: 12 kB / 0.7288 GB, free: 5.742 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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.000162/0.5793, allocations: 99.28 kB / 0.7289 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001127/0.5794, allocations: 19.86 kB / 0.7289 GB, free: 5.617 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.735e-06/0.5794, allocations: 4 kB / 0.7289 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.922e-05/0.5795, allocations: 8 kB / 0.7289 GB, free: 5.605 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003751/0.5799, allocations: 5.969 kB / 0.7289 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004103/0.5803, allocations: 157.2 kB / 0.729 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.5806, allocations: 0.6768 MB / 0.7297 GB, free: 4.707 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.5807, allocations: 11.44 kB / 0.7297 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.5807, allocations: 0 / 0.7297 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of Templates: time 0.002758/0.5835, allocations: 0.61 MB / 0.7303 GB, free: 4.086 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)