Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.000954/0.000954, allocations: 92.16 kB / 16.02 MB, free: 80 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.001322/0.001322, allocations: 172.9 kB / 16.92 MB, free: 6.652 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.31/1.31, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9529/0.9529, allocations: 135.3 MB / 427.4 MB, free: 14.15 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 8 kB / 0.5082 GB, free: 4.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1609, allocations: 82.31 MB / 0.5886 GB, free: 2.68 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4046/0.5655, allocations: 144.1 MB / 0.7294 GB, free: 3.344 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001312/0.5657, allocations: 57.39 kB / 0.7294 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.853e-05/0.5657, allocations: 0 / 0.7294 GB, free: 3.309 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.5658, allocations: 4.734 kB / 0.7294 GB, free: 3.305 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.746e-05/0.5659, allocations: 14.36 kB / 0.7294 GB, free: 3.297 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007576/0.5667, allocations: 200.1 kB / 0.7296 GB, free: 3.211 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.5668, allocations: 58.92 kB / 0.7297 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.127e-05/0.5669, allocations: 2.078 kB / 0.7297 GB, free: 3.195 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.402e-05/0.5669, allocations: 18.44 kB / 0.7297 GB, free: 3.188 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.248e-05/0.567, allocations: 13.45 kB / 0.7297 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.194e-05/0.567, allocations: 0.9688 kB / 0.7297 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005715/0.5676, allocations: 230.9 kB / 0.7299 GB, free: 3.094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.353e-05/0.5677, allocations: 14.36 kB / 0.7299 GB, free: 3.086 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 5.336e-05/0.5677, allocations: 37.12 kB / 0.73 GB, free: 3.051 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002328/0.568, allocations: 73.95 kB / 0.73 GB, free: 3.039 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.568, allocations: 0 / 0.73 GB, free: 3.039 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.568, allocations: 0 / 0.73 GB, free: 3.039 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.568, allocations: 1.156 kB / 0.73 GB, free: 3.039 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.0004372/0.5684, allocations: 332.3 kB / 0.7304 GB, free: 2.684 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.5685, allocations: 11.11 kB / 0.7304 GB, free: 2.684 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003632/0.5689, allocations: 34.52 kB / 0.7304 GB, free: 2.672 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001165/0.569, allocations: 165.2 kB / 0.7306 GB, free: 2.477 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.978e-05/0.5691, allocations: 32.33 kB / 0.7306 GB, free: 2.441 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.5691, allocations: 1.219 kB / 0.7306 GB, free: 2.441 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.5692, allocations: 53 kB / 0.7306 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.5693, allocations: 0 / 0.7306 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.5693, allocations: 1.062 kB / 0.7307 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.785e-05/0.5693, allocations: 1.922 kB / 0.7307 GB, free: 2.402 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.64e-05/0.5694, allocations: 24.62 kB / 0.7307 GB, free: 2.395 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003961/0.5698, allocations: 261.1 kB / 0.7309 GB, free: 2.117 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.648e-05/0.5698, allocations: 24.58 kB / 0.7309 GB, free: 2.09 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.571e-05/0.5699, allocations: 12.53 kB / 0.731 GB, free: 2.078 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001658/0.57, allocations: 95.77 kB / 0.7311 GB, free: 1.98 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.438e-05/0.5701, allocations: 31.12 kB / 0.7311 GB, free: 1.941 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.5701, allocations: 0 / 0.7311 GB, free: 1.941 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.00024/0.5703, allocations: 52.48 kB / 0.7311 GB, free: 1.902 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.081e-05/0.5704, allocations: 53.38 kB / 0.7312 GB, free: 1.84 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.473e-05/0.5705, allocations: 109.9 kB / 0.7313 GB, free: 1.73 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.5705, allocations: 34.47 kB / 0.7313 GB, free: 1.691 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.341e-05/0.5705, allocations: 90.91 kB / 0.7314 GB, free: 1.602 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.506e-06/0.5706, allocations: 6.109 kB / 0.7314 GB, free: 1.598 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.5706, allocations: 11.12 kB / 0.7314 GB, free: 1.582 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.98e-05/0.5707, allocations: 312.2 kB / 0.7317 GB, free: 1.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.724e-05/0.5707, allocations: 13.62 kB / 0.7317 GB, free: 1.262 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.78e-05/0.5707, allocations: 20.36 kB / 0.7318 GB, free: 1.238 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.5708, allocations: 32.62 kB / 0.7318 GB, free: 1.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5708, allocations: 0 / 0.7318 GB, free: 1.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.702e-05/0.5709, allocations: 58.34 kB / 0.7318 GB, free: 1.164 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.5709, allocations: 5.359 kB / 0.7318 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.5709, allocations: 1.188 kB / 0.7318 GB, free: 1.164 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.571, allocations: 4.938 kB / 0.7319 GB, free: 1.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.571, allocations: 14.38 kB / 0.7319 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.571, allocations: 0.9375 kB / 0.7319 GB, free: 1.156 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.27e-05/0.5711, allocations: 6.219 kB / 0.7319 GB, free: 1.152 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.5711, allocations: 1.703 kB / 0.7319 GB, free: 1.152 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.433e-05/0.5712, allocations: 117.5 kB / 0.732 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.689e-05/0.5712, allocations: 1.062 kB / 0.732 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.195e-05/0.5712, allocations: 4.922 kB / 0.732 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5712, allocations: 2.141 kB / 0.732 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.5712, allocations: 0 / 0.732 GB, free: 1.031 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.371e-06/0.5712, allocations: 7.938 kB / 0.732 GB, free: 1.023 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003043/0.5716, allocations: 360.8 kB / 0.7323 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.5716, allocations: 0 / 0.7323 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.5716, allocations: 3.969 kB / 0.7323 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.172e-06/0.5716, allocations: 4.75 kB / 0.7324 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.5716, allocations: 1.094 kB / 0.7324 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.5716, allocations: 1.781 kB / 0.7324 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.5716, allocations: 0 / 0.7324 GB, free: 0.625 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.693e-05/0.5717, allocations: 83.38 kB / 0.7324 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.303e-05/0.5718, allocations: 78.05 kB / 0.7325 GB, free: 452 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.5718, allocations: 5.656 kB / 0.7325 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.809e-05/0.5719, allocations: 5.875 kB / 0.7325 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.287e-05/0.5719, allocations: 1.812 kB / 0.7325 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.5719, allocations: 5.5 kB / 0.7325 GB, free: 444 kB / 0.545 GB Notification: Performance of sorting global known variables: time 4.246e-05/0.572, allocations: 84.86 kB / 0.7326 GB, free: 364 kB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/0.572, allocations: 0 / 0.7326 GB, free: 364 kB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002005/0.5722, allocations: 10.66 kB / 0.7326 GB, free: 360 kB / 0.545 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.0001302/0.5723, allocations: 97.08 kB / 0.7327 GB, free: 272 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.073e-05/0.5724, allocations: 16.12 kB / 0.7327 GB, free: 268 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5724, allocations: 4.188 kB / 0.7327 GB, free: 264 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.31e-05/0.5725, allocations: 4.688 kB / 0.7327 GB, free: 264 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.5727, allocations: 14.38 kB / 0.7327 GB, free: 256 kB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.573, allocations: 160.9 kB / 0.7329 GB, free: 96 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002618/0.5733, allocations: 0.6769 MB / 0.7336 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.601e-05/0.5733, allocations: 13.44 kB / 0.7336 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.5733, allocations: 0 / 0.7336 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of Templates: time 0.002178/0.5755, allocations: 0.6098 MB / 0.7342 GB, free: 15.35 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)