Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001275/0.001274, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 195.9 kB / 16.14 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.423/1.423, allocations: 205.1 MB / 222 MB, free: 4.762 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.531/1.531, allocations: 251.7 MB / 0.5088 GB, free: 3.32 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 63.91 kB / 0.6216 GB, free: 1.965 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5487/0.55, allocations: 104.7 MB / 0.7238 GB, free: 13.28 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.004161/0.5542, allocations: 2.124 MB / 0.7259 GB, free: 11.14 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.5558, allocations: 0.7641 MB / 0.7266 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001514/0.556, allocations: 7.938 kB / 0.7266 GB, free: 10.36 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.5561, allocations: 19.8 kB / 0.7267 GB, free: 10.34 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001121/0.5562, allocations: 31.77 kB / 0.7267 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003779/0.5566, allocations: 135.8 kB / 0.7268 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003641/0.557, allocations: 367.2 kB / 0.7272 GB, free: 9.812 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002911/0.5573, allocations: 228.5 kB / 0.7274 GB, free: 9.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000142/0.5574, allocations: 107.6 kB / 0.7275 GB, free: 9.484 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000181/0.5576, allocations: 143.3 kB / 0.7276 GB, free: 9.344 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.095e-05/0.5577, allocations: 20 kB / 0.7276 GB, free: 9.324 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.836e-05/0.5578, allocations: 31.98 kB / 0.7277 GB, free: 9.293 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.546e-05/0.5579, allocations: 67.77 kB / 0.7277 GB, free: 9.227 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001323/0.558, allocations: 127.3 kB / 0.7279 GB, free: 9.102 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0003734/0.5584, allocations: 380.9 kB / 0.7282 GB, free: 8.73 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5e-06/0.5584, allocations: 0 / 0.7282 GB, free: 8.73 MB / 0.545 GB Notification: Performance of FrontEnd: time 8.81e-07/0.5584, allocations: 0 / 0.7282 GB, free: 8.73 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.971e-06/0.5584, allocations: 0 / 0.7282 GB, free: 8.73 MB / 0.545 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.0008758/0.5593, allocations: 0.569 MB / 0.7288 GB, free: 8.113 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.5593, allocations: 12.03 kB / 0.7288 GB, free: 8.102 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.898e-05/0.5594, allocations: 32.56 kB / 0.7288 GB, free: 8.07 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002951/0.5597, allocations: 268.6 kB / 0.7291 GB, free: 7.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.5598, allocations: 24.94 kB / 0.7291 GB, free: 7.746 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.838e-05/0.5598, allocations: 32.38 kB / 0.7291 GB, free: 7.715 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005349/0.5604, allocations: 323.8 kB / 0.7294 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.5604, allocations: 0 / 0.7294 GB, free: 7.387 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.93e-05/0.5604, allocations: 12 kB / 0.7295 GB, free: 7.375 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.5604, allocations: 8 kB / 0.7295 GB, free: 7.367 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004583/0.5609, allocations: 230.1 kB / 0.7297 GB, free: 7.145 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001294/0.5622, allocations: 0.944 MB / 0.7306 GB, free: 6.145 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004557/0.5627, allocations: 239.6 kB / 0.7308 GB, free: 5.902 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001955/0.5629, allocations: 122.6 kB / 0.7309 GB, free: 5.781 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.5629, allocations: 8.219 kB / 0.731 GB, free: 5.773 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003405/0.5633, allocations: 164.7 kB / 0.7311 GB, free: 5.602 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.663e-06/0.5633, allocations: 4 kB / 0.7311 GB, free: 5.598 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.0006692/0.5639, allocations: 321.3 kB / 0.7314 GB, free: 5.277 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.564, allocations: 59.41 kB / 0.7315 GB, free: 5.207 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.5642, allocations: 203.7 kB / 0.7317 GB, free: 5 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.608e-05/0.5642, allocations: 37.7 kB / 0.7317 GB, free: 4.957 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.5643, allocations: 152.6 kB / 0.7319 GB, free: 4.805 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.393e-05/0.5644, allocations: 82.98 kB / 0.7319 GB, free: 4.723 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001049/0.5645, allocations: 81.67 kB / 0.732 GB, free: 4.637 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001205/0.5646, allocations: 334.8 kB / 0.7323 GB, free: 4.301 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001897/0.5648, allocations: 95.95 kB / 0.7324 GB, free: 4.207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002128/0.565, allocations: 145 kB / 0.7326 GB, free: 4.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.5654, allocations: 216.8 kB / 0.7328 GB, free: 3.816 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.5654, allocations: 0 / 0.7328 GB, free: 3.816 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004986/0.5659, allocations: 308.6 kB / 0.7331 GB, free: 3.508 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.5659, allocations: 4 kB / 0.7331 GB, free: 3.504 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.465e-06/0.566, allocations: 4 kB / 0.7331 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.566, allocations: 0 / 0.7331 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001986/0.5662, allocations: 43.91 kB / 0.7331 GB, free: 3.457 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.5662, allocations: 4 kB / 0.7331 GB, free: 3.453 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002026/0.5664, allocations: 51.81 kB / 0.7332 GB, free: 3.402 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.164e-05/0.5664, allocations: 12 kB / 0.7332 GB, free: 3.391 MB / 0.545 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,heaCon.stateGraphRoot.activeSteps,heaCon.onToOff.t_start,$PRE.heaCon.onToOff.t_start,heaCon.onToOff.fire,heaCon.onToOff.enableFire,heaCon.onToOff.condition,heaCon.offToOn.t_start,$PRE.heaCon.offToOn.t_start,heaCon.offToOn.fire,heaCon.offToOn.enableFire,heaCon.offToOn.condition,heaCon.on.active,heaCon.on.oldActive,$PRE.heaCon.on.oldActive,heaCon.on.newActive,$PRE.heaCon.on.newActive,heaCon.on.localActive,$PRE.heaCon.on.localActive,heaCon.off.active,heaCon.off.oldActive,$PRE.heaCon.off.oldActive,heaCon.off.newActive,$PRE.heaCon.off.newActive,heaCon.off.localActive,$PRE.heaCon.off.localActive,$whenCondition1,$whenCondition2,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001661/0.5666, allocations: 181.6 kB / 0.7334 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.712e-05/0.5667, allocations: 19.72 kB / 0.7334 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005042/0.5672, allocations: 276.2 kB / 0.7336 GB, free: 2.902 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5672, allocations: 4 kB / 0.7336 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.5672, allocations: 0 / 0.7336 GB, free: 2.898 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.5672, allocations: 3.984 kB / 0.7336 GB, free: 2.895 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009291/0.5681, allocations: 0.7373 MB / 0.7344 GB, free: 2.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.5681, allocations: 4 kB / 0.7344 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.5683, allocations: 31.91 kB / 0.7344 GB, free: 2.066 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/0.5683, allocations: 4 kB / 0.7344 GB, free: 2.062 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.777e-05/0.5683, allocations: 4 kB / 0.7344 GB, free: 2.059 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.5683, allocations: 7.938 kB / 0.7344 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5683, allocations: 0 / 0.7344 GB, free: 2.051 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004369/0.5688, allocations: 355 kB / 0.7347 GB, free: 1.688 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.167e-05/0.5688, allocations: 100.8 kB / 0.7348 GB, free: 1.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.339e-05/0.5689, allocations: 8 kB / 0.7349 GB, free: 1.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.5691, allocations: 23.97 kB / 0.7349 GB, free: 1.539 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.903e-05/0.5692, allocations: 39.89 kB / 0.7349 GB, free: 1.5 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.12e-05/0.5692, allocations: 11.98 kB / 0.7349 GB, free: 1.488 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.06e-05/0.5693, allocations: 135.3 kB / 0.7351 GB, free: 1.355 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5693, allocations: 0 / 0.7351 GB, free: 1.355 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003049/0.5696, allocations: 67.75 kB / 0.7351 GB, free: 1.289 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001446/0.5698, allocations: 125 kB / 0.7352 GB, free: 1.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004463/0.5702, allocations: 251.8 kB / 0.7355 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.5702, allocations: 0 / 0.7355 GB, free: 0.9141 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000217/0.5704, allocations: 124.4 kB / 0.7356 GB, free: 0.793 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003346/0.5708, allocations: 36.28 kB / 0.7356 GB, free: 0.7578 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007745/0.5716, allocations: 0.5477 MB / 0.7362 GB, free: 196 kB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003058/0.5719, allocations: 0.7605 MB / 0.7369 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001131/0.572, allocations: 38.27 kB / 0.7369 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.831e-05/0.5721, allocations: 27.42 kB / 0.737 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of SimCode: time 2e-07/0.5721, allocations: 0 / 0.737 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.005622/0.5777, allocations: 2.696 MB / 0.7396 GB, free: 12.69 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)