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.001023/0.001023, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001078/0.001078, allocations: 194 kB / 16.25 MB, free: 6.625 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.302/1.302, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002096/0.002096, allocations: 282.6 kB / 290.4 MB, free: 2.125 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9259/0.9259, allocations: 169.2 MB / 0.4978 GB, free: 14.05 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001651/0.001651, allocations: 92.53 kB / 0.5947 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1536/0.1553, allocations: 86.98 MB / 0.6796 GB, free: 1.07 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4151/0.5704, allocations: 133.5 MB / 0.81 GB, free: 2.312 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001291/0.5706, allocations: 47.61 kB / 0.81 GB, free: 2.309 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.737e-05/0.5706, allocations: 5.203 kB / 0.81 GB, free: 2.305 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 8.982e-05/0.5707, allocations: 7.031 kB / 0.81 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.337e-05/0.5708, allocations: 6.734 kB / 0.81 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006619/0.5715, allocations: 231.8 kB / 0.8103 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.601e-05/0.5716, allocations: 44.53 kB / 0.8103 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 2.916e-05/0.5716, allocations: 1.531 kB / 0.8103 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.136e-05/0.5716, allocations: 12.7 kB / 0.8103 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.657e-05/0.5717, allocations: 13.67 kB / 0.8103 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.5717, allocations: 2.219 kB / 0.8103 GB, free: 2.242 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.5721, allocations: 253.5 kB / 0.8106 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.797e-05/0.5721, allocations: 13.5 kB / 0.8106 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.775e-05/0.5721, allocations: 7.641 kB / 0.8106 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002824/0.5724, allocations: 196.6 kB / 0.8108 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.5724, allocations: 0 / 0.8108 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.72e-07/0.5725, allocations: 4 kB / 0.8108 GB, free: 2.195 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.5725, allocations: 0 / 0.8108 GB, free: 2.195 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.000439/0.5729, allocations: 356.6 kB / 0.8111 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.5729, allocations: 9.281 kB / 0.8111 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.573, allocations: 4.781 kB / 0.8111 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001064/0.5731, allocations: 161 kB / 0.8113 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.063e-05/0.5732, allocations: 26.45 kB / 0.8113 GB, free: 17.61 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.5732, allocations: 9.156 kB / 0.8113 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001076/0.5733, allocations: 48.45 kB / 0.8114 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.5733, allocations: 2.375 kB / 0.8114 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.187e-06/0.5733, allocations: 0 / 0.8114 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.5733, allocations: 0 / 0.8114 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.826e-05/0.5734, allocations: 17.61 kB / 0.8114 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006578/0.574, allocations: 0.6017 MB / 0.812 GB, free: 16.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.413e-05/0.5741, allocations: 22.55 kB / 0.812 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.963e-05/0.5741, allocations: 8.797 kB / 0.812 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000236/0.5744, allocations: 337.4 kB / 0.8123 GB, free: 16.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.5744, allocations: 31.84 kB / 0.8124 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.5744, allocations: 0 / 0.8124 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001393/0.5745, allocations: 35.97 kB / 0.8124 GB, free: 16.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.5746, allocations: 51.41 kB / 0.8124 GB, free: 16.37 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.434e-05/0.5747, allocations: 104.7 kB / 0.8125 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.5747, allocations: 27.08 kB / 0.8126 GB, free: 16.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.438e-05/0.5747, allocations: 96.06 kB / 0.8127 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.208e-06/0.5747, allocations: 0 / 0.8127 GB, free: 16.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.467e-05/0.5748, allocations: 12.69 kB / 0.8127 GB, free: 16.13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.724e-05/0.5749, allocations: 322.2 kB / 0.813 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.405e-05/0.5749, allocations: 7.844 kB / 0.813 GB, free: 15.81 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.84e-05/0.5749, allocations: 19.22 kB / 0.813 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.706e-05/0.575, allocations: 21.75 kB / 0.813 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.575, allocations: 0 / 0.813 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.442e-05/0.575, allocations: 57.33 kB / 0.8131 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.5751, allocations: 8.688 kB / 0.8131 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.5751, allocations: 0.9375 kB / 0.8131 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.5751, allocations: 0 / 0.8131 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.908e-05/0.5751, allocations: 8.938 kB / 0.8131 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.131e-06/0.5751, allocations: 1.719 kB / 0.8131 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.5752, allocations: 1.094 kB / 0.8131 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.465e-06/0.5752, allocations: 2.25 kB / 0.8131 GB, free: 15.73 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.53e-05/0.5752, allocations: 118.2 kB / 0.8132 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.483e-05/0.5753, allocations: 2.062 kB / 0.8132 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.076e-05/0.5754, allocations: 122.6 kB / 0.8133 GB, free: 15.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.598e-05/0.5754, allocations: 180.3 kB / 0.8135 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.685e-05/0.5755, allocations: 184.5 kB / 0.8137 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-05/0.5756, allocations: 188.2 kB / 0.8139 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001816/0.5757, allocations: 402.5 kB / 0.8142 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.395e-05/0.5758, allocations: 109 kB / 0.8143 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.86e-05/0.5758, allocations: 102.2 kB / 0.8144 GB, free: 14.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.282e-05/0.5759, allocations: 187.6 kB / 0.8146 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.332e-05/0.5759, allocations: 184.1 kB / 0.8148 GB, free: 13.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.872e-05/0.576, allocations: 180.2 kB / 0.815 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-05/0.576, allocations: 184.1 kB / 0.8151 GB, free: 13.55 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.5762, allocations: 312.8 kB / 0.8154 GB, free: 13.23 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.5762, allocations: 178.1 kB / 0.8156 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.5764, allocations: 185.5 kB / 0.8158 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.5765, allocations: 106.8 kB / 0.8159 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/0.5766, allocations: 179.6 kB / 0.8161 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.028e-05/0.5767, allocations: 108.9 kB / 0.8162 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 9.061e-05/0.5768, allocations: 83.45 kB / 0.8162 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.5768, allocations: 0 / 0.8162 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002778/0.577, allocations: 60.17 kB / 0.8163 GB, free: 12.36 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.0002756/0.5773, allocations: 258.9 kB / 0.8165 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 6.254e-05/0.5774, allocations: 10 kB / 0.8166 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5774, allocations: 0 / 0.8166 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.5774, allocations: 3.938 kB / 0.8166 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003473/0.5778, allocations: 465 kB / 0.817 GB, free: 11.72 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.578, allocations: 189.8 kB / 0.8172 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002129/0.5782, allocations: 0.6715 MB / 0.8178 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.768e-05/0.5783, allocations: 4.641 kB / 0.8178 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.426e-05/0.5783, allocations: 10.38 kB / 0.8179 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of SimCode: time 1.583e-06/0.5783, allocations: 4 kB / 0.8179 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.003335/0.5816, allocations: 1.295 MB / 0.8191 GB, free: 10.66 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)