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.0009447/0.0009449, allocations: 86.72 kB / 15.06 MB, free: 1.09 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.001045/0.001045, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 223.3 MB / 240 MB, free: 5.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.13/1.13, allocations: 135.3 MB / 426.4 MB, free: 14.32 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003565, allocations: 8 kB / 0.507 GB, free: 5.117 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.208, allocations: 82.3 MB / 0.5874 GB, free: 2.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5619/0.77, allocations: 134 MB / 0.7183 GB, free: 12.2 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001446/0.7702, allocations: 52.95 kB / 0.7183 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.136e-05/0.7702, allocations: 0 / 0.7183 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000119/0.7704, allocations: 5.906 kB / 0.7183 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.889e-05/0.7705, allocations: 6.578 kB / 0.7183 GB, free: 12.16 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004751/0.7709, allocations: 91.59 kB / 0.7184 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001057/0.771, allocations: 39.05 kB / 0.7185 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.233e-05/0.7711, allocations: 2.531 kB / 0.7185 GB, free: 12.11 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.871e-05/0.7712, allocations: 19.39 kB / 0.7185 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.882e-05/0.7713, allocations: 13.09 kB / 0.7185 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.7713, allocations: 5.562 kB / 0.7185 GB, free: 12.09 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002458/0.7715, allocations: 38.14 kB / 0.7185 GB, free: 12.08 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.42e-05/0.7716, allocations: 17.73 kB / 0.7185 GB, free: 12.07 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.936e-05/0.7716, allocations: 33.02 kB / 0.7186 GB, free: 12.04 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001225/0.7718, allocations: 28.91 kB / 0.7186 GB, free: 12.04 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.7718, allocations: 5.031 kB / 0.7186 GB, free: 12.03 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.464e-06/0.7718, allocations: 0 / 0.7186 GB, free: 12.03 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.7718, allocations: 0 / 0.7186 GB, free: 12.03 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.0004514/0.7723, allocations: 334.9 kB / 0.7189 GB, free: 11.67 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.156e-05/0.7723, allocations: 10.27 kB / 0.7189 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002613/0.7726, allocations: 21.58 kB / 0.719 GB, free: 11.67 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.7727, allocations: 163.7 kB / 0.7191 GB, free: 11.47 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.066e-05/0.7728, allocations: 29.7 kB / 0.7191 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.7728, allocations: 1.25 kB / 0.7191 GB, free: 11.44 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.773, allocations: 54.66 kB / 0.7192 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/0.773, allocations: 0 / 0.7192 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.7731, allocations: 5.844 kB / 0.7192 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-05/0.7731, allocations: 1.766 kB / 0.7192 GB, free: 11.4 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.216e-05/0.7732, allocations: 22.91 kB / 0.7192 GB, free: 11.39 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004413/0.7736, allocations: 260.5 kB / 0.7195 GB, free: 11.11 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.377e-05/0.7737, allocations: 16.77 kB / 0.7195 GB, free: 11.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.401e-05/0.7737, allocations: 6.266 kB / 0.7195 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.951e-06/0.7737, allocations: 3.938 kB / 0.7195 GB, free: 11.08 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.361e-05/0.7738, allocations: 44.75 kB / 0.7195 GB, free: 11.03 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.172e-06/0.7738, allocations: 0 / 0.7195 GB, free: 11.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001628/0.7739, allocations: 36.44 kB / 0.7196 GB, free: 10.99 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.848e-05/0.774, allocations: 55.03 kB / 0.7196 GB, free: 10.93 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.7741, allocations: 105.2 kB / 0.7197 GB, free: 10.83 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.614e-05/0.7741, allocations: 25.7 kB / 0.7198 GB, free: 10.8 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.211e-05/0.7742, allocations: 95.02 kB / 0.7198 GB, free: 10.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.7742, allocations: 0 / 0.7198 GB, free: 10.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.7742, allocations: 5.312 kB / 0.7199 GB, free: 10.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.7743, allocations: 313.7 kB / 0.7202 GB, free: 10.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.84e-05/0.7744, allocations: 3.609 kB / 0.7202 GB, free: 10.39 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.434e-05/0.7744, allocations: 29.12 kB / 0.7202 GB, free: 10.36 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.399e-05/0.7744, allocations: 5.297 kB / 0.7202 GB, free: 10.36 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.7745, allocations: 0 / 0.7202 GB, free: 10.36 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.86e-05/0.7745, allocations: 68.61 kB / 0.7203 GB, free: 10.3 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7746, allocations: 5.859 kB / 0.7203 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.7746, allocations: 5.172 kB / 0.7203 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.7746, allocations: 1.281 kB / 0.7203 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.7747, allocations: 11.03 kB / 0.7203 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.7747, allocations: 0 / 0.7203 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.317e-05/0.7747, allocations: 2.234 kB / 0.7203 GB, free: 10.3 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.97e-06/0.7747, allocations: 2.562 kB / 0.7203 GB, free: 10.3 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.791e-05/0.7748, allocations: 113.2 kB / 0.7204 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.7749, allocations: 2.125 kB / 0.7204 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.019e-05/0.7749, allocations: 9.312 kB / 0.7204 GB, free: 10.18 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.7749, allocations: 3.953 kB / 0.7204 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.7749, allocations: 3.125 kB / 0.7204 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.207e-06/0.7749, allocations: 1.406 kB / 0.7204 GB, free: 10.17 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.7752, allocations: 343.5 kB / 0.7207 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.7752, allocations: 1.734 kB / 0.7207 GB, free: 9.789 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.334e-05/0.7752, allocations: 5 kB / 0.7207 GB, free: 9.785 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.609e-06/0.7753, allocations: 4.953 kB / 0.7207 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.7753, allocations: 0.7031 kB / 0.7207 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.7753, allocations: 1.031 kB / 0.7207 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.7753, allocations: 0 / 0.7207 GB, free: 9.781 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.462e-05/0.7754, allocations: 65.67 kB / 0.7208 GB, free: 9.707 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.297e-05/0.7754, allocations: 79.08 kB / 0.7209 GB, free: 9.613 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/0.7754, allocations: 6.031 kB / 0.7209 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.113e-05/0.7755, allocations: 9.094 kB / 0.7209 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.737e-05/0.7755, allocations: 0 / 0.7209 GB, free: 9.605 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.7756, allocations: 1.125 kB / 0.7209 GB, free: 9.605 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.945e-05/0.7756, allocations: 81.78 kB / 0.721 GB, free: 9.531 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7756, allocations: 0 / 0.721 GB, free: 9.531 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002112/0.7758, allocations: 11.25 kB / 0.721 GB, free: 9.527 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 (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.0001062/0.7759, allocations: 95.94 kB / 0.7211 GB, free: 9.441 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.891e-05/0.776, allocations: 18.47 kB / 0.7211 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.307e-06/0.776, allocations: 1.469 kB / 0.7211 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 5.391e-06/0.7761, allocations: 1.312 kB / 0.7211 GB, free: 9.434 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.7763, allocations: 10.36 kB / 0.7211 GB, free: 9.43 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002765/0.7766, allocations: 121.1 kB / 0.7212 GB, free: 9.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002691/0.7769, allocations: 0.6815 MB / 0.7219 GB, free: 8.621 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 6.031e-05/0.7769, allocations: 9.391 kB / 0.7219 GB, free: 8.617 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.357e-05/0.7769, allocations: 8.875 kB / 0.7219 GB, free: 8.609 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.777, allocations: 0.6562 kB / 0.7219 GB, free: 8.609 MB / 0.545 GB Notification: Performance of Templates: time 0.002925/0.7799, allocations: 476.7 kB / 0.7224 GB, free: 8.562 MB / 0.545 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)