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.001534/0.001534, allocations: 107.8 kB / 16.27 MB, free: 6.414 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.00142/0.00142, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.294/1.294, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002387/0.002387, allocations: 284.2 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.169/1.169, allocations: 178.5 MB / 0.5079 GB, free: 12.88 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002645/0.002646, allocations: 99.83 kB / 0.6071 GB, free: 9.301 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1741, allocations: 89.13 MB / 0.6941 GB, free: 84 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.3824/0.5565, allocations: 135.4 MB / 0.8263 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001767/0.5567, allocations: 49.11 kB / 0.8264 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.187e-05/0.5568, allocations: 0 / 0.8264 GB, free: 6.879 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001034/0.5569, allocations: 10.75 kB / 0.8264 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.338e-05/0.557, allocations: 4.25 kB / 0.8264 GB, free: 6.871 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008453/0.5579, allocations: 238 kB / 0.8266 GB, free: 6.762 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 8.339e-05/0.5579, allocations: 36.38 kB / 0.8267 GB, free: 6.746 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.558, allocations: 7.156 kB / 0.8267 GB, free: 6.742 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 4.551e-05/0.558, allocations: 15.28 kB / 0.8267 GB, free: 6.738 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.705e-05/0.5581, allocations: 16.62 kB / 0.8267 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.5581, allocations: 1.312 kB / 0.8267 GB, free: 6.73 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005536/0.5587, allocations: 233.6 kB / 0.8269 GB, free: 6.648 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.094e-05/0.5588, allocations: 17.22 kB / 0.8269 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.5588, allocations: 6.328 kB / 0.827 GB, free: 6.637 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0004375/0.5592, allocations: 190.8 kB / 0.8271 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.5592, allocations: 0.7969 kB / 0.8271 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.393e-06/0.5593, allocations: 0 / 0.8271 GB, free: 6.586 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.26e-06/0.5593, allocations: 4 kB / 0.8271 GB, free: 6.582 MB / 0.5919 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.000444/0.5597, allocations: 358 kB / 0.8275 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.5598, allocations: 9.281 kB / 0.8275 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.977e-05/0.5598, allocations: 2.094 kB / 0.8275 GB, free: 6.211 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001276/0.5599, allocations: 164.4 kB / 0.8276 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.504e-05/0.56, allocations: 29.17 kB / 0.8277 GB, free: 5.984 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.56, allocations: 5.812 kB / 0.8277 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.5602, allocations: 46.42 kB / 0.8277 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.5602, allocations: 5.438 kB / 0.8277 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.5602, allocations: 0 / 0.8277 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.724e-05/0.5602, allocations: 2 kB / 0.8277 GB, free: 5.938 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.647e-05/0.5603, allocations: 17.55 kB / 0.8277 GB, free: 5.934 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008191/0.5611, allocations: 0.5994 MB / 0.8283 GB, free: 5.277 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 4.774e-05/0.5612, allocations: 20.92 kB / 0.8284 GB, free: 5.25 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.809e-05/0.5612, allocations: 6.859 kB / 0.8284 GB, free: 5.242 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002291/0.5614, allocations: 341.3 kB / 0.8287 GB, free: 4.855 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/0.5614, allocations: 32.34 kB / 0.8287 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.5614, allocations: 1.125 kB / 0.8287 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001417/0.5616, allocations: 33.52 kB / 0.8288 GB, free: 4.785 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.5616, allocations: 51.41 kB / 0.8288 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.868e-05/0.5617, allocations: 107.5 kB / 0.8289 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.649e-05/0.5618, allocations: 25.7 kB / 0.8289 GB, free: 4.586 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.525e-05/0.5618, allocations: 86.91 kB / 0.829 GB, free: 4.5 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/0.5618, allocations: 8.969 kB / 0.829 GB, free: 4.492 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.428e-05/0.5619, allocations: 22.38 kB / 0.829 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.562, allocations: 316.6 kB / 0.8293 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.771e-05/0.562, allocations: 8.594 kB / 0.8293 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.648e-05/0.5621, allocations: 18 kB / 0.8294 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.444e-05/0.5621, allocations: 21.61 kB / 0.8294 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.5621, allocations: 1.125 kB / 0.8294 GB, free: 4.109 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.194e-05/0.5622, allocations: 49.31 kB / 0.8294 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.242e-05/0.5622, allocations: 6.5 kB / 0.8294 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.5622, allocations: 96 / 0.8294 GB, free: 4.07 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.5622, allocations: 5.141 kB / 0.8294 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.016e-05/0.5623, allocations: 6.109 kB / 0.8295 GB, free: 4.066 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.5623, allocations: 5.25 kB / 0.8295 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.772e-05/0.5623, allocations: 1.172 kB / 0.8295 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.386e-05/0.5623, allocations: 7 kB / 0.8295 GB, free: 4.059 MB / 0.5919 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.501e-05/0.5624, allocations: 112.4 kB / 0.8296 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.626e-05/0.5625, allocations: 1.922 kB / 0.8296 GB, free: 3.941 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000117/0.5626, allocations: 119.2 kB / 0.8297 GB, free: 3.824 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.058e-05/0.5627, allocations: 184.9 kB / 0.8299 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.425e-05/0.5627, allocations: 182 kB / 0.83 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.11e-05/0.5628, allocations: 180.4 kB / 0.8302 GB, free: 3.273 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.5631, allocations: 408.1 kB / 0.8306 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.714e-05/0.5631, allocations: 111.6 kB / 0.8307 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.765e-05/0.5632, allocations: 102.5 kB / 0.8308 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.132e-05/0.5633, allocations: 190 kB / 0.831 GB, free: 2.414 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.277e-05/0.5633, allocations: 178.4 kB / 0.8312 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.5e-05/0.5634, allocations: 177.9 kB / 0.8313 GB, free: 2.055 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.149e-05/0.5635, allocations: 182 kB / 0.8315 GB, free: 1.871 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001586/0.5637, allocations: 317.8 kB / 0.8318 GB, free: 1.543 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.287e-05/0.5638, allocations: 180.5 kB / 0.832 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.448e-05/0.5639, allocations: 188.3 kB / 0.8322 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000147/0.564, allocations: 108.7 kB / 0.8323 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.509e-05/0.5641, allocations: 178.3 kB / 0.8324 GB, free: 0.8672 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.377e-05/0.5641, allocations: 106.8 kB / 0.8325 GB, free: 0.7578 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.454e-05/0.5642, allocations: 90.17 kB / 0.8326 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5642, allocations: 1.125 kB / 0.8326 GB, free: 0.6758 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003359/0.5645, allocations: 59.17 kB / 0.8327 GB, free: 0.6562 MB / 0.5919 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.0003187/0.5649, allocations: 256.6 kB / 0.8329 GB, free: 476 kB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.547e-05/0.5649, allocations: 8.578 kB / 0.8329 GB, free: 476 kB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.565, allocations: 1.5 kB / 0.8329 GB, free: 476 kB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 8.096e-06/0.565, allocations: 5.094 kB / 0.8329 GB, free: 472 kB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003962/0.5654, allocations: 460.6 kB / 0.8334 GB, free: 12 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002606/0.5656, allocations: 200.6 kB / 0.8336 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002788/0.5659, allocations: 0.6744 MB / 0.8342 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.17e-05/0.566, allocations: 10.45 kB / 0.8342 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.566, allocations: 0 / 0.8342 GB, free: 15.11 MB / 0.6075 GB Notification: Performance of Templates: time 0.003041/0.569, allocations: 1.234 MB / 0.8354 GB, free: 14.97 MB / 0.6075 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)