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.001079/0.001079, allocations: 109 kB / 16.42 MB, free: 6.434 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.001069/0.001069, allocations: 187.9 kB / 17.35 MB, free: 5.688 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.273/1.273, allocations: 222.9 MB / 241.1 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7693/0.7693, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 70.59 kB / 0.5863 GB, free: 21.81 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1233, allocations: 80.92 MB / 0.6653 GB, free: 5.953 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4256/0.5489, allocations: 148.3 MB / 0.8101 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001229/0.5491, allocations: 63.81 kB / 0.8102 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.441e-05/0.5491, allocations: 1.344 kB / 0.8102 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.5492, allocations: 0 / 0.8102 GB, free: 12.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.932e-05/0.5493, allocations: 15.06 kB / 0.8102 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006856/0.55, allocations: 218 kB / 0.8104 GB, free: 12 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.702e-05/0.5501, allocations: 40.66 kB / 0.8104 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.293e-05/0.5501, allocations: 0 / 0.8104 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.078e-05/0.5502, allocations: 20.45 kB / 0.8104 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 5.524e-05/0.5502, allocations: 7.766 kB / 0.8104 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.548e-06/0.5503, allocations: 2.875 kB / 0.8104 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003579/0.5506, allocations: 198 kB / 0.8106 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.423e-05/0.5507, allocations: 8.266 kB / 0.8106 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.523e-05/0.5507, allocations: 16.92 kB / 0.8107 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002031/0.5509, allocations: 113.3 kB / 0.8108 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.5509, allocations: 4 kB / 0.8108 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.152e-06/0.5509, allocations: 0 / 0.8108 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.5509, allocations: 0 / 0.8108 GB, free: 11.95 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.0003687/0.5513, allocations: 348.6 kB / 0.8111 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.422e-05/0.5514, allocations: 11.34 kB / 0.8111 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002812/0.5516, allocations: 20.09 kB / 0.8111 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.493e-05/0.5517, allocations: 169.3 kB / 0.8113 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.089e-05/0.5518, allocations: 33.64 kB / 0.8113 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.131e-05/0.5518, allocations: 5.062 kB / 0.8113 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001243/0.552, allocations: 51.5 kB / 0.8114 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.011e-06/0.552, allocations: 0 / 0.8114 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.552, allocations: 0 / 0.8114 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.319e-05/0.552, allocations: 2.625 kB / 0.8114 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.736e-05/0.5521, allocations: 23.38 kB / 0.8114 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000303/0.5524, allocations: 263 kB / 0.8117 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.177e-05/0.5524, allocations: 19.8 kB / 0.8117 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.991e-05/0.5525, allocations: 10.19 kB / 0.8117 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000131/0.5526, allocations: 92.34 kB / 0.8118 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.5526, allocations: 30.56 kB / 0.8118 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.5526, allocations: 4 kB / 0.8118 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002057/0.5528, allocations: 57.83 kB / 0.8119 GB, free: 10.84 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.26e-05/0.5529, allocations: 51.41 kB / 0.8119 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.075e-05/0.5529, allocations: 102.6 kB / 0.812 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.553, allocations: 28.45 kB / 0.812 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/0.553, allocations: 91.66 kB / 0.8121 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.472e-06/0.553, allocations: 7.891 kB / 0.8121 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.862e-05/0.5531, allocations: 19.41 kB / 0.8121 GB, free: 10.53 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.517e-05/0.5532, allocations: 320 kB / 0.8125 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.5532, allocations: 2.312 kB / 0.8125 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.337e-05/0.5532, allocations: 25.72 kB / 0.8125 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.821e-05/0.5533, allocations: 42.48 kB / 0.8125 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.5533, allocations: 0 / 0.8125 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.925e-05/0.5533, allocations: 51.38 kB / 0.8126 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.5534, allocations: 7.266 kB / 0.8126 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-06/0.5534, allocations: 0 / 0.8126 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.5534, allocations: 2.719 kB / 0.8126 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.741e-05/0.5534, allocations: 6 kB / 0.8126 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.5535, allocations: 0 / 0.8126 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.5535, allocations: 5.344 kB / 0.8126 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.957e-06/0.5535, allocations: 2.938 kB / 0.8126 GB, free: 10.12 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 6.564e-05/0.5536, allocations: 122.1 kB / 0.8127 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.448e-05/0.5536, allocations: 288 / 0.8127 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.095e-05/0.5536, allocations: 6.688 kB / 0.8127 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5536, allocations: 9.234 kB / 0.8127 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.5536, allocations: 0 / 0.8127 GB, free: 9.984 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.96e-05/0.5537, allocations: 86.78 kB / 0.8128 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.014e-05/0.5537, allocations: 0 / 0.8128 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.5538, allocations: 5.141 kB / 0.8128 GB, free: 9.883 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.5538, allocations: 6.562 kB / 0.8128 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.729e-05/0.5539, allocations: 111.9 kB / 0.8129 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001067/0.554, allocations: 214.9 kB / 0.8131 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.421e-05/0.5541, allocations: 6 kB / 0.8131 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 3.107e-05/0.5541, allocations: 80.66 kB / 0.8132 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of Backend: time 2.91e-07/0.5541, allocations: 64 / 0.8132 GB, free: 9.488 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003971/0.5545, allocations: 129.3 kB / 0.8133 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of SimCode: time 0.0003967/0.5549, allocations: 0.5624 MB / 0.8139 GB, free: 8.836 MB / 0.5919 GB Notification: Performance of Templates: time 0.002927/0.5578, allocations: 1.02 MB / 0.8149 GB, free: 8.684 MB / 0.5919 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)