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.0008698/0.0008696, allocations: 91.14 kB / 15.36 MB, free: 0.7344 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.006324/0.006324, allocations: 169.6 kB / 16.26 MB, free: 6.68 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.425/1.425, allocations: 205.4 MB / 222.4 MB, free: 5.797 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.539/1.539, allocations: 252 MB / 0.5105 GB, free: 4.664 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.0005323/0.0005322, allocations: 16 kB / 0.6249 GB, free: 0.7344 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4959/0.4964, allocations: 106.3 MB / 0.7287 GB, free: 11.26 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat): time 0.002305/0.4988, allocations: 1.765 MB / 0.7305 GB, free: 9.48 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001366/0.5002, allocations: 0.7486 MB / 0.7312 GB, free: 8.723 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002007/0.5004, allocations: 7.938 kB / 0.7312 GB, free: 8.715 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001409/0.5005, allocations: 23.8 kB / 0.7312 GB, free: 8.691 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001598/0.5007, allocations: 35.75 kB / 0.7312 GB, free: 8.656 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004515/0.5012, allocations: 143.8 kB / 0.7314 GB, free: 8.516 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.5016, allocations: 367.1 kB / 0.7317 GB, free: 8.156 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003075/0.5019, allocations: 196.3 kB / 0.7319 GB, free: 7.961 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.5021, allocations: 103.6 kB / 0.732 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.5022, allocations: 123.3 kB / 0.7321 GB, free: 7.738 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.319e-05/0.5023, allocations: 12 kB / 0.7321 GB, free: 7.727 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.555e-05/0.5024, allocations: 27.98 kB / 0.7322 GB, free: 7.699 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.759e-05/0.5024, allocations: 43.83 kB / 0.7322 GB, free: 7.656 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0001318/0.5026, allocations: 149 kB / 0.7324 GB, free: 7.504 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.000338/0.5029, allocations: 360.7 kB / 0.7327 GB, free: 7.152 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.5029, allocations: 0 / 0.7327 GB, free: 7.152 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5029, allocations: 0 / 0.7327 GB, free: 7.152 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.865e-06/0.503, allocations: 0 / 0.7327 GB, free: 7.152 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.0007521/0.5037, allocations: 0.5183 MB / 0.7332 GB, free: 6.586 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.5038, allocations: 8.031 kB / 0.7332 GB, free: 6.578 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.514e-05/0.5038, allocations: 32.56 kB / 0.7332 GB, free: 6.547 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.5041, allocations: 272.5 kB / 0.7335 GB, free: 6.242 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.889e-05/0.5042, allocations: 24.94 kB / 0.7335 GB, free: 6.219 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.5042, allocations: 36.38 kB / 0.7336 GB, free: 6.184 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006164/0.5049, allocations: 319.7 kB / 0.7339 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.5049, allocations: 0 / 0.7339 GB, free: 5.859 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/0.5049, allocations: 12 kB / 0.7339 GB, free: 5.848 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.5049, allocations: 7.984 kB / 0.7339 GB, free: 5.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005441/0.5055, allocations: 250.1 kB / 0.7341 GB, free: 5.598 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001412/0.5069, allocations: 0.9557 MB / 0.7351 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000546/0.5075, allocations: 255.5 kB / 0.7353 GB, free: 4.328 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002201/0.5077, allocations: 118 kB / 0.7354 GB, free: 4.211 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.5077, allocations: 4.234 kB / 0.7354 GB, free: 4.207 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003384/0.5081, allocations: 168.7 kB / 0.7356 GB, free: 4.031 MB / 0.545 GB Notification: Performance of pre-optimization done (n=30): time 1.874e-06/0.5081, allocations: 8 kB / 0.7356 GB, free: 4.023 MB / 0.545 GB Notification: Performance of matching and sorting (n=30): time 0.0007223/0.5088, allocations: 333.3 kB / 0.7359 GB, free: 3.691 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.23e-05/0.5089, allocations: 59.41 kB / 0.736 GB, free: 3.621 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001852/0.5091, allocations: 203.7 kB / 0.7362 GB, free: 3.414 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.598e-05/0.5091, allocations: 45.7 kB / 0.7362 GB, free: 3.363 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.974e-05/0.5092, allocations: 148.7 kB / 0.7363 GB, free: 3.215 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.461e-05/0.5093, allocations: 82.91 kB / 0.7364 GB, free: 3.133 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.343e-05/0.5094, allocations: 49.69 kB / 0.7365 GB, free: 3.078 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.5095, allocations: 334.8 kB / 0.7368 GB, free: 2.742 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002051/0.5097, allocations: 95.95 kB / 0.7369 GB, free: 2.648 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002427/0.51, allocations: 161 kB / 0.737 GB, free: 2.473 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003814/0.5103, allocations: 216.8 kB / 0.7372 GB, free: 2.242 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/0.5104, allocations: 7.938 kB / 0.7373 GB, free: 2.234 MB / 0.545 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0005619/0.5109, allocations: 316.7 kB / 0.7376 GB, free: 1.918 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.817e-05/0.511, allocations: 8 kB / 0.7376 GB, free: 1.91 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.511, allocations: 3.984 kB / 0.7376 GB, free: 1.906 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.511, allocations: 4 kB / 0.7376 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002008/0.5112, allocations: 39.91 kB / 0.7376 GB, free: 1.863 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.5112, allocations: 4 kB / 0.7376 GB, free: 1.859 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.5114, allocations: 59.81 kB / 0.7377 GB, free: 1.801 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.5115, allocations: 15.94 kB / 0.7377 GB, free: 1.785 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.0001726/0.5117, allocations: 173.7 kB / 0.7378 GB, free: 1.605 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/0.5117, allocations: 19.81 kB / 0.7379 GB, free: 1.586 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005584/0.5123, allocations: 284.1 kB / 0.7381 GB, free: 1.297 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.5123, allocations: 4 kB / 0.7381 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.5123, allocations: 0 / 0.7381 GB, free: 1.293 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.241e-06/0.5123, allocations: 3.984 kB / 0.7381 GB, free: 1.289 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.5134, allocations: 0.7451 MB / 0.7389 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.5134, allocations: 0 / 0.7389 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001501/0.5135, allocations: 35.92 kB / 0.7389 GB, free: 464 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.017e-06/0.5135, allocations: 3.984 kB / 0.7389 GB, free: 460 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.12e-05/0.5136, allocations: 11.98 kB / 0.7389 GB, free: 448 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.5136, allocations: 4 kB / 0.7389 GB, free: 444 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.5136, allocations: 3.938 kB / 0.7389 GB, free: 440 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004825/0.5141, allocations: 363.1 kB / 0.7393 GB, free: 60 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 7.065e-05/0.5141, allocations: 100.8 kB / 0.7394 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.61e-05/0.5142, allocations: 7.984 kB / 0.7394 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002192/0.5144, allocations: 39.91 kB / 0.7394 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.5145, allocations: 43.89 kB / 0.7395 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.736e-05/0.5146, allocations: 4 kB / 0.7395 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001097/0.5147, allocations: 143.2 kB / 0.7396 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5147, allocations: 0 / 0.7396 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003211/0.515, allocations: 63.84 kB / 0.7397 GB, free: 15.64 MB / 0.5606 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.0001744/0.5152, allocations: 121 kB / 0.7398 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004914/0.5157, allocations: 259.8 kB / 0.74 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.5157, allocations: 0 / 0.74 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000229/0.5159, allocations: 132.4 kB / 0.7402 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.5163, allocations: 38.95 kB / 0.7402 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007893/0.5171, allocations: 0.5623 MB / 0.7407 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003043/0.5174, allocations: 0.7605 MB / 0.7415 GB, free: 13.73 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.5175, allocations: 26.3 kB / 0.7415 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.605e-05/0.5176, allocations: 27.42 kB / 0.7415 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of SimCode: time 4e-07/0.5176, allocations: 0 / 0.7415 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of Templates: time 0.005635/0.5233, allocations: 2.672 MB / 0.7441 GB, free: 11.06 MB / 0.5606 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: