Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/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_latest_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_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.541/1.541, allocations: 297.8 MB / 313.7 MB, free: 128 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009838/0.0009838, allocations: 183.7 kB / 384.6 MB, free: 10.88 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.232/1.232, allocations: 223.2 MB / 0.6626 GB, free: 4.27 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007484/0.0007482, allocations: 102.1 kB / 0.7808 GB, free: 50.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 15.98 kB / 0.9088 GB, free: 2.859 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5479/0.5483, allocations: 120.3 MB / 1.026 GB, free: 55.84 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1581/0.7065, allocations: 144.1 MB / 1.167 GB, free: 28 kB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.7067, allocations: 94.97 kB / 1.167 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.01176/0.7185, allocations: 4.8 MB / 1.172 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7185, allocations: 0 / 1.172 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.7185, allocations: 9.062 kB / 1.172 GB, free: 12.61 MB / 0.7448 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.0006265/0.7192, allocations: 0.5235 MB / 1.172 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.075e-05/0.7192, allocations: 8.828 kB / 1.172 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.399e-05/0.7193, allocations: 35.03 kB / 1.172 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000276/0.7196, allocations: 271.3 kB / 1.173 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.795e-05/0.7196, allocations: 31.5 kB / 1.173 GB, free: 11.74 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.346e-05/0.7197, allocations: 29.17 kB / 1.173 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005485/0.7202, allocations: 323.4 kB / 1.173 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.7202, allocations: 0 / 1.173 GB, free: 11.44 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.953e-05/0.7203, allocations: 17.58 kB / 1.173 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.895e-06/0.7203, allocations: 8 kB / 1.173 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004531/0.7207, allocations: 236.2 kB / 1.173 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001368/0.7221, allocations: 0.9618 MB / 1.174 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004466/0.7226, allocations: 252.8 kB / 1.174 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002039/0.7228, allocations: 134.1 kB / 1.175 GB, free: 9.957 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.257e-05/0.7228, allocations: 4.234 kB / 1.175 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/0.7231, allocations: 159.5 kB / 1.175 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=30): time 1.613e-06/0.7231, allocations: 0 / 1.175 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of matching and sorting (n=30): time 0.00061/0.7237, allocations: 331.1 kB / 1.175 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.412e-05/0.7238, allocations: 55.41 kB / 1.175 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.7239, allocations: 203.7 kB / 1.175 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.392e-05/0.724, allocations: 37.7 kB / 1.175 GB, free: 9.137 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 8.172e-05/0.7241, allocations: 156.5 kB / 1.175 GB, free: 8.98 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.105e-05/0.7241, allocations: 82.95 kB / 1.176 GB, free: 8.898 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.633e-05/0.7242, allocations: 12 kB / 1.176 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.7243, allocations: 333.1 kB / 1.176 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001816/0.7245, allocations: 95.95 kB / 1.176 GB, free: 8.461 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002088/0.7247, allocations: 155.7 kB / 1.176 GB, free: 8.293 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003367/0.725, allocations: 220.2 kB / 1.176 GB, free: 8.062 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.917e-06/0.725, allocations: 4 kB / 1.176 GB, free: 8.059 MB / 0.7448 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004842/0.7255, allocations: 315.8 kB / 1.177 GB, free: 7.746 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.7256, allocations: 8 kB / 1.177 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.589e-06/0.7256, allocations: 0 / 1.177 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.7256, allocations: 4 kB / 1.177 GB, free: 7.734 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.7258, allocations: 47.78 kB / 1.177 GB, free: 7.688 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.7258, allocations: 4 kB / 1.177 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001859/0.726, allocations: 51.91 kB / 1.177 GB, free: 7.633 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.871e-05/0.726, allocations: 14.3 kB / 1.177 GB, free: 7.621 MB / 0.7448 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.0001506/0.7262, allocations: 170.6 kB / 1.177 GB, free: 7.445 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.007e-05/0.7262, allocations: 20.33 kB / 1.177 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004925/0.7267, allocations: 287.7 kB / 1.177 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.7267, allocations: 4 kB / 1.177 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.7267, allocations: 8.484 kB / 1.177 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.7267, allocations: 0.75 kB / 1.177 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008946/0.7276, allocations: 0.7366 MB / 1.178 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.7276, allocations: 3.156 kB / 1.178 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001303/0.7278, allocations: 31.97 kB / 1.178 GB, free: 6.305 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.7278, allocations: 4 kB / 1.178 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.7278, allocations: 4 kB / 1.178 GB, free: 6.297 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.7278, allocations: 5.312 kB / 1.178 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.7278, allocations: 0 / 1.178 GB, free: 6.293 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004396/0.7283, allocations: 359.1 kB / 1.178 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.939e-05/0.7283, allocations: 92.83 kB / 1.178 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.806e-05/0.7284, allocations: 12 kB / 1.178 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001829/0.7286, allocations: 35.97 kB / 1.178 GB, free: 5.77 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001/0.7287, allocations: 39.88 kB / 1.178 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.991e-05/0.7287, allocations: 12 kB / 1.178 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.448e-05/0.7288, allocations: 138.4 kB / 1.179 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.31e-07/0.7288, allocations: 4 kB / 1.179 GB, free: 5.582 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002696/0.7291, allocations: 52 kB / 1.179 GB, free: 5.531 MB / 0.7448 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.0001478/0.7292, allocations: 125.1 kB / 1.179 GB, free: 5.402 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004398/0.7297, allocations: 259.9 kB / 1.179 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.7297, allocations: 0 / 1.179 GB, free: 5.148 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0002044/0.7299, allocations: 133 kB / 1.179 GB, free: 5.02 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002983/0.7302, allocations: 35.97 kB / 1.179 GB, free: 4.984 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007168/0.7309, allocations: 0.5385 MB / 1.18 GB, free: 4.418 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002902/0.7312, allocations: 0.7605 MB / 1.18 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.000115/0.7314, allocations: 27.17 kB / 1.181 GB, free: 3.602 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.028e-05/0.7314, allocations: 32.64 kB / 1.181 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of SimCode: time 2.41e-07/0.7314, allocations: 0 / 1.181 GB, free: 3.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.005139/0.7366, allocations: 2.574 MB / 1.183 GB, free: 1.105 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.Reheat.pipe 2>&1)