Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterProperties") translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.589/1.589, allocations: 287.4 MB / 303.2 MB, free: 8.281 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.001159/0.001159, allocations: 178 kB / 371.8 MB, free: 10.81 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.453/1.453, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0006813/0.0006812, allocations: 93.48 kB / 0.7438 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003529/0.000353, allocations: 11.81 kB / 0.8667 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1583, allocations: 115.3 MB / 0.9793 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.003546/0.1619, allocations: 4.192 MB / 0.9834 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001812/0.1637, allocations: 2.463 MB / 0.9858 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.253e-05/0.1638, allocations: 4 kB / 0.9858 GB, free: 21.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.164, allocations: 31.81 kB / 0.9858 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002059/0.1642, allocations: 95.41 kB / 0.9859 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008536/0.1651, allocations: 384.2 kB / 0.9862 GB, free: 21.01 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002016/0.1653, allocations: 259.9 kB / 0.9865 GB, free: 20.76 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.254e-05/0.1653, allocations: 13.56 kB / 0.9865 GB, free: 20.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001665/0.1655, allocations: 107.6 kB / 0.9866 GB, free: 20.64 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.1656, allocations: 91.66 kB / 0.9867 GB, free: 20.55 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 4.549e-05/0.1657, allocations: 8 kB / 0.9867 GB, free: 20.54 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005062/0.1662, allocations: 247.4 kB / 0.9869 GB, free: 20.3 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.129e-05/0.1663, allocations: 31.89 kB / 0.987 GB, free: 20.27 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.532e-05/0.1663, allocations: 57.58 kB / 0.987 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000277/0.1666, allocations: 215.7 kB / 0.9872 GB, free: 20 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1666, allocations: 0 / 0.9872 GB, free: 20 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.072e-06/0.1666, allocations: 4 kB / 0.9872 GB, free: 19.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.997e-06/0.1666, allocations: 0 / 0.9872 GB, free: 19.99 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0004939/0.1671, allocations: 469.1 kB / 0.9877 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.391e-05/0.1672, allocations: 8.031 kB / 0.9877 GB, free: 19.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/0.1673, allocations: 20.84 kB / 0.9877 GB, free: 19.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.1675, allocations: 212 kB / 0.9879 GB, free: 19.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1675, allocations: 16.69 kB / 0.9879 GB, free: 19.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.1675, allocations: 12.38 kB / 0.9879 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002862/0.1678, allocations: 252.1 kB / 0.9882 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.1678, allocations: 0 / 0.9882 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.1678, allocations: 11.98 kB / 0.9882 GB, free: 18.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.217e-05/0.1679, allocations: 8 kB / 0.9882 GB, free: 18.9 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003428/0.1682, allocations: 423.5 kB / 0.9886 GB, free: 18.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008268/0.1691, allocations: 0.941 MB / 0.9895 GB, free: 17.45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002094/0.1693, allocations: 160.3 kB / 0.9897 GB, free: 17.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.206e-05/0.1694, allocations: 64.88 kB / 0.9897 GB, free: 17.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008407/0.1702, allocations: 1.833 MB / 0.9915 GB, free: 15.03 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.1702, allocations: 34.56 kB / 0.9916 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 1.423e-06/0.1703, allocations: 0 / 0.9916 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0002615/0.1705, allocations: 154.8 kB / 0.9917 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.486e-05/0.1705, allocations: 59.34 kB / 0.9918 GB, free: 14.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.97e-05/0.1706, allocations: 160.9 kB / 0.9919 GB, free: 14.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.501e-05/0.1707, allocations: 29.7 kB / 0.9919 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.622e-05/0.1707, allocations: 139.8 kB / 0.9921 GB, free: 14.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.1708, allocations: 55.28 kB / 0.9921 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.773e-06/0.1708, allocations: 4 kB / 0.9921 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 4.172e-05/0.1708, allocations: 326.8 kB / 0.9924 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.59e-05/0.1709, allocations: 39.97 kB / 0.9925 GB, free: 13.99 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.189e-05/0.171, allocations: 134.2 kB / 0.9926 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001553/0.1711, allocations: 202.9 kB / 0.9928 GB, free: 13.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1711, allocations: 4 kB / 0.9928 GB, free: 13.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002504/0.1714, allocations: 210.1 kB / 0.993 GB, free: 13.35 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.336e-05/0.1714, allocations: 8 kB / 0.993 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.1714, allocations: 4.469 kB / 0.993 GB, free: 13.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.436e-05/0.1714, allocations: 7.938 kB / 0.993 GB, free: 13.33 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001522/0.1716, allocations: 59.86 kB / 0.9931 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/0.1716, allocations: 19.86 kB / 0.9931 GB, free: 13.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001043/0.1717, allocations: 27.69 kB / 0.9931 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.1717, allocations: 12 kB / 0.9931 GB, free: 13.21 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.113e-05/0.1718, allocations: 133.8 kB / 0.9933 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.766e-05/0.1719, allocations: 15.81 kB / 0.9933 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002387/0.1721, allocations: 155.9 kB / 0.9934 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.496e-06/0.1721, allocations: 0 / 0.9934 GB, free: 12.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.1721, allocations: 3.938 kB / 0.9934 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.922e-05/0.1722, allocations: 112.8 kB / 0.9935 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.1722, allocations: 0 / 0.9935 GB, free: 12.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.1724, allocations: 11.98 kB / 0.9936 GB, free: 12.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.796e-05/0.1724, allocations: 11.92 kB / 0.9936 GB, free: 12.74 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001609/0.1726, allocations: 202.7 kB / 0.9938 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0001641/0.1728, allocations: 286.6 kB / 0.994 GB, free: 12.24 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.004e-05/0.1728, allocations: 46.3 kB / 0.9941 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.1729, allocations: 116.2 kB / 0.9942 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of Backend: time 2.71e-07/0.1729, allocations: 0 / 0.9942 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006054/0.1735, allocations: 321.8 kB / 0.9945 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0005754/0.1741, allocations: 0.8724 MB / 0.9954 GB, free: 10.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.006368/0.1805, allocations: 4.415 MB / 0.9997 GB, free: 6.457 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.makefile (rm -f Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; mkfifo Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe >> ../files/Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.sim & ./Buildings_8.0.0_Buildings.Media.Examples.WaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Media.Examples.WaterProperties.pipe 2>&1)