Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.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.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.671/2.671, allocations: 287.9 MB / 302.9 MB, free: 8.316 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.001407/0.001407, allocations: 186.3 kB / 371.4 MB, free: 10.66 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.077/2.077, allocations: 205.4 MB / 0.6301 GB, free: 10.29 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.001032/0.001031, allocations: 81.05 kB / 0.7434 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004593/0.0004595, allocations: 11 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1531/0.1535, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002064/0.1556, allocations: 1.708 MB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001207/0.1569, allocations: 0.726 MB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001345/0.157, allocations: 4 kB / 0.9811 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.1572, allocations: 31.72 kB / 0.9812 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001124/0.1573, allocations: 31.88 kB / 0.9812 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003498/0.1576, allocations: 103.9 kB / 0.9813 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0002858/0.1579, allocations: 223.6 kB / 0.9815 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.1583, allocations: 191 kB / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001477/0.1584, allocations: 95.62 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001419/0.1586, allocations: 115.4 kB / 0.9819 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.738e-05/0.1586, allocations: 16 kB / 0.9819 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.948e-05/0.1587, allocations: 19.94 kB / 0.9819 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.028e-05/0.1588, allocations: 51.81 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.689e-05/0.1588, allocations: 77.5 kB / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0002837/0.1591, allocations: 291.5 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.562e-06/0.1592, allocations: 0 / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.972e-06/0.1592, allocations: 4 kB / 0.9823 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.898e-06/0.1592, allocations: 0 / 0.9823 GB, free: 24.49 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: 68 * Number of variables: 68 Notification: Performance of Generate backend data structure: time 0.0007012/0.1599, allocations: 0.5104 MB / 0.9828 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1599, allocations: 16.02 kB / 0.9828 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.548e-05/0.16, allocations: 35.58 kB / 0.9829 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000284/0.1603, allocations: 270.5 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.1604, allocations: 28.56 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.235e-05/0.1604, allocations: 31.94 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006505/0.1611, allocations: 307.7 kB / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.47e-05/0.1611, allocations: 0 / 0.9835 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/0.1612, allocations: 12 kB / 0.9835 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.015e-06/0.1612, allocations: 12 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000623/0.1618, allocations: 246 kB / 0.9837 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00155/0.1634, allocations: 0.952 MB / 0.9847 GB, free: 21.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006318/0.1641, allocations: 261 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.965e-05/0.1641, allocations: 4.234 kB / 0.9849 GB, free: 21.67 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003627/0.1645, allocations: 164 kB / 0.9851 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 3.279e-06/0.1645, allocations: 4 kB / 0.9851 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0008339/0.1653, allocations: 329.2 kB / 0.9854 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.254e-05/0.1654, allocations: 59.41 kB / 0.9855 GB, free: 21.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001849/0.1656, allocations: 210 kB / 0.9857 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.792e-05/0.1656, allocations: 41.7 kB / 0.9857 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 8.893e-05/0.1657, allocations: 152.6 kB / 0.9858 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.651e-05/0.1658, allocations: 78.94 kB / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.963e-05/0.1659, allocations: 4 kB / 0.9859 GB, free: 20.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.908e-05/0.1659, allocations: 342.8 kB / 0.9863 GB, free: 20.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.1662, allocations: 95.95 kB / 0.9863 GB, free: 20.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000303/0.1665, allocations: 145.1 kB / 0.9865 GB, free: 20 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002808/0.1668, allocations: 99.73 kB / 0.9866 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.79e-06/0.1669, allocations: 0 / 0.9866 GB, free: 19.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0006848/0.1675, allocations: 312.7 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.98e-05/0.1676, allocations: 4 kB / 0.9869 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.581e-06/0.1676, allocations: 12.09 kB / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1676, allocations: 0 / 0.9869 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.1679, allocations: 47.91 kB / 0.9869 GB, free: 19.53 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.551e-06/0.1679, allocations: 3.938 kB / 0.9869 GB, free: 19.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002518/0.1682, allocations: 51.72 kB / 0.987 GB, free: 19.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.958e-05/0.1682, allocations: 16 kB / 0.987 GB, free: 19.46 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 31 ($PRE.heaCon.offToOn.enableFire,$PRE.heaCon.onToOff.enableFire,$whenCondition2,$whenCondition1,$PRE.heaCon.off.localActive,heaCon.off.localActive,$PRE.heaCon.off.newActive,heaCon.off.newActive,$PRE.heaCon.off.oldActive,heaCon.off.oldActive,heaCon.off.active,$PRE.heaCon.on.localActive,heaCon.on.localActive,$PRE.heaCon.on.newActive,heaCon.on.newActive,$PRE.heaCon.on.oldActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps,heaCon.stateGraphRoot.resume,heaCon.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 0.0001932/0.1684, allocations: 174.3 kB / 0.9872 GB, free: 19.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.341e-05/0.1685, allocations: 23.72 kB / 0.9872 GB, free: 19.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006619/0.1691, allocations: 288.1 kB / 0.9875 GB, free: 18.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.366e-06/0.1692, allocations: 11.92 kB / 0.9875 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.734e-06/0.1692, allocations: 0 / 0.9875 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.262e-06/0.1692, allocations: 3.984 kB / 0.9875 GB, free: 18.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.1705, allocations: 0.7366 MB / 0.9882 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.966e-06/0.1706, allocations: 0 / 0.9882 GB, free: 18.16 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002081/0.1708, allocations: 27.98 kB / 0.9882 GB, free: 18.13 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.272e-06/0.1708, allocations: 7.984 kB / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.57e-05/0.1708, allocations: 0 / 0.9882 GB, free: 18.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.301e-06/0.1709, allocations: 7.938 kB / 0.9882 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.623e-06/0.1709, allocations: 3.953 kB / 0.9883 GB, free: 18.11 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006184/0.1715, allocations: 359.7 kB / 0.9886 GB, free: 17.74 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.633e-05/0.1716, allocations: 100.8 kB / 0.9887 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.941e-05/0.1716, allocations: 7.984 kB / 0.9887 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002844/0.1719, allocations: 39.97 kB / 0.9887 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.1721, allocations: 43.89 kB / 0.9888 GB, free: 17.54 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/0.1721, allocations: 4 kB / 0.9888 GB, free: 17.53 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000109/0.1722, allocations: 144.1 kB / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.42e-07/0.1722, allocations: 0 / 0.9889 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004277/0.1727, allocations: 63.84 kB / 0.989 GB, free: 17.33 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: 21 (heaCon.onToOff.enableFire,heaCon.offToOn.enableFire,heaCon.on.localActive,heaCon.off.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,heaCon.off.newActive,heaCon.off.oldActive,heaCon.off.active,heaCon.on.newActive,heaCon.on.oldActive,heaCon.on.active,heaCon.offToOn.condition,heaCon.offToOn.fire,heaCon.offToOn.t_start,heaCon.onToOff.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.stateGraphRoot.activeSteps) * Number of discrete states: 2 (heaCon.off.newActive,heaCon.on.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (32): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.000154/0.1728, allocations: 121.1 kB / 0.9891 GB, free: 17.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006154/0.1735, allocations: 251.8 kB / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.037e-06/0.1735, allocations: 320 / 0.9893 GB, free: 16.95 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002885/0.1738, allocations: 139.8 kB / 0.9895 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003243/0.1741, allocations: 24.17 kB / 0.9895 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008916/0.175, allocations: 0.5346 MB / 0.99 GB, free: 16.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002058/0.1753, allocations: 0.7683 MB / 0.9908 GB, free: 15.44 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0001549/0.1754, allocations: 30.22 kB / 0.9908 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.962e-05/0.1755, allocations: 27.42 kB / 0.9908 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of SimCode: time 1.905e-06/0.1755, allocations: 4 kB / 0.9908 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of Templates: time 0.007333/0.1829, allocations: 2.559 MB / 0.9933 GB, free: 12.85 MB / 0.6198 GB