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.001223/0.001223, allocations: 105.3 kB / 16.27 MB, free: 5.984 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.001271/0.001271, allocations: 189 kB / 17.2 MB, free: 5.609 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.201/1.201, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002012/0.002012, allocations: 283.5 kB / 291.3 MB, free: 14.55 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8708/0.8708, allocations: 169.3 MB / 0.4988 GB, free: 4.523 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001706/0.001707, allocations: 97.91 kB / 0.5959 GB, free: 15.2 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1483/0.15, allocations: 86.97 MB / 0.6808 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3823/0.5324, allocations: 135.4 MB / 0.8131 GB, free: 7.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001455/0.5326, allocations: 50.22 kB / 0.8131 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.23e-05/0.5326, allocations: 0 / 0.8131 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 9.362e-05/0.5328, allocations: 3.938 kB / 0.8131 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.758e-05/0.5329, allocations: 11.97 kB / 0.8131 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007279/0.5336, allocations: 237.9 kB / 0.8134 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.158e-05/0.5337, allocations: 35.73 kB / 0.8134 GB, free: 7.391 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.553e-05/0.5337, allocations: 7.984 kB / 0.8134 GB, free: 7.383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.366e-05/0.5338, allocations: 19.92 kB / 0.8134 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.654e-05/0.5338, allocations: 7.984 kB / 0.8134 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.5338, allocations: 0 / 0.8134 GB, free: 7.355 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004474/0.5343, allocations: 251.4 kB / 0.8137 GB, free: 7.109 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.123e-05/0.5343, allocations: 7.938 kB / 0.8137 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.5344, allocations: 11.98 kB / 0.8137 GB, free: 7.09 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003255/0.5347, allocations: 190.3 kB / 0.8139 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.5347, allocations: 0 / 0.8139 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5347, allocations: 0 / 0.8139 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.619e-06/0.5347, allocations: 0 / 0.8139 GB, free: 6.906 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.0003606/0.5351, allocations: 359.5 kB / 0.8142 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.809e-05/0.5351, allocations: 11.97 kB / 0.8142 GB, free: 6.496 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.658e-05/0.5352, allocations: 4.938 kB / 0.8142 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.5353, allocations: 164.4 kB / 0.8144 GB, free: 6.293 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.373e-05/0.5353, allocations: 30.45 kB / 0.8144 GB, free: 6.258 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.228e-06/0.5354, allocations: 7.938 kB / 0.8144 GB, free: 6.25 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001103/0.5355, allocations: 37.69 kB / 0.8145 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.783e-06/0.5355, allocations: 0 / 0.8145 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.5355, allocations: 4 kB / 0.8145 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.555e-05/0.5355, allocations: 4 kB / 0.8145 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.5356, allocations: 11.98 kB / 0.8145 GB, free: 6.188 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006468/0.5362, allocations: 0.611 MB / 0.8151 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.377e-05/0.5363, allocations: 22.58 kB / 0.8151 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.299e-05/0.5363, allocations: 4.859 kB / 0.8151 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001687/0.5365, allocations: 332.5 kB / 0.8154 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.5365, allocations: 35.5 kB / 0.8154 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.5365, allocations: 0 / 0.8154 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001223/0.5366, allocations: 45.62 kB / 0.8155 GB, free: 4.922 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.944e-05/0.5367, allocations: 51.41 kB / 0.8155 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.818e-05/0.5367, allocations: 97.86 kB / 0.8156 GB, free: 4.754 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.5367, allocations: 25.7 kB / 0.8157 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.971e-05/0.5368, allocations: 95.97 kB / 0.8157 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.54e-06/0.5368, allocations: 4 kB / 0.8158 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.76e-05/0.5368, allocations: 13.72 kB / 0.8158 GB, free: 4.602 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.747e-05/0.5369, allocations: 326.9 kB / 0.8161 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.5369, allocations: 1.688 kB / 0.8161 GB, free: 4.273 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.08e-05/0.537, allocations: 17.89 kB / 0.8161 GB, free: 4.25 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.234e-05/0.537, allocations: 25.66 kB / 0.8161 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.537, allocations: 0 / 0.8161 GB, free: 4.219 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.892e-05/0.5371, allocations: 45.78 kB / 0.8162 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.5371, allocations: 14.41 kB / 0.8162 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.406e-06/0.5371, allocations: 0 / 0.8162 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.5371, allocations: 3.984 kB / 0.8162 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.237e-05/0.5372, allocations: 7.938 kB / 0.8162 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.5372, allocations: 0 / 0.8162 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.5372, allocations: 7.906 kB / 0.8162 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.285e-06/0.5372, allocations: 3.984 kB / 0.8162 GB, free: 4.133 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.508e-05/0.5373, allocations: 113.8 kB / 0.8163 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.509e-05/0.5373, allocations: 0 / 0.8163 GB, free: 4.012 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.78e-05/0.5374, allocations: 121 kB / 0.8164 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.993e-05/0.5375, allocations: 184.2 kB / 0.8166 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.707e-05/0.5375, allocations: 176.3 kB / 0.8168 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.956e-05/0.5376, allocations: 184.3 kB / 0.8169 GB, free: 3.332 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001835/0.5378, allocations: 417.1 kB / 0.8173 GB, free: 2.867 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.621e-05/0.5378, allocations: 101.7 kB / 0.8174 GB, free: 2.762 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.799e-05/0.5378, allocations: 108.9 kB / 0.8175 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.743e-05/0.5379, allocations: 176.3 kB / 0.8177 GB, free: 2.469 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.066e-05/0.5379, allocations: 192.1 kB / 0.8179 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.743e-05/0.538, allocations: 176.3 kB / 0.8181 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.956e-05/0.538, allocations: 187 kB / 0.8182 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001089/0.5382, allocations: 307.7 kB / 0.8185 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.017e-05/0.5382, allocations: 186 kB / 0.8187 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.557e-05/0.5383, allocations: 184.3 kB / 0.8189 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.5384, allocations: 101 kB / 0.819 GB, free: 1.082 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.589e-05/0.5385, allocations: 188.2 kB / 0.8192 GB, free: 0.8906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.605e-05/0.5385, allocations: 105 kB / 0.8193 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.014e-05/0.5386, allocations: 83.28 kB / 0.8193 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5386, allocations: 0 / 0.8193 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000283/0.5389, allocations: 67.86 kB / 0.8194 GB, free: 0.6328 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.0002613/0.5391, allocations: 252 kB / 0.8196 GB, free: 388 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.078e-05/0.5392, allocations: 11.94 kB / 0.8197 GB, free: 376 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.5392, allocations: 0 / 0.8197 GB, free: 376 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.5392, allocations: 0 / 0.8197 GB, free: 376 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003632/0.5396, allocations: 463.8 kB / 0.8201 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000225/0.5398, allocations: 217 kB / 0.8203 GB, free: 15.67 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.54, allocations: 0.6729 MB / 0.821 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.924e-05/0.54, allocations: 11.44 kB / 0.821 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of SimCode: time 4.21e-07/0.5401, allocations: 4 kB / 0.821 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of Templates: time 0.002411/0.5425, allocations: 1.232 MB / 0.8222 GB, free: 13.73 MB / 0.5919 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)