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.00164/0.00164, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001815/0.001815, allocations: 192.9 kB / 16.25 MB, free: 6.637 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9915/0.9915, allocations: 135.6 MB / 425.6 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001829/0.001829, allocations: 56.75 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.155/0.1569, allocations: 81.03 MB / 0.5845 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4111/0.568, allocations: 145.7 MB / 0.7268 GB, free: 2.609 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001508/0.5682, allocations: 54.48 kB / 0.7269 GB, free: 2.578 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.029e-05/0.5682, allocations: 3.938 kB / 0.7269 GB, free: 2.574 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001122/0.5684, allocations: 6.359 kB / 0.7269 GB, free: 2.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.114e-05/0.5685, allocations: 13.78 kB / 0.7269 GB, free: 2.562 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000454/0.569, allocations: 100.8 kB / 0.727 GB, free: 2.52 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.765e-05/0.5691, allocations: 38.11 kB / 0.727 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.075e-05/0.5691, allocations: 2.547 kB / 0.727 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.103e-05/0.5691, allocations: 11.34 kB / 0.727 GB, free: 2.504 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.5692, allocations: 21.45 kB / 0.7271 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.5692, allocations: 1.156 kB / 0.7271 GB, free: 2.492 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002439/0.5695, allocations: 84.97 kB / 0.7271 GB, free: 2.457 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.364e-05/0.5695, allocations: 10.11 kB / 0.7271 GB, free: 2.453 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.965e-05/0.5696, allocations: 14.98 kB / 0.7272 GB, free: 2.445 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001642/0.5697, allocations: 63.67 kB / 0.7272 GB, free: 2.438 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.5698, allocations: 0 / 0.7272 GB, free: 2.438 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.5698, allocations: 1.219 kB / 0.7272 GB, free: 2.438 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.869e-06/0.5698, allocations: 0 / 0.7272 GB, free: 2.438 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.0004418/0.5702, allocations: 339.8 kB / 0.7275 GB, free: 2.078 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.5703, allocations: 13.66 kB / 0.7276 GB, free: 2.074 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002198/0.5705, allocations: 19.11 kB / 0.7276 GB, free: 2.074 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001254/0.5706, allocations: 163.2 kB / 0.7277 GB, free: 1.879 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.948e-05/0.5707, allocations: 36.41 kB / 0.7278 GB, free: 1.84 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.476e-05/0.5707, allocations: 6.109 kB / 0.7278 GB, free: 1.836 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001462/0.5709, allocations: 47.11 kB / 0.7278 GB, free: 1.801 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.5709, allocations: 5.375 kB / 0.7278 GB, free: 1.797 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.5709, allocations: 4.516 kB / 0.7278 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.5709, allocations: 2.031 kB / 0.7278 GB, free: 1.793 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.365e-05/0.571, allocations: 18.97 kB / 0.7278 GB, free: 1.789 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003801/0.5714, allocations: 257.2 kB / 0.7281 GB, free: 1.516 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.486e-05/0.5714, allocations: 24.83 kB / 0.7281 GB, free: 1.484 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.5715, allocations: 9.984 kB / 0.7281 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.5715, allocations: 0.75 kB / 0.7281 GB, free: 1.473 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.5715, allocations: 31.69 kB / 0.7282 GB, free: 1.434 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5715, allocations: 1.219 kB / 0.7282 GB, free: 1.434 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.5716, allocations: 32.53 kB / 0.7282 GB, free: 1.402 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.572e-05/0.5717, allocations: 52.44 kB / 0.7282 GB, free: 1.34 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.96e-05/0.5718, allocations: 113.7 kB / 0.7283 GB, free: 1.234 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.5718, allocations: 33.7 kB / 0.7284 GB, free: 1.195 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.696e-05/0.5719, allocations: 90.84 kB / 0.7285 GB, free: 1.105 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.382e-06/0.5719, allocations: 5.125 kB / 0.7285 GB, free: 1.102 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.491e-05/0.5719, allocations: 18.19 kB / 0.7285 GB, free: 1.082 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.5721, allocations: 317.8 kB / 0.7288 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.585e-05/0.5721, allocations: 3.219 kB / 0.7288 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.103e-05/0.5721, allocations: 26.06 kB / 0.7288 GB, free: 0.7383 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.451e-05/0.5722, allocations: 35.47 kB / 0.7289 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5722, allocations: 0 / 0.7289 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.387e-05/0.5723, allocations: 54.11 kB / 0.7289 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.5723, allocations: 5.531 kB / 0.7289 GB, free: 0.6641 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.5723, allocations: 5.609 kB / 0.7289 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.5723, allocations: 5.188 kB / 0.7289 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.268e-05/0.5724, allocations: 6.578 kB / 0.7289 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.5724, allocations: 5.031 kB / 0.7289 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.547e-05/0.5724, allocations: 6.062 kB / 0.7289 GB, free: 0.6484 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.32e-06/0.5724, allocations: 1.75 kB / 0.7289 GB, free: 0.6484 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 8.045e-05/0.5725, allocations: 108.7 kB / 0.729 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.5726, allocations: 9.938 kB / 0.7291 GB, free: 0.5273 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.834e-05/0.5726, allocations: 9.641 kB / 0.7291 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.5726, allocations: 3.984 kB / 0.7291 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.052e-06/0.5726, allocations: 9.094 kB / 0.7291 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.5726, allocations: 0 / 0.7291 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002722/0.5729, allocations: 344.2 kB / 0.7294 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.5729, allocations: 1.688 kB / 0.7294 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.28e-05/0.5729, allocations: 1.531 kB / 0.7294 GB, free: 132 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.5729, allocations: 4.734 kB / 0.7294 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.5729, allocations: 1.312 kB / 0.7294 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.5729, allocations: 0 / 0.7294 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.5729, allocations: 32 / 0.7294 GB, free: 128 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.952e-05/0.573, allocations: 61.86 kB / 0.7295 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.703e-05/0.5731, allocations: 78.92 kB / 0.7295 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.5731, allocations: 7.609 kB / 0.7296 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.162e-05/0.5732, allocations: 4.219 kB / 0.7296 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.423e-05/0.5732, allocations: 1.156 kB / 0.7296 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.415e-06/0.5732, allocations: 4.594 kB / 0.7296 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.944e-05/0.5733, allocations: 90.72 kB / 0.7296 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5733, allocations: 0 / 0.7296 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001791/0.5735, allocations: 6.906 kB / 0.7297 GB, free: 15.87 MB / 0.5606 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.838e-05/0.5736, allocations: 95.86 kB / 0.7297 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.313e-05/0.5737, allocations: 15.23 kB / 0.7298 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.5737, allocations: 0 / 0.7298 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 7.855e-06/0.5737, allocations: 6.031 kB / 0.7298 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002237/0.5739, allocations: 12.75 kB / 0.7298 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.5742, allocations: 112.5 kB / 0.7299 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.5744, allocations: 0.6763 MB / 0.7305 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 5.3e-05/0.5745, allocations: 7.078 kB / 0.7306 GB, free: 14.96 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.22e-05/0.5745, allocations: 12.59 kB / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5745, allocations: 0 / 0.7306 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of Templates: time 0.00263/0.5772, allocations: 0.504 MB / 0.7311 GB, free: 14.91 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)