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.001/0.001, allocations: 114.9 kB / 16.37 MB, free: 6.016 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.0009662/0.0009662, allocations: 193.2 kB / 17.31 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.241/1.241, allocations: 222.9 MB / 241 MB, free: 15.01 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001961/0.001961, allocations: 293.3 kB / 291.4 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9002/0.9002, allocations: 169.2 MB / 0.4989 GB, free: 4.469 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001655/0.001655, allocations: 92.34 kB / 0.5967 GB, free: 14.46 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1465, allocations: 86.98 MB / 0.6816 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4016/0.5481, allocations: 135.4 MB / 0.8138 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001422/0.5483, allocations: 51.59 kB / 0.8139 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.059e-05/0.5483, allocations: 0 / 0.8139 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.676e-05/0.5484, allocations: 7.938 kB / 0.8139 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.543e-05/0.5486, allocations: 11.98 kB / 0.8139 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007743/0.5493, allocations: 245.4 kB / 0.8141 GB, free: 6.875 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.559e-05/0.5494, allocations: 31.91 kB / 0.8142 GB, free: 6.844 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.507e-05/0.5495, allocations: 4.5 kB / 0.8142 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.5495, allocations: 19.92 kB / 0.8142 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.057e-05/0.5496, allocations: 11.92 kB / 0.8142 GB, free: 6.809 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.5496, allocations: 4 kB / 0.8142 GB, free: 6.805 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004699/0.5501, allocations: 250 kB / 0.8144 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.08e-05/0.5501, allocations: 7.984 kB / 0.8144 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.287e-05/0.5501, allocations: 8 kB / 0.8145 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003482/0.5505, allocations: 191.5 kB / 0.8146 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.5505, allocations: 0 / 0.8146 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.232e-06/0.5505, allocations: 0 / 0.8146 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.088e-06/0.5505, allocations: 0 / 0.8146 GB, free: 6.363 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.0003324/0.5509, allocations: 358 kB / 0.815 GB, free: 5.969 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.13e-05/0.5509, allocations: 8.031 kB / 0.815 GB, free: 5.961 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.695e-05/0.5509, allocations: 8.875 kB / 0.815 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.505e-05/0.551, allocations: 164.4 kB / 0.8152 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.918e-05/0.5511, allocations: 30.39 kB / 0.8152 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.471e-05/0.5511, allocations: 7.938 kB / 0.8152 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.5512, allocations: 41.69 kB / 0.8152 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.53e-06/0.5512, allocations: 0 / 0.8152 GB, free: 5.664 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.037e-06/0.5513, allocations: 4 kB / 0.8152 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.734e-05/0.5513, allocations: 4 kB / 0.8152 GB, free: 5.656 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.954e-05/0.5513, allocations: 12.8 kB / 0.8152 GB, free: 5.645 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006773/0.552, allocations: 0.6072 MB / 0.8158 GB, free: 4.914 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 3.767e-05/0.5521, allocations: 18.58 kB / 0.8159 GB, free: 4.887 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.5521, allocations: 8.859 kB / 0.8159 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.5523, allocations: 332.5 kB / 0.8162 GB, free: 4.477 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.196e-05/0.5523, allocations: 34.56 kB / 0.8162 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.5523, allocations: 0 / 0.8162 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001116/0.5524, allocations: 41.62 kB / 0.8163 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.5525, allocations: 51.41 kB / 0.8163 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.795e-05/0.5525, allocations: 101.9 kB / 0.8164 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.5525, allocations: 37.75 kB / 0.8164 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.802e-05/0.5526, allocations: 87.98 kB / 0.8165 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 6.412e-06/0.5526, allocations: 4 kB / 0.8165 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.5526, allocations: 21.72 kB / 0.8165 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.033e-05/0.5527, allocations: 314.8 kB / 0.8168 GB, free: 3.734 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.5528, allocations: 3.984 kB / 0.8169 GB, free: 3.73 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.231e-05/0.5528, allocations: 13.72 kB / 0.8169 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.395e-05/0.5528, allocations: 33.53 kB / 0.8169 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.5528, allocations: 0 / 0.8169 GB, free: 3.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.45e-05/0.5529, allocations: 45.69 kB / 0.8169 GB, free: 3.625 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.5529, allocations: 8 kB / 0.8169 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.5529, allocations: 0 / 0.8169 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.656e-06/0.5529, allocations: 0 / 0.8169 GB, free: 3.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.866e-05/0.553, allocations: 11.92 kB / 0.817 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.306e-06/0.553, allocations: 0 / 0.817 GB, free: 3.605 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.829e-05/0.553, allocations: 12.25 kB / 0.817 GB, free: 3.594 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.777e-06/0.553, allocations: 0 / 0.817 GB, free: 3.594 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.187e-05/0.5531, allocations: 117.7 kB / 0.8171 GB, free: 3.469 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.811e-05/0.5531, allocations: 4 kB / 0.8171 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.571e-05/0.5532, allocations: 120.9 kB / 0.8172 GB, free: 3.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.145e-05/0.5533, allocations: 180.2 kB / 0.8174 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.038e-05/0.5533, allocations: 180.3 kB / 0.8175 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.397e-05/0.5534, allocations: 184.3 kB / 0.8177 GB, free: 2.785 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001919/0.5536, allocations: 409.2 kB / 0.8181 GB, free: 2.328 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.877e-05/0.5536, allocations: 105 kB / 0.8182 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.247e-05/0.5537, allocations: 104.9 kB / 0.8183 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.858e-05/0.5537, allocations: 184.2 kB / 0.8185 GB, free: 1.922 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.054e-05/0.5538, allocations: 184.2 kB / 0.8187 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.593e-05/0.5539, allocations: 180.3 kB / 0.8188 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.069e-05/0.5539, allocations: 176.3 kB / 0.819 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001137/0.554, allocations: 311.7 kB / 0.8193 GB, free: 1.043 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.751e-05/0.5541, allocations: 186 kB / 0.8195 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.459e-05/0.5542, allocations: 184.3 kB / 0.8197 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.5543, allocations: 105 kB / 0.8198 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/0.5544, allocations: 184.2 kB / 0.8199 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.82e-05/0.5544, allocations: 105 kB / 0.82 GB, free: 248 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.547e-05/0.5545, allocations: 84.7 kB / 0.8201 GB, free: 164 kB / 0.5762 GB Notification: Performance of sort global known variables: time 2.2e-07/0.5545, allocations: 4 kB / 0.8201 GB, free: 160 kB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002864/0.5548, allocations: 63.88 kB / 0.8202 GB, free: 96 kB / 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.0002773/0.555, allocations: 246.4 kB / 0.8204 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 5.141e-05/0.5551, allocations: 15.94 kB / 0.8204 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.5551, allocations: 0 / 0.8204 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.5551, allocations: 3.938 kB / 0.8204 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003298/0.5554, allocations: 462.3 kB / 0.8209 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002003/0.5557, allocations: 191.5 kB / 0.8211 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002477/0.5559, allocations: 0.6767 MB / 0.8217 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.188e-05/0.556, allocations: 4 kB / 0.8217 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.358e-05/0.556, allocations: 11.44 kB / 0.8217 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.556, allocations: 0 / 0.8217 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of Templates: time 0.003301/0.5593, allocations: 1.305 MB / 0.823 GB, free: 13.14 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)