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.0007579/0.0007579, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.005688/0.005688, allocations: 172 kB / 16.26 MB, free: 6.613 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.319/1.319, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001761/0.001761, allocations: 274.2 kB / 291.7 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9266/0.9266, allocations: 169.5 MB / 0.5004 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004451/0.0004454, allocations: 16.09 kB / 0.5986 GB, free: 28.15 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1494/0.1499, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4316/0.5815, allocations: 131.6 MB / 0.8136 GB, free: 1.352 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0001647/0.5817, allocations: 60.14 kB / 0.8137 GB, free: 1.336 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.451e-05/0.5818, allocations: 6.422 kB / 0.8137 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.5819, allocations: 3.141 kB / 0.8137 GB, free: 1.332 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.839e-05/0.582, allocations: 12.06 kB / 0.8137 GB, free: 1.328 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007817/0.5828, allocations: 224.6 kB / 0.8139 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001098/0.5829, allocations: 54.84 kB / 0.8139 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.439e-05/0.5829, allocations: 4.188 kB / 0.814 GB, free: 1.285 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.095e-05/0.583, allocations: 17.31 kB / 0.814 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.406e-05/0.5831, allocations: 19.91 kB / 0.814 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.5831, allocations: 1.062 kB / 0.814 GB, free: 1.281 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004493/0.5835, allocations: 242.3 kB / 0.8142 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.423e-05/0.5836, allocations: 4.188 kB / 0.8142 GB, free: 1.258 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.5837, allocations: 38.08 kB / 0.8143 GB, free: 17.23 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003246/0.5841, allocations: 196.5 kB / 0.8144 GB, free: 17.21 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.5841, allocations: 4 kB / 0.8144 GB, free: 17.21 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.375e-06/0.5841, allocations: 0 / 0.8144 GB, free: 17.21 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.917e-06/0.5841, allocations: 5.125 kB / 0.8145 GB, free: 17.2 MB / 0.5606 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.0003473/0.5844, allocations: 347.5 kB / 0.8148 GB, free: 16.84 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.5845, allocations: 11.06 kB / 0.8148 GB, free: 16.84 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.505e-05/0.5845, allocations: 3 kB / 0.8148 GB, free: 16.84 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.789e-05/0.5846, allocations: 164 kB / 0.815 GB, free: 16.64 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.582e-05/0.5847, allocations: 31.48 kB / 0.815 GB, free: 16.61 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.326e-06/0.5847, allocations: 9.031 kB / 0.815 GB, free: 16.6 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/0.5848, allocations: 44.3 kB / 0.815 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.5848, allocations: 0 / 0.815 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.127e-05/0.5849, allocations: 3.906 kB / 0.815 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.814e-05/0.5849, allocations: 1.031 kB / 0.815 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.55e-05/0.5849, allocations: 21.91 kB / 0.8151 GB, free: 16.57 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006908/0.5856, allocations: 0.601 MB / 0.8156 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 2.792e-05/0.5857, allocations: 16.7 kB / 0.8157 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.298e-05/0.5857, allocations: 9.703 kB / 0.8157 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001881/0.5859, allocations: 332.8 kB / 0.816 GB, free: 15.51 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.5859, allocations: 34.95 kB / 0.816 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.113e-06/0.5859, allocations: 1.859 kB / 0.816 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.00015/0.5861, allocations: 43.98 kB / 0.8161 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.5861, allocations: 51.41 kB / 0.8161 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.758e-05/0.5862, allocations: 98.89 kB / 0.8162 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.954e-05/0.5862, allocations: 30.23 kB / 0.8162 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 5.407e-05/0.5863, allocations: 91.36 kB / 0.8163 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 5.159e-06/0.5863, allocations: 0 / 0.8163 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.095e-05/0.5863, allocations: 10.72 kB / 0.8163 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.5865, allocations: 321.8 kB / 0.8166 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.44e-05/0.5865, allocations: 2.688 kB / 0.8166 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.305e-05/0.5865, allocations: 20.48 kB / 0.8167 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.408e-05/0.5865, allocations: 23.22 kB / 0.8167 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.5866, allocations: 0.9688 kB / 0.8167 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.836e-05/0.5866, allocations: 44.64 kB / 0.8167 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.5867, allocations: 5.625 kB / 0.8167 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.683e-06/0.5867, allocations: 2.219 kB / 0.8167 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.5867, allocations: 5.031 kB / 0.8167 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.782e-05/0.5867, allocations: 13.09 kB / 0.8168 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.5868, allocations: 1 kB / 0.8168 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.964e-05/0.5868, allocations: 5.094 kB / 0.8168 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.16e-05/0.5868, allocations: 5.375 kB / 0.8168 GB, free: 14.73 MB / 0.5606 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 7.589e-05/0.5869, allocations: 116.9 kB / 0.8169 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.395e-05/0.5869, allocations: 1.031 kB / 0.8169 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.922e-05/0.587, allocations: 118.9 kB / 0.817 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.228e-05/0.5871, allocations: 181.3 kB / 0.8172 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.997e-05/0.5871, allocations: 179.9 kB / 0.8173 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.637e-05/0.5872, allocations: 185.4 kB / 0.8175 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001993/0.5874, allocations: 401.7 kB / 0.8179 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-05/0.5874, allocations: 112.3 kB / 0.818 GB, free: 13.4 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.679e-05/0.5875, allocations: 106.6 kB / 0.8181 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.854e-05/0.5875, allocations: 180.2 kB / 0.8183 GB, free: 13.11 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.615e-05/0.5876, allocations: 188 kB / 0.8185 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.073e-05/0.5877, allocations: 177.5 kB / 0.8186 GB, free: 12.74 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.619e-05/0.5877, allocations: 177.6 kB / 0.8188 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001357/0.5879, allocations: 317.4 kB / 0.8191 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.626e-05/0.5879, allocations: 190.2 kB / 0.8193 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.118e-05/0.588, allocations: 177.2 kB / 0.8195 GB, free: 11.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001398/0.5882, allocations: 109.3 kB / 0.8196 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.934e-05/0.5882, allocations: 185.2 kB / 0.8197 GB, free: 11.56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.012e-05/0.5883, allocations: 104.6 kB / 0.8198 GB, free: 11.45 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.136e-05/0.5883, allocations: 83.97 kB / 0.8199 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5883, allocations: 0 / 0.8199 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000326/0.5887, allocations: 66.23 kB / 0.82 GB, free: 11.36 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 (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.0003046/0.589, allocations: 245.2 kB / 0.8202 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 7.142e-05/0.589, allocations: 12.44 kB / 0.8202 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/0.5891, allocations: 0.9688 kB / 0.8202 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-06/0.5891, allocations: 3.938 kB / 0.8202 GB, free: 11.17 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003953/0.5895, allocations: 0.5282 MB / 0.8207 GB, free: 10.65 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.5897, allocations: 191.7 kB / 0.8209 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003288/0.5901, allocations: 0.677 MB / 0.8216 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.911e-05/0.5901, allocations: 7.719 kB / 0.8216 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.5902, allocations: 10.09 kB / 0.8216 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of SimCode: time 2.3e-07/0.5902, allocations: 0 / 0.8216 GB, free: 9.762 MB / 0.5606 GB Notification: Performance of Templates: time 0.003477/0.5936, allocations: 1.271 MB / 0.8228 GB, free: 9.582 MB / 0.5606 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)