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.001372/0.001372, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001332/0.001332, allocations: 195.2 kB / 16.14 MB, free: 6.707 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.334/1.334, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00204/0.00204, allocations: 282.5 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9167/0.9167, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.00158, allocations: 94.98 kB / 0.5945 GB, free: 28.34 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.149/0.1506, allocations: 86.99 MB / 0.6794 GB, free: 1.203 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4118/0.5625, allocations: 133.3 MB / 0.8096 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001411/0.5626, allocations: 61.05 kB / 0.8097 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.036e-05/0.5627, allocations: 0 / 0.8097 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.73e-05/0.5628, allocations: 0 / 0.8097 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.953e-05/0.5629, allocations: 13.47 kB / 0.8097 GB, free: 2.145 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007297/0.5636, allocations: 225.2 kB / 0.8099 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 8.266e-05/0.5637, allocations: 53.61 kB / 0.81 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.405e-05/0.5638, allocations: 2 kB / 0.81 GB, free: 2.102 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.341e-05/0.5638, allocations: 20.05 kB / 0.81 GB, free: 2.098 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.366e-05/0.5639, allocations: 17.62 kB / 0.81 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.204e-05/0.5639, allocations: 0 / 0.81 GB, free: 2.094 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004792/0.5644, allocations: 246.2 kB / 0.8102 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.235e-05/0.5645, allocations: 11.75 kB / 0.8102 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.786e-05/0.5645, allocations: 14.88 kB / 0.8103 GB, free: 2.066 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003813/0.5649, allocations: 188.1 kB / 0.8104 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.5649, allocations: 2.938 kB / 0.8104 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5649, allocations: 0 / 0.8104 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.018e-06/0.5649, allocations: 1.203 kB / 0.8104 GB, free: 2.051 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.0005056/0.5654, allocations: 360.4 kB / 0.8108 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.5655, allocations: 10.59 kB / 0.8108 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.291e-05/0.5655, allocations: 0.9375 kB / 0.8108 GB, free: 17.68 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.5656, allocations: 167.9 kB / 0.811 GB, free: 17.49 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.876e-05/0.5657, allocations: 27.58 kB / 0.811 GB, free: 17.46 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.5657, allocations: 5 kB / 0.811 GB, free: 17.45 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.5658, allocations: 47.89 kB / 0.811 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.814e-06/0.5658, allocations: 0 / 0.811 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.068e-05/0.5659, allocations: 0 / 0.811 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.5659, allocations: 4 kB / 0.811 GB, free: 17.42 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/0.5659, allocations: 18.42 kB / 0.8111 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007459/0.5667, allocations: 0.5992 MB / 0.8116 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.264e-05/0.5667, allocations: 20.31 kB / 0.8117 GB, free: 16.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.418e-05/0.5667, allocations: 7.672 kB / 0.8117 GB, free: 16.74 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001952/0.5669, allocations: 334.9 kB / 0.812 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.501e-05/0.567, allocations: 37.36 kB / 0.812 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.333e-06/0.567, allocations: 1.688 kB / 0.812 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.5671, allocations: 40.73 kB / 0.8121 GB, free: 16.28 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.5672, allocations: 54.38 kB / 0.8121 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.5672, allocations: 99.72 kB / 0.8122 GB, free: 16.12 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.399e-05/0.5673, allocations: 27.73 kB / 0.8122 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.661e-05/0.5673, allocations: 92.11 kB / 0.8123 GB, free: 16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.951e-06/0.5673, allocations: 2.5 kB / 0.8123 GB, free: 16 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.856e-05/0.5674, allocations: 18.8 kB / 0.8123 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.5675, allocations: 315.7 kB / 0.8126 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.567e-05/0.5675, allocations: 8.188 kB / 0.8127 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.826e-05/0.5675, allocations: 15.06 kB / 0.8127 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.15e-05/0.5676, allocations: 30.92 kB / 0.8127 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.5676, allocations: 2.312 kB / 0.8127 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.608e-05/0.5676, allocations: 47.73 kB / 0.8127 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/0.5677, allocations: 8.688 kB / 0.8128 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.5677, allocations: 0 / 0.8128 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.024e-05/0.5677, allocations: 2.609 kB / 0.8128 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.288e-05/0.5677, allocations: 6.891 kB / 0.8128 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.5677, allocations: 3.938 kB / 0.8128 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.676e-05/0.5678, allocations: 1.688 kB / 0.8128 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.5678, allocations: 6.25 kB / 0.8128 GB, free: 15.58 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.784e-05/0.5678, allocations: 116.3 kB / 0.8129 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.5679, allocations: 0 / 0.8129 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001046/0.568, allocations: 119.2 kB / 0.813 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.389e-05/0.5681, allocations: 180.2 kB / 0.8132 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.876e-05/0.5681, allocations: 181.6 kB / 0.8133 GB, free: 14.98 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.998e-05/0.5682, allocations: 185 kB / 0.8135 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.5684, allocations: 406.7 kB / 0.8139 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.01e-05/0.5684, allocations: 108.2 kB / 0.814 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.091e-05/0.5685, allocations: 106.5 kB / 0.8141 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.009e-05/0.5685, allocations: 176.3 kB / 0.8143 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.386e-05/0.5686, allocations: 184.2 kB / 0.8145 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-05/0.5687, allocations: 183.2 kB / 0.8146 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.418e-05/0.5687, allocations: 186.2 kB / 0.8148 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001255/0.5688, allocations: 305.4 kB / 0.8151 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.149e-05/0.5689, allocations: 189.6 kB / 0.8153 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.314e-05/0.569, allocations: 179.6 kB / 0.8155 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/0.5691, allocations: 111.5 kB / 0.8156 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.495e-05/0.5692, allocations: 177.4 kB / 0.8157 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.94e-05/0.5693, allocations: 103 kB / 0.8158 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.556e-05/0.5694, allocations: 86.5 kB / 0.8159 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5694, allocations: 0 / 0.8159 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.000305/0.5697, allocations: 66.25 kB / 0.816 GB, free: 12.21 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.0002976/0.57, allocations: 250 kB / 0.8162 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.818e-05/0.5701, allocations: 16.78 kB / 0.8162 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.5701, allocations: 0 / 0.8162 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.5701, allocations: 0 / 0.8162 GB, free: 12.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004557/0.5705, allocations: 0.5191 MB / 0.8167 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002384/0.5708, allocations: 191 kB / 0.8169 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002459/0.571, allocations: 0.6747 MB / 0.8176 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.07e-05/0.5711, allocations: 7.156 kB / 0.8176 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.558e-05/0.5711, allocations: 11.69 kB / 0.8176 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.5711, allocations: 0 / 0.8176 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of Templates: time 0.003581/0.5747, allocations: 1.288 MB / 0.8189 GB, free: 10.44 MB / 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)