Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.629/1.629, allocations: 289.9 MB / 297.4 MB, free: 6.367 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 176.8 kB / 366.7 MB, free: 1.684 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.597/1.597, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009022/0.0009022, allocations: 95.69 kB / 0.74 GB, free: 39.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.879e-05/1.881e-05, allocations: 4 kB / 0.8597 GB, free: 13.04 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7082/0.7083, allocations: 116.3 MB / 0.9733 GB, free: 76.32 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2099/0.9183, allocations: 147.9 MB / 1.118 GB, free: 2.328 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002888/0.9186, allocations: 92.62 kB / 1.118 GB, free: 2.238 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03681/0.9554, allocations: 13.78 MB / 1.131 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.303e-06/0.9555, allocations: 0 / 1.131 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.208e-05/0.9556, allocations: 19.98 kB / 1.131 GB, free: 4.508 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.00216/0.9577, allocations: 0.8436 MB / 1.132 GB, free: 3.598 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/0.9578, allocations: 8.031 kB / 1.132 GB, free: 3.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.9582, allocations: 71.72 kB / 1.132 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009977/0.9592, allocations: 476.6 kB / 1.133 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.75e-05/0.9592, allocations: 16 kB / 1.133 GB, free: 2.992 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001203/0.9594, allocations: 40 kB / 1.133 GB, free: 2.953 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008665/0.9602, allocations: 390.5 kB / 1.133 GB, free: 2.574 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009287/0.9612, allocations: 481.9 kB / 1.133 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.9612, allocations: 9.828 kB / 1.133 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.445e-05/0.9613, allocations: 0 / 1.133 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.9613, allocations: 15.94 kB / 1.133 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.964, allocations: 1.449 MB / 1.135 GB, free: 0.5703 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006876/0.9647, allocations: 450.7 kB / 1.135 GB, free: 124 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003516/0.965, allocations: 193 kB / 1.136 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.845e-05/0.9651, allocations: 8.562 kB / 1.136 GB, free: 15.92 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000515/0.9656, allocations: 281.8 kB / 1.136 GB, free: 15.64 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=63): time 2.705e-06/0.9656, allocations: 4 kB / 1.136 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of matching and sorting (n=63): time 0.0008655/0.9665, allocations: 418.5 kB / 1.136 GB, free: 15.22 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.474e-05/0.9666, allocations: 123.8 kB / 1.136 GB, free: 15.07 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000602/0.9672, allocations: 440.8 kB / 1.137 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.515e-05/0.9673, allocations: 37.7 kB / 1.137 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002384/0.9676, allocations: 261.1 kB / 1.137 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001518/0.9677, allocations: 150 kB / 1.137 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.914e-05/0.9678, allocations: 5.406 kB / 1.137 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.968, allocations: 366.8 kB / 1.138 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003116/0.9683, allocations: 165.5 kB / 1.138 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004041/0.9687, allocations: 286.5 kB / 1.138 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003122/0.969, allocations: 164.5 kB / 1.138 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.969, allocations: 0 / 1.138 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009222/0.97, allocations: 0.4996 MB / 1.139 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 6.994e-05/0.97, allocations: 38.95 kB / 1.139 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.9701, allocations: 0 / 1.139 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.51e-05/0.9701, allocations: 8 kB / 1.139 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003972/0.9705, allocations: 83.78 kB / 1.139 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.9705, allocations: 11.98 kB / 1.139 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.971, allocations: 67.73 kB / 1.139 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.427e-05/0.9711, allocations: 31.98 kB / 1.139 GB, free: 12.43 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * 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.0001991/0.9713, allocations: 152.8 kB / 1.139 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.9714, allocations: 53.22 kB / 1.139 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009987/0.9724, allocations: 0.4947 MB / 1.139 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.778e-06/0.9725, allocations: 8 kB / 1.14 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.286e-06/0.9725, allocations: 3.953 kB / 1.14 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.9725, allocations: 3.984 kB / 1.14 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002083/0.9746, allocations: 1.201 MB / 1.141 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/0.9746, allocations: 0 / 1.141 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002758/0.9749, allocations: 71.78 kB / 1.141 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.05e-05/0.9749, allocations: 6.375 kB / 1.141 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.653e-05/0.9749, allocations: 8 kB / 1.141 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.975, allocations: 4 kB / 1.141 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.086e-06/0.975, allocations: 0 / 1.141 GB, free: 10.37 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008678/0.9758, allocations: 0.5538 MB / 1.141 GB, free: 9.797 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.976, allocations: 144.4 kB / 1.141 GB, free: 9.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.928e-05/0.9761, allocations: 11.94 kB / 1.141 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003721/0.9765, allocations: 47.95 kB / 1.142 GB, free: 9.578 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/0.9767, allocations: 96.42 kB / 1.142 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.676e-05/0.9768, allocations: 27.92 kB / 1.142 GB, free: 9.457 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003978/0.9772, allocations: 310.9 kB / 1.142 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9772, allocations: 0 / 1.142 GB, free: 9.156 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006116/0.9778, allocations: 139.5 kB / 1.142 GB, free: 9.023 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: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.001538/0.9793, allocations: 0.5905 MB / 1.143 GB, free: 8.641 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008909/0.9802, allocations: 0.5098 MB / 1.143 GB, free: 8.125 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.9803, allocations: 8.062 kB / 1.143 GB, free: 8.117 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004034/0.9807, allocations: 254 kB / 1.143 GB, free: 7.867 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005544/0.9812, allocations: 68.47 kB / 1.143 GB, free: 7.805 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00158/0.9828, allocations: 0.7341 MB / 1.144 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005257/0.9834, allocations: 0.9164 MB / 1.145 GB, free: 6.105 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003349/0.9837, allocations: 91.8 kB / 1.145 GB, free: 6.023 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001736/0.9839, allocations: 55.41 kB / 1.145 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/0.9839, allocations: 0 / 1.145 GB, free: 5.969 MB / 0.7448 GB Notification: Performance of Templates: time 0.01458/0.9985, allocations: 6.915 MB / 1.152 GB, free: 15.16 MB / 0.7605 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)