Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Media.Examples.WaterProperties.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Media.Examples.WaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Media.Examples.WaterProperties") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.646/2.646, allocations: 287.9 MB / 302.9 MB, free: 8.27 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001434/0.001434, allocations: 180.5 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.406/2.406, allocations: 205.4 MB / 0.6301 GB, free: 10.35 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001524/0.001524, allocations: 102.3 kB / 0.7434 GB, free: 6.328 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004575/0.0004581, allocations: 9.625 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1527/0.1532, allocations: 115.2 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.WaterProperties): time 0.004259/0.1575, allocations: 3.935 MB / 0.9826 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002425/0.16, allocations: 2.152 MB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001216/0.1601, allocations: 0 / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002198/0.1604, allocations: 31.81 kB / 0.9847 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002103/0.1606, allocations: 83.69 kB / 0.9848 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001123/0.1617, allocations: 410 kB / 0.9852 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001696/0.1619, allocations: 148.7 kB / 0.9853 GB, free: 21.45 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.755e-05/0.162, allocations: 17.53 kB / 0.9853 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001878/0.1622, allocations: 95.69 kB / 0.9854 GB, free: 21.34 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.1623, allocations: 75.69 kB / 0.9855 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.569e-05/0.1624, allocations: 4 kB / 0.9855 GB, free: 21.26 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007098/0.1631, allocations: 279.6 kB / 0.9858 GB, free: 20.98 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.498e-05/0.1631, allocations: 35.89 kB / 0.9858 GB, free: 20.95 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 4.139e-05/0.1632, allocations: 53.64 kB / 0.9859 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003782/0.1636, allocations: 215.7 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.808e-06/0.1636, allocations: 3.938 kB / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.081e-06/0.1636, allocations: 0 / 0.9861 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.823e-06/0.1636, allocations: 0 / 0.9861 GB, free: 20.68 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.0005986/0.1642, allocations: 467.1 kB / 0.9865 GB, free: 20.17 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.1643, allocations: 16.02 kB / 0.9865 GB, free: 20.15 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001825/0.1645, allocations: 19.86 kB / 0.9865 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001845/0.1647, allocations: 214.7 kB / 0.9867 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.1647, allocations: 16.33 kB / 0.9868 GB, free: 19.87 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.1647, allocations: 16 kB / 0.9868 GB, free: 19.85 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004068/0.1652, allocations: 243.9 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.208e-05/0.1652, allocations: 3.938 kB / 0.987 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.893e-05/0.1652, allocations: 12 kB / 0.987 GB, free: 19.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.84e-05/0.1653, allocations: 11.95 kB / 0.987 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004993/0.1658, allocations: 423.5 kB / 0.9874 GB, free: 19.15 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001086/0.1669, allocations: 0.98 MB / 0.9884 GB, free: 18.08 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003816/0.1673, allocations: 157 kB / 0.9885 GB, free: 17.92 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001122/0.1684, allocations: 1.837 MB / 0.9903 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.1685, allocations: 46.55 kB / 0.9904 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=15): time 2.632e-06/0.1685, allocations: 0 / 0.9904 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=15): time 0.0003584/0.1689, allocations: 141.4 kB / 0.9905 GB, free: 15.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.61e-05/0.1689, allocations: 59.34 kB / 0.9906 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.169, allocations: 159.3 kB / 0.9907 GB, free: 15.29 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.1691, allocations: 29.7 kB / 0.9908 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.403e-05/0.1692, allocations: 143.8 kB / 0.9909 GB, free: 15.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.672e-05/0.1692, allocations: 55.19 kB / 0.9909 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.059e-05/0.1692, allocations: 4 kB / 0.9909 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.94e-05/0.1693, allocations: 330.8 kB / 0.9913 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.989e-05/0.1694, allocations: 35.97 kB / 0.9913 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001229/0.1695, allocations: 134.2 kB / 0.9914 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.1696, allocations: 62.59 kB / 0.9915 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.1697, allocations: 0 / 0.9915 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003791/0.17, allocations: 217.4 kB / 0.9917 GB, free: 14.23 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.753e-05/0.1701, allocations: 8 kB / 0.9917 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.105e-06/0.1701, allocations: 4 kB / 0.9917 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.1701, allocations: 4 kB / 0.9917 GB, free: 14.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002369/0.1704, allocations: 67.84 kB / 0.9918 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.901e-06/0.1704, allocations: 4 kB / 0.9918 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.1706, allocations: 23.69 kB / 0.9918 GB, free: 14.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.493e-05/0.1706, allocations: 16 kB / 0.9918 GB, free: 14.1 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 0.0001016/0.1707, allocations: 133.9 kB / 0.9919 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.896e-05/0.1708, allocations: 15.86 kB / 0.992 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003426/0.1711, allocations: 162.8 kB / 0.9921 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/0.1712, allocations: 0 / 0.9921 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.345e-06/0.1712, allocations: 0 / 0.9921 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.1712, allocations: 0 / 0.9921 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002535/0.1714, allocations: 221.4 kB / 0.9923 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.802e-06/0.1715, allocations: 4 kB / 0.9923 GB, free: 13.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001409/0.1716, allocations: 27.98 kB / 0.9924 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.604e-06/0.1716, allocations: 7.953 kB / 0.9924 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.344e-05/0.1717, allocations: 4 kB / 0.9924 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.792e-06/0.1717, allocations: 0 / 0.9924 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.758e-06/0.1717, allocations: 3.984 kB / 0.9924 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002496/0.1719, allocations: 216.8 kB / 0.9926 GB, free: 13.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.252e-05/0.172, allocations: 124.8 kB / 0.9927 GB, free: 13.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.944e-05/0.1721, allocations: 3.953 kB / 0.9927 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002323/0.1723, allocations: 12 kB / 0.9927 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.378e-05/0.1724, allocations: 11.98 kB / 0.9927 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.798e-05/0.1724, allocations: 15.98 kB / 0.9927 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.239e-05/0.1725, allocations: 116 kB / 0.9928 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.8e-07/0.1725, allocations: 0 / 0.9928 GB, free: 12.94 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005075/0.173, allocations: 79.92 kB / 0.9929 GB, free: 12.86 MB / 0.6198 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 (15): * Single equations (assignments): 14 * 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 Backend phase and start with SimCode phase: time 0.0002554/0.1733, allocations: 170.3 kB / 0.9931 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002687/0.1736, allocations: 110 kB / 0.9932 GB, free: 12.59 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.1736, allocations: 4 kB / 0.9932 GB, free: 12.58 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.918e-05/0.1737, allocations: 47.86 kB / 0.9932 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004587/0.1741, allocations: 54.06 kB / 0.9933 GB, free: 12.48 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007051/0.1749, allocations: 415.4 kB / 0.9937 GB, free: 12.05 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001652/0.1751, allocations: 0.7249 MB / 0.9944 GB, free: 11.3 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002475/0.1753, allocations: 45.77 kB / 0.9944 GB, free: 11.26 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.891e-05/0.1754, allocations: 27.42 kB / 0.9945 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of SimCode: time 1.511e-06/0.1754, allocations: 4 kB / 0.9945 GB, free: 11.23 MB / 0.6198 GB Notification: Performance of Templates: time 0.007659/0.1831, allocations: 3.114 MB / 0.9975 GB, free: 8.148 MB / 0.6198 GB