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.001529/0.00153, allocations: 110.9 kB / 16.41 MB, free: 6.469 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.001761/0.001761, allocations: 192.2 kB / 17.35 MB, free: 5.711 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.325/1.325, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7854/0.7854, allocations: 132.2 MB / 423.4 MB, free: 6.551 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001258/0.001258, allocations: 67.45 kB / 0.582 GB, free: 23.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1362, allocations: 80.19 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5298/0.666, allocations: 148.3 MB / 0.8051 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001219/0.6662, allocations: 54.92 kB / 0.8052 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.175e-05/0.6662, allocations: 1.375 kB / 0.8052 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001001/0.6663, allocations: 6.469 kB / 0.8052 GB, free: 12.47 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.495e-05/0.6664, allocations: 12.47 kB / 0.8052 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006515/0.6671, allocations: 219.2 kB / 0.8054 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.983e-05/0.6672, allocations: 35.91 kB / 0.8054 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.6672, allocations: 5.375 kB / 0.8054 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.155e-05/0.6673, allocations: 13.61 kB / 0.8055 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.462e-05/0.6673, allocations: 18.59 kB / 0.8055 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.6674, allocations: 0.875 kB / 0.8055 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003799/0.6677, allocations: 199.2 kB / 0.8057 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.141e-05/0.6678, allocations: 11.56 kB / 0.8057 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.6678, allocations: 7.719 kB / 0.8057 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002453/0.6681, allocations: 111.8 kB / 0.8058 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.6681, allocations: 0 / 0.8058 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6681, allocations: 0 / 0.8058 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.6681, allocations: 0 / 0.8058 GB, free: 12.38 MB / 0.5919 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.0004333/0.6685, allocations: 355.2 kB / 0.8061 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.613e-05/0.6686, allocations: 8.688 kB / 0.8061 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003491/0.6689, allocations: 21.67 kB / 0.8062 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001304/0.6691, allocations: 167.6 kB / 0.8063 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/0.6692, allocations: 31.39 kB / 0.8063 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.206e-05/0.6692, allocations: 1.312 kB / 0.8063 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.6693, allocations: 49 kB / 0.8064 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.6693, allocations: 0 / 0.8064 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/0.6694, allocations: 5.094 kB / 0.8064 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.585e-05/0.6694, allocations: 8.109 kB / 0.8064 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.131e-05/0.6694, allocations: 22.48 kB / 0.8064 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003511/0.6698, allocations: 254.6 kB / 0.8067 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.053e-05/0.6699, allocations: 28.73 kB / 0.8067 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.011e-05/0.6699, allocations: 12.02 kB / 0.8067 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001461/0.67, allocations: 94.16 kB / 0.8068 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.219e-05/0.6701, allocations: 31.69 kB / 0.8068 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.6701, allocations: 0 / 0.8068 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.000224/0.6703, allocations: 53.75 kB / 0.8069 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/0.6703, allocations: 57.81 kB / 0.8069 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.716e-05/0.6704, allocations: 102.1 kB / 0.807 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.6704, allocations: 30.58 kB / 0.8071 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.718e-05/0.6705, allocations: 88.03 kB / 0.8071 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.474e-06/0.6705, allocations: 8.469 kB / 0.8072 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.893e-05/0.6705, allocations: 17.31 kB / 0.8072 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.6707, allocations: 316.2 kB / 0.8075 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.63e-05/0.6707, allocations: 8.594 kB / 0.8075 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.935e-05/0.6707, allocations: 28.75 kB / 0.8075 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.273e-05/0.6708, allocations: 31.17 kB / 0.8075 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.6708, allocations: 0 / 0.8075 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.713e-05/0.6708, allocations: 57.8 kB / 0.8076 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.119e-05/0.6709, allocations: 6.469 kB / 0.8076 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.6709, allocations: 8.938 kB / 0.8076 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/0.6709, allocations: 1.438 kB / 0.8076 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.126e-05/0.6709, allocations: 5.281 kB / 0.8076 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.671, allocations: 4 kB / 0.8076 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.671, allocations: 5.188 kB / 0.8076 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.671, allocations: 1.562 kB / 0.8076 GB, free: 10.54 MB / 0.5919 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.417e-05/0.6711, allocations: 108 kB / 0.8077 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.6711, allocations: 6.766 kB / 0.8077 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.243e-05/0.6711, allocations: 12.72 kB / 0.8077 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.395e-06/0.6711, allocations: 0 / 0.8077 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.6712, allocations: 1.438 kB / 0.8077 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.6712, allocations: 81.05 kB / 0.8078 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.6712, allocations: 1.188 kB / 0.8078 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.6713, allocations: 10.62 kB / 0.8078 GB, free: 10.31 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.779e-05/0.6713, allocations: 10.14 kB / 0.8078 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.91e-05/0.6714, allocations: 107.4 kB / 0.8079 GB, free: 10.2 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001214/0.6716, allocations: 217.7 kB / 0.8082 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.802e-05/0.6716, allocations: 4.625 kB / 0.8082 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.409e-05/0.6716, allocations: 85.39 kB / 0.8082 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of Backend: time 2.31e-07/0.6716, allocations: 1.75 kB / 0.8082 GB, free: 9.91 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004316/0.6721, allocations: 125 kB / 0.8084 GB, free: 9.836 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0004439/0.6725, allocations: 0.5605 MB / 0.8089 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of Templates: time 0.003171/0.6757, allocations: 1.024 MB / 0.8099 GB, free: 9.141 MB / 0.5919 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)