Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.676/1.676, allocations: 288.4 MB / 304.3 MB, free: 7.988 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001232/0.001232, allocations: 181.7 kB / 372.9 MB, free: 10.1 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.275/1.275, allocations: 205.4 MB / 0.6316 GB, free: 9.887 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007254/0.0007255, allocations: 88.7 kB / 0.745 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 14.48 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1612/0.1615, allocations: 115.3 MB / 0.9807 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003057/0.1646, allocations: 3.556 MB / 0.9842 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001279/0.1648, allocations: 151.6 kB / 0.9843 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.941e-05/0.1648, allocations: 0 / 0.9843 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 7.948e-05/0.1649, allocations: 4 kB / 0.9843 GB, free: 23.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.936e-05/0.165, allocations: 11.91 kB / 0.9844 GB, free: 23.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1652, allocations: 65.91 kB / 0.9844 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.624e-05/0.1653, allocations: 51.88 kB / 0.9845 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.875e-05/0.1653, allocations: 0 / 0.9845 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.209e-05/0.1653, allocations: 11.94 kB / 0.9845 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 6.397e-05/0.1654, allocations: 15.97 kB / 0.9845 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1654, allocations: 3.938 kB / 0.9845 GB, free: 23.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001608/0.1656, allocations: 67.8 kB / 0.9846 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.83e-05/0.1656, allocations: 7.984 kB / 0.9846 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.695e-05/0.1657, allocations: 37.62 kB / 0.9846 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.177e-05/0.1658, allocations: 28.25 kB / 0.9846 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1658, allocations: 0 / 0.9846 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.043e-06/0.1658, allocations: 4 kB / 0.9846 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.1658, allocations: 0 / 0.9846 GB, free: 23.29 MB / 0.6198 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.0002773/0.1661, allocations: 327.5 kB / 0.9849 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.781e-05/0.1661, allocations: 12.03 kB / 0.985 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.132e-05/0.1662, allocations: 4.844 kB / 0.985 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.938e-05/0.1662, allocations: 160.4 kB / 0.9851 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.618e-05/0.1663, allocations: 30.27 kB / 0.9851 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.063e-05/0.1663, allocations: 384 / 0.9851 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.1664, allocations: 57.55 kB / 0.9852 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.1665, allocations: 0 / 0.9852 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.1665, allocations: 0 / 0.9852 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.1665, allocations: 7.938 kB / 0.9852 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.004e-05/0.1665, allocations: 15.98 kB / 0.9852 GB, free: 22.59 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.1669, allocations: 330 kB / 0.9855 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.452e-05/0.1669, allocations: 22.52 kB / 0.9856 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.3e-05/0.1669, allocations: 20.91 kB / 0.9856 GB, free: 22.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 6.16e-05/0.167, allocations: 89.08 kB / 0.9857 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.167, allocations: 30.56 kB / 0.9857 GB, free: 22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.202e-06/0.167, allocations: 0 / 0.9857 GB, free: 22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001139/0.1672, allocations: 37.69 kB / 0.9857 GB, free: 21.96 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.494e-05/0.1672, allocations: 55.41 kB / 0.9858 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.188e-05/0.1672, allocations: 101.9 kB / 0.9859 GB, free: 21.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.604e-06/0.1673, allocations: 25.7 kB / 0.9859 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.515e-05/0.1673, allocations: 96.03 kB / 0.986 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.1673, allocations: 3.906 kB / 0.986 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.1673, allocations: 3.938 kB / 0.986 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.329e-05/0.1674, allocations: 314.8 kB / 0.9863 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.209e-05/0.1674, allocations: 4 kB / 0.9863 GB, free: 21.33 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.777e-05/0.1674, allocations: 17.72 kB / 0.9863 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.498e-05/0.1674, allocations: 21.7 kB / 0.9863 GB, free: 21.28 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.1674, allocations: 4 kB / 0.9863 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.776e-05/0.1675, allocations: 49.62 kB / 0.9864 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1675, allocations: 4 kB / 0.9864 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1675, allocations: 0 / 0.9864 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.828e-06/0.1675, allocations: 0 / 0.9864 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.882e-05/0.1676, allocations: 8 kB / 0.9864 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.1676, allocations: 8 kB / 0.9864 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.683e-05/0.1676, allocations: 0 / 0.9864 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.366e-06/0.1676, allocations: 4 kB / 0.9864 GB, free: 21.2 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.107e-05/0.1677, allocations: 113.8 kB / 0.9865 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.237e-05/0.1677, allocations: 0 / 0.9865 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.134e-05/0.1678, allocations: 120.9 kB / 0.9866 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.031e-05/0.1678, allocations: 180.3 kB / 0.9868 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.196e-05/0.1679, allocations: 112.9 kB / 0.9869 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.41e-05/0.1679, allocations: 186 kB / 0.9871 GB, free: 20.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.441e-05/0.1679, allocations: 176.3 kB / 0.9873 GB, free: 20.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001202/0.1681, allocations: 116.8 kB / 0.9874 GB, free: 20.14 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.678e-05/0.1681, allocations: 184.2 kB / 0.9876 GB, free: 19.95 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 3.521e-05/0.1681, allocations: 263.5 kB / 0.9878 GB, free: 19.68 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 7.657e-05/0.1682, allocations: 379 kB / 0.9882 GB, free: 19.29 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.807e-05/0.1682, allocations: 105 kB / 0.9883 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.569e-05/0.1683, allocations: 83.28 kB / 0.9883 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of Backend: time 3.91e-07/0.1683, allocations: 0 / 0.9883 GB, free: 19.1 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003826/0.1687, allocations: 119.3 kB / 0.9885 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0003066/0.169, allocations: 0.9396 MB / 0.9894 GB, free: 17.98 MB / 0.6198 GB Notification: Performance of Templates: time 0.002026/0.171, allocations: 491.8 kB / 0.9898 GB, free: 17.5 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.makefile (rm -f Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)