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 4.887/4.887, allocations: 0.5623 GB / 0.5769 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002391/0.002391, allocations: 351.2 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.348/4.348, allocations: 410.7 MB / 1.112 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001779/0.001779, allocations: 179.2 kB / 1.225 GB, free: 36 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007801/0.0007805, allocations: 8.531 kB / 1.348 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1624/0.1632, allocations: 115.3 MB / 1.461 GB, free: 6.621 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002389/0.1657, allocations: 1.72 MB / 1.462 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00118/0.1669, allocations: 0.7181 MB / 1.463 GB, free: 4.156 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001375/0.1671, allocations: 4 kB / 1.463 GB, free: 4.152 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 9.934e-05/0.1672, allocations: 31.67 kB / 1.463 GB, free: 4.121 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001188/0.1673, allocations: 35.7 kB / 1.463 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003641/0.1677, allocations: 95.89 kB / 1.463 GB, free: 3.992 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.168, allocations: 343.2 kB / 1.464 GB, free: 3.656 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002898/0.1683, allocations: 195 kB / 1.464 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001518/0.1685, allocations: 95.61 kB / 1.464 GB, free: 3.375 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001454/0.1686, allocations: 115.5 kB / 1.464 GB, free: 3.262 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 4.007e-05/0.1687, allocations: 12 kB / 1.464 GB, free: 3.25 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.589e-05/0.1688, allocations: 27.92 kB / 1.464 GB, free: 3.223 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.065e-05/0.1689, allocations: 51.7 kB / 1.464 GB, free: 3.172 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 6.497e-05/0.1689, allocations: 73.58 kB / 1.464 GB, free: 3.094 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002903/0.1692, allocations: 295.5 kB / 1.464 GB, free: 2.805 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.642e-06/0.1693, allocations: 0 / 1.464 GB, free: 2.805 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.959e-06/0.1693, allocations: 4 kB / 1.464 GB, free: 2.801 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.336e-06/0.1693, allocations: 0 / 1.464 GB, free: 2.801 MB / 0.6042 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.0007557/0.1701, allocations: 0.5104 MB / 1.465 GB, free: 2.242 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.1701, allocations: 12.03 kB / 1.465 GB, free: 2.23 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.1702, allocations: 35.58 kB / 1.465 GB, free: 2.195 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002966/0.1705, allocations: 266.5 kB / 1.465 GB, free: 1.895 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.1705, allocations: 24.56 kB / 1.465 GB, free: 1.867 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.1706, allocations: 28 kB / 1.465 GB, free: 1.84 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006563/0.1713, allocations: 323.5 kB / 1.466 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.389e-05/0.1713, allocations: 0 / 1.466 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.1714, allocations: 15.98 kB / 1.466 GB, free: 1.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.238e-06/0.1714, allocations: 4 kB / 1.466 GB, free: 1.496 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006805/0.1721, allocations: 246.1 kB / 1.466 GB, free: 1.258 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001979/0.1741, allocations: 0.9441 MB / 1.467 GB, free: 264 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006966/0.1748, allocations: 251.6 kB / 1.467 GB, free: 4 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000313/0.1752, allocations: 125.3 kB / 1.467 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.397e-05/0.1752, allocations: 8.234 kB / 1.467 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004487/0.1757, allocations: 165.7 kB / 1.467 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=30): time 3.874e-06/0.1757, allocations: 0 / 1.467 GB, free: 15.7 MB / 0.6198 GB Notification: Performance of matching and sorting (n=30): time 0.0009937/0.1767, allocations: 338.5 kB / 1.468 GB, free: 15.36 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.751e-05/0.1768, allocations: 55.41 kB / 1.468 GB, free: 15.3 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002742/0.1771, allocations: 204.6 kB / 1.468 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.601e-05/0.1771, allocations: 37.7 kB / 1.468 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.1773, allocations: 156.6 kB / 1.468 GB, free: 14.89 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001064/0.1774, allocations: 86.92 kB / 1.468 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.66e-05/0.1775, allocations: 8 kB / 1.468 GB, free: 14.8 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001955/0.1777, allocations: 338.8 kB / 1.468 GB, free: 14.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003061/0.178, allocations: 95.95 kB / 1.469 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003527/0.1783, allocations: 157 kB / 1.469 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002951/0.1787, allocations: 91.98 kB / 1.469 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.013e-06/0.1787, allocations: 4 kB / 1.469 GB, free: 14.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000811/0.1795, allocations: 307.5 kB / 1.469 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.594e-05/0.1795, allocations: 8 kB / 1.469 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.245e-06/0.1796, allocations: 0 / 1.469 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.1796, allocations: 8.156 kB / 1.469 GB, free: 13.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002663/0.1799, allocations: 43.91 kB / 1.469 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.183e-05/0.1799, allocations: 4 kB / 1.469 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000278/0.1802, allocations: 55.72 kB / 1.469 GB, free: 13.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.513e-05/0.1802, allocations: 15.92 kB / 1.469 GB, free: 13.66 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.0002679/0.1805, allocations: 185.6 kB / 1.469 GB, free: 13.47 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.388e-05/0.1806, allocations: 23.66 kB / 1.469 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001112/0.1817, allocations: 288.7 kB / 1.47 GB, free: 13.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.1818, allocations: 4 kB / 1.47 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.098e-05/0.1818, allocations: 3.984 kB / 1.47 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.1818, allocations: 0 / 1.47 GB, free: 13.15 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002567/0.1844, allocations: 0.7327 MB / 1.47 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.212e-06/0.1845, allocations: 4 kB / 1.47 GB, free: 12.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003862/0.1849, allocations: 31.91 kB / 1.47 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.1849, allocations: 0 / 1.47 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.185, allocations: 8 kB / 1.47 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.112e-06/0.185, allocations: 0 / 1.47 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/0.185, allocations: 3.953 kB / 1.47 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001267/0.1863, allocations: 367.7 kB / 1.471 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.1865, allocations: 104.7 kB / 1.471 GB, free: 11.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.843e-05/0.1866, allocations: 4 kB / 1.471 GB, free: 11.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004614/0.187, allocations: 39.97 kB / 1.471 GB, free: 11.77 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001974/0.1873, allocations: 39.89 kB / 1.471 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.904e-05/0.1873, allocations: 8 kB / 1.471 GB, free: 11.73 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002412/0.1876, allocations: 136.6 kB / 1.471 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of sort global known variables: time 9.85e-07/0.1876, allocations: 0 / 1.471 GB, free: 11.59 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0008265/0.1885, allocations: 63.84 kB / 1.471 GB, free: 11.53 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.0003408/0.1888, allocations: 129 kB / 1.471 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001235/0.1901, allocations: 247.8 kB / 1.472 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 4.411e-06/0.1901, allocations: 0 / 1.472 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0005442/0.1907, allocations: 132.1 kB / 1.472 GB, free: 11.02 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008479/0.1915, allocations: 40.16 kB / 1.472 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001817/0.1934, allocations: 0.5345 MB / 1.472 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007057/0.1941, allocations: 0.7722 MB / 1.473 GB, free: 9.629 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003029/0.1944, allocations: 26.27 kB / 1.473 GB, free: 9.602 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001733/0.1946, allocations: 23.44 kB / 1.473 GB, free: 9.578 MB / 0.6198 GB Notification: Performance of SimCode: time 2.609e-06/0.1947, allocations: 4 kB / 1.473 GB, free: 9.574 MB / 0.6198 GB Notification: Performance of Templates: time 0.01003/0.2047, allocations: 2.567 MB / 1.476 GB, free: 7.031 MB / 0.6198 GB