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.001442/0.001441, 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.001592/0.001592, allocations: 193 kB / 16.14 MB, free: 6.715 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.435/1.435, 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.002562/0.002562, allocations: 290.9 kB / 290.2 MB, free: 2.211 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.091/1.091, allocations: 178.6 MB / 0.5068 GB, free: 4.777 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002726/0.002726, allocations: 96.16 kB / 0.6057 GB, free: 25.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1583/0.161, allocations: 89.14 MB / 0.6928 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4106/0.5717, allocations: 133.3 MB / 0.8229 GB, free: 9.25 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002016/0.5719, allocations: 52.86 kB / 0.823 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.254e-05/0.5719, allocations: 0 / 0.823 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.5721, allocations: 1.219 kB / 0.823 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 8.603e-05/0.5722, allocations: 15.41 kB / 0.823 GB, free: 9.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008912/0.5731, allocations: 225.4 kB / 0.8232 GB, free: 9.105 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.5732, allocations: 52.91 kB / 0.8233 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.163e-05/0.5733, allocations: 2.656 kB / 0.8233 GB, free: 9.094 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.399e-05/0.5733, allocations: 22.61 kB / 0.8233 GB, free: 9.082 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.289e-05/0.5734, allocations: 16.73 kB / 0.8233 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.504e-05/0.5734, allocations: 1.156 kB / 0.8233 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005053/0.574, allocations: 241.8 kB / 0.8235 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.21e-05/0.574, allocations: 4.906 kB / 0.8235 GB, free: 8.988 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.5741, allocations: 11.3 kB / 0.8236 GB, free: 8.984 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0003925/0.5745, allocations: 193 kB / 0.8237 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5745, allocations: 0.75 kB / 0.8237 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of FrontEnd: time 7.41e-07/0.5745, allocations: 0 / 0.8237 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.079e-06/0.5745, allocations: 1.125 kB / 0.8237 GB, free: 8.934 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.0004589/0.5749, allocations: 364.2 kB / 0.8241 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.575, allocations: 10.25 kB / 0.8241 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.862e-05/0.575, allocations: 6.688 kB / 0.8241 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001257/0.5752, allocations: 168 kB / 0.8243 GB, free: 8.352 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.83e-05/0.5752, allocations: 28.3 kB / 0.8243 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.236e-05/0.5752, allocations: 5.062 kB / 0.8243 GB, free: 8.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.5754, allocations: 47.94 kB / 0.8243 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.5754, allocations: 0 / 0.8243 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.118e-05/0.5754, allocations: 1.469 kB / 0.8243 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.5754, allocations: 5.375 kB / 0.8244 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.095e-05/0.5755, allocations: 15.61 kB / 0.8244 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007835/0.5763, allocations: 0.5967 MB / 0.825 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 4.021e-05/0.5763, allocations: 23.61 kB / 0.825 GB, free: 7.586 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.421e-05/0.5763, allocations: 7.203 kB / 0.825 GB, free: 7.578 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000237/0.5766, allocations: 337.8 kB / 0.8253 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.5766, allocations: 32.78 kB / 0.8253 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=1): time 1.102e-06/0.5766, allocations: 0 / 0.8253 GB, free: 7.156 MB / 0.5606 GB Notification: Performance of matching and sorting (n=1): time 0.0001445/0.5768, allocations: 41.95 kB / 0.8254 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.962e-05/0.5768, allocations: 51.41 kB / 0.8254 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.961e-05/0.5769, allocations: 99.05 kB / 0.8255 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.751e-05/0.577, allocations: 25.7 kB / 0.8255 GB, free: 6.926 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.233e-05/0.577, allocations: 95.86 kB / 0.8256 GB, free: 6.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 8.557e-06/0.577, allocations: 9.031 kB / 0.8256 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.18e-05/0.5771, allocations: 13.16 kB / 0.8257 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002299/0.5773, allocations: 322.2 kB / 0.826 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.643e-05/0.5773, allocations: 2.312 kB / 0.826 GB, free: 6.488 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.918e-05/0.5774, allocations: 16.7 kB / 0.826 GB, free: 6.473 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.385e-05/0.5774, allocations: 27.31 kB / 0.826 GB, free: 6.445 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.5774, allocations: 5.281 kB / 0.826 GB, free: 6.441 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.935e-05/0.5775, allocations: 45.42 kB / 0.8261 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.5775, allocations: 5 kB / 0.8261 GB, free: 6.406 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.5775, allocations: 3.938 kB / 0.8261 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.421e-05/0.5776, allocations: 3.656 kB / 0.8261 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.965e-05/0.5776, allocations: 4.438 kB / 0.8261 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.5776, allocations: 2.938 kB / 0.8261 GB, free: 6.402 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.671e-05/0.5777, allocations: 4.938 kB / 0.8261 GB, free: 6.398 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-06/0.5777, allocations: 6.25 kB / 0.8261 GB, free: 6.395 MB / 0.5606 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 8.972e-05/0.5778, allocations: 114.1 kB / 0.8262 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.703e-05/0.5778, allocations: 0.9062 kB / 0.8262 GB, free: 6.277 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001569/0.578, allocations: 119.5 kB / 0.8263 GB, free: 6.156 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.352e-05/0.578, allocations: 181.5 kB / 0.8265 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.657e-05/0.5781, allocations: 180.3 kB / 0.8267 GB, free: 5.789 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.117e-05/0.5782, allocations: 179.9 kB / 0.8268 GB, free: 5.609 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002775/0.5785, allocations: 410.5 kB / 0.8272 GB, free: 5.156 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.158e-05/0.5786, allocations: 104.9 kB / 0.8273 GB, free: 5.051 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.499e-05/0.5786, allocations: 106 kB / 0.8274 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.335e-05/0.5787, allocations: 177.3 kB / 0.8276 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.807e-05/0.5788, allocations: 185.3 kB / 0.8278 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.682e-05/0.5789, allocations: 184 kB / 0.8279 GB, free: 4.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001281/0.579, allocations: 180.3 kB / 0.8281 GB, free: 4.207 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.5792, allocations: 315.1 kB / 0.8284 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.637e-05/0.5793, allocations: 183.3 kB / 0.8286 GB, free: 3.68 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.264e-05/0.5794, allocations: 186.1 kB / 0.8288 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001567/0.5796, allocations: 103.6 kB / 0.8289 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.7e-05/0.5796, allocations: 184.4 kB / 0.829 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.026e-05/0.5797, allocations: 102.4 kB / 0.8291 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.5798, allocations: 85.23 kB / 0.8292 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5798, allocations: 0 / 0.8292 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003149/0.5801, allocations: 68.47 kB / 0.8293 GB, free: 2.996 MB / 0.5606 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.0003208/0.5804, allocations: 250.3 kB / 0.8295 GB, free: 2.805 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 6.173e-05/0.5805, allocations: 14.62 kB / 0.8295 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.272e-06/0.5805, allocations: 0 / 0.8295 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/0.5805, allocations: 0 / 0.8295 GB, free: 2.797 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004434/0.5809, allocations: 0.5226 MB / 0.83 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002405/0.5812, allocations: 183.6 kB / 0.8302 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003094/0.5815, allocations: 0.6803 MB / 0.8309 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.718e-05/0.5816, allocations: 4.719 kB / 0.8309 GB, free: 1.383 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.598e-05/0.5816, allocations: 10.16 kB / 0.8309 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of SimCode: time 2.2e-07/0.5816, allocations: 0 / 0.8309 GB, free: 1.375 MB / 0.5606 GB Notification: Performance of Templates: time 0.004026/0.5856, allocations: 1.281 MB / 0.8321 GB, free: 0.6914 MB / 0.5606 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)