Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009865/0.0009864, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007821/0.007821, allocations: 170.4 kB / 16.26 MB, free: 6.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.4 MB / 222.5 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.537/1.537, allocations: 252 MB / 0.5105 GB, free: 4.672 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008477/0.0008478, allocations: 16.38 kB / 0.6249 GB, free: 0.7266 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5623/0.5631, allocations: 106.3 MB / 0.7287 GB, free: 11.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion): time 0.004029/0.5672, allocations: 3.007 MB / 0.7317 GB, free: 8.25 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 9.877e-05/0.5673, allocations: 47.81 kB / 0.7317 GB, free: 8.203 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.906e-05/0.5674, allocations: 0 / 0.7317 GB, free: 8.203 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001088/0.5675, allocations: 11.92 kB / 0.7317 GB, free: 8.191 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.881e-05/0.5676, allocations: 3.984 kB / 0.7317 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005792/0.5682, allocations: 163.4 kB / 0.7319 GB, free: 8.027 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.998e-05/0.5683, allocations: 59.81 kB / 0.7319 GB, free: 7.969 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.484e-05/0.5683, allocations: 7.984 kB / 0.7319 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.174e-05/0.5684, allocations: 8 kB / 0.7319 GB, free: 7.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 7.56e-05/0.5685, allocations: 19.91 kB / 0.732 GB, free: 7.934 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.5685, allocations: 4 kB / 0.732 GB, free: 7.93 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003494/0.5688, allocations: 167.5 kB / 0.7321 GB, free: 7.766 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.276e-05/0.5689, allocations: 7.984 kB / 0.7321 GB, free: 7.758 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.704e-05/0.5689, allocations: 33.69 kB / 0.7322 GB, free: 7.719 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002506/0.5692, allocations: 137.7 kB / 0.7323 GB, free: 7.586 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.5692, allocations: 0 / 0.7323 GB, free: 7.586 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.873e-06/0.5692, allocations: 0 / 0.7323 GB, free: 7.586 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.5692, allocations: 0 / 0.7323 GB, free: 7.586 MB / 0.545 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.0004085/0.5696, allocations: 343.5 kB / 0.7326 GB, free: 7.203 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.547e-05/0.5697, allocations: 12.03 kB / 0.7326 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.591e-05/0.5697, allocations: 0.9375 kB / 0.7326 GB, free: 7.191 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001068/0.5698, allocations: 164.4 kB / 0.7328 GB, free: 6.992 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.59e-05/0.5699, allocations: 34.25 kB / 0.7328 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.5699, allocations: 384 / 0.7328 GB, free: 6.953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001349/0.5701, allocations: 45.62 kB / 0.7329 GB, free: 6.902 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.155e-06/0.5701, allocations: 3.938 kB / 0.7329 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.354e-05/0.5701, allocations: 0 / 0.7329 GB, free: 6.898 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.835e-05/0.5701, allocations: 7.938 kB / 0.7329 GB, free: 6.891 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.659e-05/0.5702, allocations: 15.98 kB / 0.7329 GB, free: 6.875 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006162/0.5708, allocations: 0.5833 MB / 0.7335 GB, free: 6.168 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.186e-05/0.5709, allocations: 18.58 kB / 0.7335 GB, free: 6.141 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.527e-05/0.5709, allocations: 4.859 kB / 0.7335 GB, free: 6.133 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002274/0.5711, allocations: 348.5 kB / 0.7338 GB, free: 5.719 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.276e-05/0.5711, allocations: 34.5 kB / 0.7339 GB, free: 5.676 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.764e-06/0.5712, allocations: 4 kB / 0.7339 GB, free: 5.672 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001461/0.5713, allocations: 41.59 kB / 0.7339 GB, free: 5.625 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.396e-05/0.5713, allocations: 51.41 kB / 0.7339 GB, free: 5.562 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.316e-05/0.5714, allocations: 101.8 kB / 0.734 GB, free: 5.453 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.5715, allocations: 25.7 kB / 0.7341 GB, free: 5.422 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.518e-05/0.5715, allocations: 92.05 kB / 0.7342 GB, free: 5.328 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.219e-06/0.5715, allocations: 3.938 kB / 0.7342 GB, free: 5.324 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.352e-05/0.5716, allocations: 9.719 kB / 0.7342 GB, free: 5.309 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.775e-05/0.5717, allocations: 318.9 kB / 0.7345 GB, free: 4.988 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.492e-05/0.5717, allocations: 7.984 kB / 0.7345 GB, free: 4.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.375e-05/0.5717, allocations: 21.66 kB / 0.7345 GB, free: 4.953 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.5717, allocations: 21.72 kB / 0.7345 GB, free: 4.926 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.5718, allocations: 0 / 0.7345 GB, free: 4.926 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.032e-05/0.5718, allocations: 45.62 kB / 0.7346 GB, free: 4.875 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.5719, allocations: 9.781 kB / 0.7346 GB, free: 4.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.5719, allocations: 4 kB / 0.7346 GB, free: 4.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.5719, allocations: 4 kB / 0.7346 GB, free: 4.859 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.645e-05/0.5719, allocations: 4 kB / 0.7346 GB, free: 4.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.572, allocations: 3.984 kB / 0.7346 GB, free: 4.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.858e-05/0.572, allocations: 4 kB / 0.7346 GB, free: 4.848 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.572, allocations: 4 kB / 0.7346 GB, free: 4.844 MB / 0.545 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.741e-05/0.5721, allocations: 109.8 kB / 0.7347 GB, free: 4.727 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.882e-05/0.5721, allocations: 7.906 kB / 0.7347 GB, free: 4.719 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.5722, allocations: 124.8 kB / 0.7348 GB, free: 4.586 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.318e-05/0.5723, allocations: 184.3 kB / 0.735 GB, free: 4.398 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.697e-05/0.5723, allocations: 180.2 kB / 0.7352 GB, free: 4.215 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.713e-05/0.5724, allocations: 176.3 kB / 0.7353 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002232/0.5726, allocations: 413.4 kB / 0.7357 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/0.5727, allocations: 104.9 kB / 0.7358 GB, free: 3.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.458e-05/0.5727, allocations: 101 kB / 0.7359 GB, free: 3.359 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.803e-05/0.5728, allocations: 188.2 kB / 0.7361 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.503e-05/0.5728, allocations: 180.3 kB / 0.7363 GB, free: 2.984 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.449e-05/0.5729, allocations: 176.3 kB / 0.7365 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.544e-05/0.573, allocations: 188.2 kB / 0.7366 GB, free: 2.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.5731, allocations: 311.7 kB / 0.7369 GB, free: 2.285 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.633e-05/0.5732, allocations: 186.1 kB / 0.7371 GB, free: 2.078 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.341e-05/0.5733, allocations: 176.3 kB / 0.7373 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.5734, allocations: 117.2 kB / 0.7374 GB, free: 1.777 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.475e-05/0.5735, allocations: 176.3 kB / 0.7376 GB, free: 1.598 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/0.5735, allocations: 113 kB / 0.7377 GB, free: 1.48 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.891e-05/0.5736, allocations: 87.27 kB / 0.7377 GB, free: 1.395 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.71e-07/0.5736, allocations: 0 / 0.7377 GB, free: 1.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002804/0.5739, allocations: 35.94 kB / 0.7378 GB, free: 1.359 MB / 0.545 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.0002738/0.5742, allocations: 241.6 kB / 0.738 GB, free: 1.113 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.498e-05/0.5742, allocations: 11.98 kB / 0.738 GB, free: 1.102 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5742, allocations: 0 / 0.738 GB, free: 1.102 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.213e-06/0.5742, allocations: 128 / 0.738 GB, free: 1.102 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/0.5747, allocations: 0.534 MB / 0.7385 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.575, allocations: 191.8 kB / 0.7387 GB, free: 356 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002302/0.5752, allocations: 0.6769 MB / 0.7394 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.011e-05/0.5752, allocations: 8 kB / 0.7394 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.654e-05/0.5753, allocations: 11.44 kB / 0.7394 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.5753, allocations: 0 / 0.7394 GB, free: 15.62 MB / 0.5606 GB Notification: Performance of Templates: time 0.003523/0.5788, allocations: 1.138 MB / 0.7405 GB, free: 14.54 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.sim & ./Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: