Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion") translateModel(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001322/0.001322, allocations: 104 kB / 16.94 MB, free: 6.191 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.001268/0.001268, allocations: 189.3 kB / 17.86 MB, free: 5.293 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.514/1.514, allocations: 222.9 MB / 241.6 MB, free: 15.25 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8199/0.8199, allocations: 125.3 MB / 417.1 MB, free: 13.61 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 63.91 kB / 0.4948 GB, free: 4.418 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3654/0.3673, allocations: 78.56 MB / 0.5715 GB, free: 31.41 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1804/0.5478, allocations: 147.8 MB / 0.7159 GB, free: 3.238 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001585/0.548, allocations: 55.86 kB / 0.7159 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.456e-05/0.5481, allocations: 0 / 0.7159 GB, free: 3.184 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001196/0.5482, allocations: 7.922 kB / 0.7159 GB, free: 3.176 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.419e-05/0.5483, allocations: 7.938 kB / 0.7159 GB, free: 3.168 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005392/0.5488, allocations: 111.6 kB / 0.716 GB, free: 3.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.102e-05/0.5489, allocations: 31.84 kB / 0.7161 GB, free: 3.027 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.202e-05/0.549, allocations: 7.984 kB / 0.7161 GB, free: 3.02 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.549, allocations: 15.94 kB / 0.7161 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.592e-05/0.5491, allocations: 11.97 kB / 0.7161 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.5491, allocations: 4 kB / 0.7161 GB, free: 2.988 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002713/0.5494, allocations: 83.72 kB / 0.7162 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.851e-05/0.5494, allocations: 7.984 kB / 0.7162 GB, free: 2.898 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.056e-05/0.5495, allocations: 11.94 kB / 0.7162 GB, free: 2.887 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.5497, allocations: 81.75 kB / 0.7163 GB, free: 2.809 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 7.313e-06/0.5497, allocations: 3.984 kB / 0.7163 GB, free: 2.805 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.283e-06/0.5497, allocations: 0 / 0.7163 GB, free: 2.805 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.5497, allocations: 0 / 0.7163 GB, free: 2.805 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.0004954/0.5502, allocations: 335.4 kB / 0.7166 GB, free: 2.43 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.925e-05/0.5503, allocations: 12.62 kB / 0.7166 GB, free: 2.418 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002316/0.5505, allocations: 12.92 kB / 0.7166 GB, free: 2.406 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.5507, allocations: 168.4 kB / 0.7168 GB, free: 2.203 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.273e-05/0.5508, allocations: 29.64 kB / 0.7168 GB, free: 2.168 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.5508, allocations: 7.969 kB / 0.7168 GB, free: 2.16 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001404/0.5509, allocations: 45.69 kB / 0.7169 GB, free: 2.109 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.5509, allocations: 0 / 0.7169 GB, free: 2.109 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.444e-05/0.551, allocations: 4 kB / 0.7169 GB, free: 2.105 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.551, allocations: 4 kB / 0.7169 GB, free: 2.102 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/0.551, allocations: 19.92 kB / 0.7169 GB, free: 2.082 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.5515, allocations: 260.9 kB / 0.7172 GB, free: 1.777 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.192e-05/0.5515, allocations: 18.58 kB / 0.7172 GB, free: 1.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.722e-05/0.5515, allocations: 4.859 kB / 0.7172 GB, free: 1.742 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-06/0.5516, allocations: 0 / 0.7172 GB, free: 1.742 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.5516, allocations: 38.62 kB / 0.7172 GB, free: 1.695 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.5516, allocations: 4 kB / 0.7172 GB, free: 1.691 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001459/0.5518, allocations: 41.53 kB / 0.7173 GB, free: 1.645 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.673e-05/0.5518, allocations: 55.34 kB / 0.7173 GB, free: 1.578 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.795e-05/0.5519, allocations: 105.8 kB / 0.7174 GB, free: 1.465 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.155e-05/0.5519, allocations: 25.7 kB / 0.7174 GB, free: 1.434 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.857e-05/0.552, allocations: 95.98 kB / 0.7175 GB, free: 1.336 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.937e-06/0.552, allocations: 7.844 kB / 0.7175 GB, free: 1.328 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.458e-05/0.5521, allocations: 13.72 kB / 0.7175 GB, free: 1.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001712/0.5523, allocations: 319 kB / 0.7179 GB, free: 0.9883 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.226e-05/0.5523, allocations: 7.984 kB / 0.7179 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.828e-05/0.5523, allocations: 22.52 kB / 0.7179 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.573e-05/0.5524, allocations: 30.52 kB / 0.7179 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.5524, allocations: 7.984 kB / 0.7179 GB, free: 0.9023 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.279e-05/0.5525, allocations: 49.64 kB / 0.718 GB, free: 0.8477 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.671e-05/0.5525, allocations: 8 kB / 0.718 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.5525, allocations: 0 / 0.718 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.5525, allocations: 0 / 0.718 GB, free: 0.8398 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.294e-05/0.5526, allocations: 11.98 kB / 0.718 GB, free: 0.8281 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.735e-06/0.5526, allocations: 3.938 kB / 0.718 GB, free: 0.8242 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.5526, allocations: 4 kB / 0.718 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.5527, allocations: 4 kB / 0.718 GB, free: 0.8164 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 9.762e-05/0.5528, allocations: 113.9 kB / 0.7181 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.5528, allocations: 4 kB / 0.7181 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.821e-05/0.5528, allocations: 4.203 kB / 0.7181 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.163e-06/0.5528, allocations: 0 / 0.7181 GB, free: 0.6875 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.5528, allocations: 3.938 kB / 0.7181 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.5528, allocations: 3.984 kB / 0.7181 GB, free: 0.6797 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000298/0.5531, allocations: 346.7 kB / 0.7185 GB, free: 288 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.5532, allocations: 4.031 kB / 0.7185 GB, free: 284 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.515e-05/0.5532, allocations: 4 kB / 0.7185 GB, free: 280 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.5532, allocations: 3.938 kB / 0.7185 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.518e-06/0.5532, allocations: 0 / 0.7185 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.5532, allocations: 256 / 0.7185 GB, free: 276 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5532, allocations: 3.938 kB / 0.7185 GB, free: 272 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.719e-05/0.5533, allocations: 57.12 kB / 0.7185 GB, free: 196 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.943e-05/0.5533, allocations: 85.05 kB / 0.7186 GB, free: 92 kB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.952e-05/0.5534, allocations: 8.031 kB / 0.7186 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.07e-05/0.5535, allocations: 4 kB / 0.7186 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.573e-05/0.5535, allocations: 3.984 kB / 0.7186 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.422e-06/0.5535, allocations: 0 / 0.7186 GB, free: 76 kB / 0.545 GB Notification: Performance of sorting global known variables: time 6.435e-05/0.5536, allocations: 79.28 kB / 0.7187 GB, free: 16 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5536, allocations: 0 / 0.7187 GB, free: 16 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001901/0.5538, allocations: 8 kB / 0.7187 GB, free: 15.99 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 0.0001095/0.5539, allocations: 99.34 kB / 0.7188 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 8.113e-05/0.554, allocations: 19.92 kB / 0.7188 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.554, allocations: 4 kB / 0.7188 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.458e-06/0.554, allocations: 3.938 kB / 0.7188 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.5542, allocations: 14.84 kB / 0.7188 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003258/0.5546, allocations: 144.2 kB / 0.719 GB, free: 15.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003144/0.5549, allocations: 0.6886 MB / 0.7196 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.5549, allocations: 11.44 kB / 0.7197 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5549, allocations: 0 / 0.7197 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of Templates: time 0.002167/0.5571, allocations: 0.5605 MB / 0.7202 GB, free: 14.39 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)