Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.181/2.181, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002221/0.002221, allocations: 172.6 kB / 325.6 MB, free: 2.84 MB / 250.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.5766 GB, free: 21.12 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00116/0.00116, allocations: 98.28 kB / 0.6811 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004734/0.0004735, allocations: 18.31 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2087/0.2092, allocations: 106.2 MB / 0.8989 GB, free: 65.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3019/0.5111, allocations: 134.5 MB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004724/0.5117, allocations: 95.92 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02778/0.5395, allocations: 4.713 MB / 1.035 GB, free: 6.461 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.266e-06/0.5395, allocations: 3.938 kB / 1.035 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.003e-05/0.5396, allocations: 4 kB / 1.035 GB, free: 6.453 MB / 0.6823 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.001498/0.5411, allocations: 0.5162 MB / 1.035 GB, free: 5.879 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.434e-05/0.5412, allocations: 12.03 kB / 1.035 GB, free: 5.867 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001453/0.5413, allocations: 31.62 kB / 1.035 GB, free: 5.836 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006045/0.5419, allocations: 274.6 kB / 1.036 GB, free: 5.527 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.815e-05/0.5421, allocations: 24.56 kB / 1.036 GB, free: 5.504 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001161/0.5422, allocations: 32 kB / 1.036 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001254/0.5435, allocations: 307.7 kB / 1.036 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.154e-05/0.5435, allocations: 0 / 1.036 GB, free: 5.16 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.471e-05/0.5436, allocations: 23.94 kB / 1.036 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.51e-05/0.5437, allocations: 8 kB / 1.036 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.5449, allocations: 238.1 kB / 1.036 GB, free: 4.898 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003409/0.5483, allocations: 0.956 MB / 1.037 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001213/0.5496, allocations: 254.1 kB / 1.038 GB, free: 3.625 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.449e-05/0.5497, allocations: 12.22 kB / 1.038 GB, free: 3.613 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000629/0.5503, allocations: 156 kB / 1.038 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=30): time 4.088e-06/0.5503, allocations: 0 / 1.038 GB, free: 3.449 MB / 0.6823 GB Notification: Performance of matching and sorting (n=30): time 0.001693/0.552, allocations: 349.2 kB / 1.038 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.569e-05/0.5521, allocations: 59.39 kB / 1.038 GB, free: 3.031 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.5525, allocations: 181.4 kB / 1.038 GB, free: 2.844 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 8.398e-05/0.5526, allocations: 41.7 kB / 1.038 GB, free: 2.797 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001808/0.5528, allocations: 148.6 kB / 1.038 GB, free: 2.648 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/0.553, allocations: 78.98 kB / 1.038 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.072e-05/0.553, allocations: 4 kB / 1.038 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001848/0.5532, allocations: 342.8 kB / 1.039 GB, free: 2.223 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005162/0.5538, allocations: 91.95 kB / 1.039 GB, free: 2.133 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/0.5544, allocations: 146.8 kB / 1.039 GB, free: 1.973 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.555, allocations: 103.7 kB / 1.039 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.555, allocations: 0 / 1.039 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.00137/0.5564, allocations: 308.7 kB / 1.039 GB, free: 1.562 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.531e-05/0.5564, allocations: 4 kB / 1.039 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.5564, allocations: 4 kB / 1.039 GB, free: 1.555 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.599e-05/0.5565, allocations: 4 kB / 1.039 GB, free: 1.551 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/0.5569, allocations: 43.91 kB / 1.039 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.791e-05/0.557, allocations: 8.047 kB / 1.039 GB, free: 1.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005534/0.5576, allocations: 59.8 kB / 1.04 GB, free: 1.441 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-05/0.5576, allocations: 8 kB / 1.04 GB, free: 1.434 MB / 0.6823 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.enableFire,heaCon.offToOn.fire,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.enableFire,heaCon.onToOff.fire,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.t_start,heaCon.onToOff.condition,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.0003927/0.5581, allocations: 175 kB / 1.04 GB, free: 1.254 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.498e-05/0.5582, allocations: 23.7 kB / 1.04 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.5595, allocations: 288.1 kB / 1.04 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.5596, allocations: 4 kB / 1.04 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5596, allocations: 0 / 1.04 GB, free: 0.9414 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.779e-05/0.5596, allocations: 3.953 kB / 1.04 GB, free: 0.9375 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002504/0.5621, allocations: 0.7259 MB / 1.041 GB, free: 160 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.922e-06/0.5622, allocations: 0 / 1.041 GB, free: 160 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004018/0.5626, allocations: 39.92 kB / 1.041 GB, free: 120 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.077e-06/0.5626, allocations: 0 / 1.041 GB, free: 120 kB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.051e-05/0.5627, allocations: 11.94 kB / 1.041 GB, free: 108 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.5627, allocations: 0 / 1.041 GB, free: 108 kB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.5627, allocations: 0 / 1.041 GB, free: 108 kB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/0.5639, allocations: 359.2 kB / 1.041 GB, free: 15.74 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.564, allocations: 100.8 kB / 1.041 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.773e-05/0.5641, allocations: 8 kB / 1.041 GB, free: 15.61 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005463/0.5647, allocations: 39.91 kB / 1.041 GB, free: 15.57 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001948/0.5649, allocations: 43.89 kB / 1.041 GB, free: 15.53 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.825e-05/0.565, allocations: 11.98 kB / 1.041 GB, free: 15.52 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002208/0.5652, allocations: 136.2 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.02e-07/0.5652, allocations: 0 / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007709/0.566, allocations: 60 kB / 1.042 GB, free: 15.33 MB / 0.698 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.offToOn.enableFire,heaCon.onToOff.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.fire,heaCon.offToOn.t_start,heaCon.offToOn.condition,heaCon.onToOff.fire,heaCon.onToOff.t_start,heaCon.onToOff.condition,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.0002722/0.5663, allocations: 121 kB / 1.042 GB, free: 15.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001212/0.5675, allocations: 255.5 kB / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.5676, allocations: 0 / 1.042 GB, free: 14.95 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006169/0.5682, allocations: 144.3 kB / 1.042 GB, free: 14.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.5688, allocations: 32.42 kB / 1.042 GB, free: 14.78 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001749/0.5706, allocations: 0.5319 MB / 1.043 GB, free: 14.22 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000611/0.5712, allocations: 0.7644 MB / 1.043 GB, free: 13.42 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003273/0.5716, allocations: 30.28 kB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000196/0.5718, allocations: 27.42 kB / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/0.5718, allocations: 0 / 1.043 GB, free: 13.37 MB / 0.698 GB Notification: Performance of Templates: time 0.01326/0.5851, allocations: 2.553 MB / 1.046 GB, free: 10.85 MB / 0.698 GB