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.0007969/0.0007968, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.0059/0.005901, allocations: 169.9 kB / 16.26 MB, free: 6.676 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7866/0.7866, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003277/0.0003277, allocations: 8 kB / 0.504 GB, free: 3.918 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4975/0.4979, allocations: 81.58 MB / 0.5837 GB, free: 4.035 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1723/0.6702, allocations: 144.2 MB / 0.7244 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001436/0.6704, allocations: 55.73 kB / 0.7245 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.131e-05/0.6705, allocations: 0 / 0.7245 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001258/0.6706, allocations: 4 kB / 0.7245 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.695e-05/0.6707, allocations: 11.91 kB / 0.7245 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008063/0.6715, allocations: 210.1 kB / 0.7247 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.903e-05/0.6716, allocations: 55.83 kB / 0.7248 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.272e-05/0.6717, allocations: 3.984 kB / 0.7248 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.86e-05/0.6717, allocations: 15.98 kB / 0.7248 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.387e-05/0.6718, allocations: 7.984 kB / 0.7248 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.608e-05/0.6718, allocations: 4 kB / 0.7248 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004475/0.6723, allocations: 231.3 kB / 0.725 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.6723, allocations: 11.97 kB / 0.725 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.836e-05/0.6724, allocations: 33.7 kB / 0.725 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002527/0.6726, allocations: 129.7 kB / 0.7252 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.6726, allocations: 4 kB / 0.7252 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.234e-06/0.6727, allocations: 0 / 0.7252 GB, free: 15.02 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.6727, allocations: 0 / 0.7252 GB, free: 15.02 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.0004323/0.6731, allocations: 339.4 kB / 0.7255 GB, free: 14.64 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.6732, allocations: 12.03 kB / 0.7255 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003153/0.6735, allocations: 20.91 kB / 0.7255 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.6736, allocations: 168.3 kB / 0.7257 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.831e-05/0.6737, allocations: 33.64 kB / 0.7257 GB, free: 14.37 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.473e-05/0.6737, allocations: 4 kB / 0.7257 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001676/0.6739, allocations: 49.67 kB / 0.7258 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.347e-06/0.6739, allocations: 0 / 0.7258 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.701e-05/0.6739, allocations: 0 / 0.7258 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.725e-05/0.674, allocations: 3.938 kB / 0.7258 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.03e-05/0.674, allocations: 23.98 kB / 0.7258 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.6744, allocations: 264.8 kB / 0.7261 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 5.962e-05/0.6745, allocations: 22.58 kB / 0.7261 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.6745, allocations: 4.859 kB / 0.7261 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001748/0.6747, allocations: 105.1 kB / 0.7262 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.958e-05/0.6747, allocations: 30.56 kB / 0.7262 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.6748, allocations: 4 kB / 0.7262 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002677/0.675, allocations: 57.53 kB / 0.7263 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.6751, allocations: 51.41 kB / 0.7263 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.975e-05/0.6752, allocations: 105.8 kB / 0.7264 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/0.6752, allocations: 29.7 kB / 0.7264 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.119e-05/0.6753, allocations: 87.98 kB / 0.7265 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 6.973e-06/0.6753, allocations: 0 / 0.7265 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.6753, allocations: 17.84 kB / 0.7265 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.6755, allocations: 318.8 kB / 0.7269 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.7e-05/0.6755, allocations: 4 kB / 0.7269 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.858e-05/0.6755, allocations: 18.58 kB / 0.7269 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.231e-05/0.6756, allocations: 38.5 kB / 0.7269 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.6756, allocations: 0 / 0.7269 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.556e-05/0.6757, allocations: 65.53 kB / 0.727 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.6757, allocations: 8 kB / 0.727 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.6757, allocations: 0 / 0.727 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.6757, allocations: 0 / 0.727 GB, free: 12.91 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.909e-05/0.6758, allocations: 4 kB / 0.727 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.6758, allocations: 7.938 kB / 0.727 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.714e-05/0.6759, allocations: 0 / 0.727 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.6759, allocations: 4.094 kB / 0.727 GB, free: 12.89 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 8.447e-05/0.676, allocations: 113.8 kB / 0.7271 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.998e-05/0.676, allocations: 7.984 kB / 0.7271 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.772e-05/0.676, allocations: 7.125 kB / 0.7271 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.676, allocations: 0 / 0.7271 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.676, allocations: 3.938 kB / 0.7271 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.676, allocations: 0 / 0.7271 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003192/0.6764, allocations: 367.5 kB / 0.7275 GB, free: 12.33 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.6764, allocations: 7.938 kB / 0.7275 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.176e-05/0.6764, allocations: 3.938 kB / 0.7275 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.6764, allocations: 7.938 kB / 0.7275 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.795e-06/0.6764, allocations: 0 / 0.7275 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6764, allocations: 0 / 0.7275 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.6765, allocations: 0 / 0.7275 GB, free: 12.31 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.637e-05/0.6766, allocations: 74.05 kB / 0.7276 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.179e-05/0.6766, allocations: 81.05 kB / 0.7276 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.673e-05/0.6766, allocations: 0 / 0.7276 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.591e-05/0.6767, allocations: 4 kB / 0.7276 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.6767, allocations: 11.92 kB / 0.7277 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.124e-06/0.6768, allocations: 0 / 0.7277 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.641e-05/0.6768, allocations: 83.28 kB / 0.7277 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6768, allocations: 0 / 0.7277 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001945/0.677, allocations: 8.031 kB / 0.7277 GB, free: 12.01 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.0001454/0.6772, allocations: 99.25 kB / 0.7278 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.845e-05/0.6773, allocations: 15.98 kB / 0.7279 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.6773, allocations: 0 / 0.7279 GB, free: 11.89 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.6773, allocations: 7.938 kB / 0.7279 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.6775, allocations: 12.19 kB / 0.7279 GB, free: 11.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.6779, allocations: 129.5 kB / 0.728 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002992/0.6782, allocations: 0.677 MB / 0.7287 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 6.551e-05/0.6783, allocations: 16.39 kB / 0.7287 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.6783, allocations: 7.438 kB / 0.7287 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.6783, allocations: 0 / 0.7287 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of Templates: time 0.003/0.6813, allocations: 0.5399 MB / 0.7292 GB, free: 10.45 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)