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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.711/1.711, allocations: 293 MB / 309 MB, free: 4.801 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.0009552/0.0009549, allocations: 172.1 kB / 378.7 MB, free: 1.023 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.59/1.59, allocations: 205.4 MB / 0.6383 GB, free: 8.219 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.0007217/0.0007218, allocations: 95.11 kB / 0.7527 GB, free: 62.85 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004102/0.0004103, allocations: 8 kB / 0.8768 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 116.4 MB / 0.9904 GB, free: 5.863 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6405/0.87, allocations: 148.7 MB / 1.136 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/0.8703, allocations: 92.73 kB / 1.136 GB, free: 27.25 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03857/0.9089, allocations: 14.04 MB / 1.149 GB, free: 17.57 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.725e-06/0.9089, allocations: 192 / 1.149 GB, free: 17.57 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.352e-05/0.909, allocations: 19.94 kB / 1.15 GB, free: 17.55 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.001995/0.911, allocations: 0.9095 MB / 1.15 GB, free: 16.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.9111, allocations: 8.031 kB / 1.15 GB, free: 16.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003122/0.9114, allocations: 69.64 kB / 1.15 GB, free: 16.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008792/0.9123, allocations: 493.5 kB / 1.151 GB, free: 16.12 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.9123, allocations: 42.69 kB / 1.151 GB, free: 16.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000154/0.9125, allocations: 65.77 kB / 1.151 GB, free: 16.02 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/0.9137, allocations: 0.56 MB / 1.152 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.266e-05/0.9138, allocations: 1.781 kB / 1.152 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.078e-05/0.9138, allocations: 33.05 kB / 1.152 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.9139, allocations: 12 kB / 1.152 GB, free: 15.5 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001069/0.9149, allocations: 471.1 kB / 1.152 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.918, allocations: 1.551 MB / 1.154 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009203/0.919, allocations: 0.506 MB / 1.154 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004003/0.9194, allocations: 250.9 kB / 1.154 GB, free: 13.15 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.83e-05/0.9195, allocations: 4.562 kB / 1.154 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005821/0.92, allocations: 322.1 kB / 1.155 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.266e-06/0.9201, allocations: 4 kB / 1.155 GB, free: 12.88 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001386/0.9215, allocations: 0.6796 MB / 1.155 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.587e-05/0.9216, allocations: 119.1 kB / 1.155 GB, free: 12.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006623/0.9222, allocations: 0.5011 MB / 1.156 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.834e-05/0.9223, allocations: 51.06 kB / 1.156 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001711/0.9225, allocations: 249.8 kB / 1.156 GB, free: 11.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.9226, allocations: 158.5 kB / 1.156 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.074e-05/0.9227, allocations: 16 kB / 1.156 GB, free: 11.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.9228, allocations: 369.8 kB / 1.157 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004206/0.9232, allocations: 208 kB / 1.157 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004682/0.9237, allocations: 341 kB / 1.157 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007832/0.9245, allocations: 464.4 kB / 1.158 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.9245, allocations: 0 / 1.158 GB, free: 9.922 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001111/0.9256, allocations: 0.6272 MB / 1.158 GB, free: 9.332 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.281e-05/0.9257, allocations: 35.2 kB / 1.158 GB, free: 9.293 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/0.9257, allocations: 4 kB / 1.158 GB, free: 9.289 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.842e-05/0.9257, allocations: 4 kB / 1.158 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003309/0.9261, allocations: 90.84 kB / 1.158 GB, free: 9.211 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.514e-05/0.9261, allocations: 11.94 kB / 1.158 GB, free: 9.199 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000439/0.9265, allocations: 78.77 kB / 1.159 GB, free: 9.137 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.918e-05/0.9266, allocations: 29.45 kB / 1.159 GB, free: 9.109 MB / 0.7292 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 () * Number of clocked 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.0003806/0.927, allocations: 274.3 kB / 1.159 GB, free: 8.844 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.9271, allocations: 52.89 kB / 1.159 GB, free: 8.793 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00107/0.9282, allocations: 0.5877 MB / 1.159 GB, free: 8.23 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.045e-06/0.9282, allocations: 8 kB / 1.159 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.9282, allocations: 0 / 1.159 GB, free: 8.223 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.566e-06/0.9282, allocations: 5.172 kB / 1.159 GB, free: 8.219 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001954/0.9302, allocations: 1.387 MB / 1.161 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.86e-06/0.9302, allocations: 0 / 1.161 GB, free: 6.777 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000225/0.9304, allocations: 59.91 kB / 1.161 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.033e-06/0.9305, allocations: 0 / 1.161 GB, free: 6.719 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.642e-05/0.9305, allocations: 27.86 kB / 1.161 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.177e-06/0.9305, allocations: 0 / 1.161 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.9305, allocations: 1.5 kB / 1.161 GB, free: 6.691 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008945/0.9314, allocations: 0.6481 MB / 1.162 GB, free: 6.027 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.9316, allocations: 144.4 kB / 1.162 GB, free: 5.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.596e-05/0.9316, allocations: 15.94 kB / 1.162 GB, free: 5.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003455/0.932, allocations: 63.94 kB / 1.162 GB, free: 5.789 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001895/0.9322, allocations: 92.42 kB / 1.162 GB, free: 5.699 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-05/0.9322, allocations: 23.98 kB / 1.162 GB, free: 5.676 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003753/0.9326, allocations: 335.1 kB / 1.162 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9326, allocations: 0 / 1.162 GB, free: 5.348 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006523/0.9333, allocations: 155.9 kB / 1.162 GB, free: 5.195 MB / 0.7292 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) * Number of clocked states: 0 () * 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.001626/0.9349, allocations: 0.7301 MB / 1.163 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001173/0.9361, allocations: 0.6051 MB / 1.164 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.9361, allocations: 0 / 1.164 GB, free: 4.094 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0005055/0.9366, allocations: 295 kB / 1.164 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006481/0.9373, allocations: 95.16 kB / 1.164 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001811/0.9391, allocations: 1.165 MB / 1.165 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.9395, allocations: 0.8931 MB / 1.166 GB, free: 1.605 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003639/0.9398, allocations: 95.55 kB / 1.166 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001687/0.94, allocations: 55.42 kB / 1.166 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.94, allocations: 0 / 1.166 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of Templates: time 0.01496/0.955, allocations: 7.342 MB / 1.173 GB, free: 10.2 MB / 0.7448 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)