Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001033/0.001033, allocations: 107.2 kB / 15.99 MB, free: 6.348 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.001037/0.001036, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.187/1.187, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002034/0.002034, allocations: 268.8 kB / 291 MB, free: 14.64 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9073/0.9073, allocations: 169.2 MB / 0.4985 GB, free: 4.742 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001564/0.001564, allocations: 92 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1591/0.1607, allocations: 86.97 MB / 0.6803 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3919/0.5527, allocations: 133.5 MB / 0.8106 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001581/0.5529, allocations: 56.48 kB / 0.8107 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.152e-05/0.5529, allocations: 0 / 0.8107 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.955e-05/0.553, allocations: 0 / 0.8107 GB, free: 10.11 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.576e-05/0.5531, allocations: 15.91 kB / 0.8107 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007835/0.5539, allocations: 234.5 kB / 0.8109 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.447e-05/0.554, allocations: 31.86 kB / 0.8109 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.451e-05/0.554, allocations: 3.984 kB / 0.8109 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.216e-05/0.5541, allocations: 12 kB / 0.811 GB, free: 9.824 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.027e-05/0.5541, allocations: 15.92 kB / 0.811 GB, free: 9.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.5542, allocations: 4 kB / 0.811 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.5546, allocations: 251.3 kB / 0.8112 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.316e-05/0.5547, allocations: 11.97 kB / 0.8112 GB, free: 9.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.55e-05/0.5547, allocations: 14.47 kB / 0.8112 GB, free: 9.535 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002324/0.5549, allocations: 126.6 kB / 0.8114 GB, free: 9.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.778e-06/0.555, allocations: 4 kB / 0.8114 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.152e-06/0.555, allocations: 0 / 0.8114 GB, free: 9.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.555, allocations: 0 / 0.8114 GB, free: 9.41 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003797/0.5554, allocations: 363.5 kB / 0.8117 GB, free: 9.008 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.5554, allocations: 12.03 kB / 0.8117 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.5554, allocations: 0.9375 kB / 0.8117 GB, free: 8.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.892e-05/0.5556, allocations: 160.4 kB / 0.8119 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.707e-05/0.5556, allocations: 30.45 kB / 0.8119 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.5556, allocations: 11.92 kB / 0.8119 GB, free: 8.754 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001147/0.5558, allocations: 41.69 kB / 0.812 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.5558, allocations: 0 / 0.812 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.5558, allocations: 7.922 kB / 0.812 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.703e-05/0.5558, allocations: 4 kB / 0.812 GB, free: 8.695 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.178e-05/0.5559, allocations: 8 kB / 0.812 GB, free: 8.688 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007074/0.5566, allocations: 0.6072 MB / 0.8126 GB, free: 7.957 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.442e-05/0.5566, allocations: 26.52 kB / 0.8126 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.724e-05/0.5566, allocations: 4.859 kB / 0.8126 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.5568, allocations: 336.5 kB / 0.8129 GB, free: 7.512 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.5569, allocations: 34.5 kB / 0.813 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.022e-06/0.5569, allocations: 0 / 0.813 GB, free: 7.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.557, allocations: 33.7 kB / 0.813 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.305e-05/0.557, allocations: 59.53 kB / 0.813 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.45e-05/0.5571, allocations: 97.84 kB / 0.8131 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.388e-05/0.5571, allocations: 25.7 kB / 0.8132 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.383e-05/0.5572, allocations: 91.98 kB / 0.8132 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.188e-06/0.5572, allocations: 7.938 kB / 0.8133 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.042e-05/0.5572, allocations: 17.7 kB / 0.8133 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.233e-05/0.5573, allocations: 318.8 kB / 0.8136 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.188e-05/0.5573, allocations: 0 / 0.8136 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.103e-05/0.5574, allocations: 21.66 kB / 0.8136 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.171e-05/0.5574, allocations: 25.7 kB / 0.8136 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.5574, allocations: 0 / 0.8136 GB, free: 6.719 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.908e-05/0.5575, allocations: 49.62 kB / 0.8137 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.454e-05/0.5575, allocations: 8 kB / 0.8137 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.5575, allocations: 0 / 0.8137 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.5575, allocations: 4.062 kB / 0.8137 GB, free: 6.652 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.188e-05/0.5576, allocations: 4 kB / 0.8137 GB, free: 6.648 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/0.5576, allocations: 7.938 kB / 0.8137 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.824e-05/0.5576, allocations: 3.906 kB / 0.8137 GB, free: 6.641 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.5576, allocations: 0 / 0.8137 GB, free: 6.641 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.569e-05/0.5577, allocations: 113.8 kB / 0.8138 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.422e-05/0.5577, allocations: 0 / 0.8138 GB, free: 6.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001055/0.5578, allocations: 124.9 kB / 0.8139 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.097e-05/0.5579, allocations: 180.3 kB / 0.8141 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.907e-05/0.558, allocations: 180.2 kB / 0.8143 GB, free: 6.023 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.147e-05/0.558, allocations: 184.2 kB / 0.8144 GB, free: 5.836 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.5582, allocations: 405.2 kB / 0.8148 GB, free: 5.383 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.419e-05/0.5583, allocations: 108.9 kB / 0.8149 GB, free: 5.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.755e-05/0.5583, allocations: 105 kB / 0.815 GB, free: 5.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.696e-05/0.5584, allocations: 180.2 kB / 0.8152 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.531e-05/0.5584, allocations: 180.3 kB / 0.8154 GB, free: 4.793 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.56e-05/0.5585, allocations: 184.2 kB / 0.8156 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.121e-05/0.5585, allocations: 188.2 kB / 0.8157 GB, free: 4.414 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.5587, allocations: 312 kB / 0.816 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.054e-05/0.5587, allocations: 178.1 kB / 0.8162 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.882e-05/0.5588, allocations: 184.2 kB / 0.8164 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001302/0.5589, allocations: 104.9 kB / 0.8165 GB, free: 3.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.021e-05/0.559, allocations: 184.2 kB / 0.8167 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/0.559, allocations: 108.9 kB / 0.8168 GB, free: 3.289 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.19e-05/0.5591, allocations: 87.27 kB / 0.8168 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5591, allocations: 0 / 0.8168 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002911/0.5594, allocations: 63.86 kB / 0.8169 GB, free: 3.141 MB / 0.5762 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 (0): * Single equations (assignments): 0 * 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.0002975/0.5597, allocations: 250.2 kB / 0.8171 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.639e-05/0.5598, allocations: 11.98 kB / 0.8171 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.5598, allocations: 0 / 0.8171 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.553e-06/0.5598, allocations: 0 / 0.8171 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003514/0.5601, allocations: 471.7 kB / 0.8176 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002454/0.5604, allocations: 209.1 kB / 0.8178 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.5606, allocations: 0.6729 MB / 0.8185 GB, free: 1.477 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.304e-05/0.5606, allocations: 15.42 kB / 0.8185 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of SimCode: time 2.11e-07/0.5606, allocations: 0 / 0.8185 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of Templates: time 0.002578/0.5632, allocations: 1.239 MB / 0.8197 GB, free: 236 kB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)