Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.695/1.695, allocations: 285.6 MB / 293.1 MB, free: 10.15 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.0011/0.0011, allocations: 176.9 kB / 361.4 MB, free: 6.805 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.583/1.583, allocations: 205.2 MB / 0.62 GB, free: 11.64 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.0008344/0.000834, allocations: 98.58 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.738e-05/1.741e-05, allocations: 4 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6979/0.6979, allocations: 115.3 MB / 0.9644 GB, free: 78.77 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2101/0.908, allocations: 146.9 MB / 1.108 GB, free: 8.91 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000271/0.9083, allocations: 90.7 kB / 1.108 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03921/0.9476, allocations: 13.78 MB / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9476, allocations: 0 / 1.121 GB, free: 11.13 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.101e-05/0.9477, allocations: 16 kB / 1.121 GB, free: 11.11 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.002111/0.9498, allocations: 0.8436 MB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.014e-05/0.9499, allocations: 8.031 kB / 1.122 GB, free: 10.2 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003994/0.9503, allocations: 75.14 kB / 1.122 GB, free: 10.12 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001185/0.9515, allocations: 468.6 kB / 1.123 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.53e-05/0.9516, allocations: 20 kB / 1.123 GB, free: 9.605 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.9518, allocations: 36 kB / 1.123 GB, free: 9.57 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000951/0.9527, allocations: 394.5 kB / 1.123 GB, free: 9.184 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.9538, allocations: 481.9 kB / 1.124 GB, free: 8.695 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.9538, allocations: 6.953 kB / 1.124 GB, free: 8.691 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.345e-05/0.9539, allocations: 15.92 kB / 1.124 GB, free: 8.676 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.57e-05/0.9539, allocations: 12 kB / 1.124 GB, free: 8.664 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00283/0.9567, allocations: 1.447 MB / 1.125 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007605/0.9575, allocations: 444.6 kB / 1.125 GB, free: 6.73 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003226/0.9579, allocations: 194.5 kB / 1.126 GB, free: 6.539 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.37e-05/0.9579, allocations: 12.55 kB / 1.126 GB, free: 6.527 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005214/0.9584, allocations: 269.9 kB / 1.126 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.928e-06/0.9585, allocations: 0 / 1.126 GB, free: 6.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.0009008/0.9594, allocations: 422.5 kB / 1.126 GB, free: 5.828 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.53e-05/0.9595, allocations: 128.3 kB / 1.126 GB, free: 5.68 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006494/0.9601, allocations: 436.8 kB / 1.127 GB, free: 5.25 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.041e-05/0.9602, allocations: 45.69 kB / 1.127 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002353/0.9605, allocations: 253.1 kB / 1.127 GB, free: 4.945 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001618/0.9606, allocations: 153.9 kB / 1.127 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-05/0.9607, allocations: 0 / 1.127 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001812/0.9609, allocations: 366.8 kB / 1.128 GB, free: 4.426 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003544/0.9612, allocations: 165.6 kB / 1.128 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003968/0.9616, allocations: 286.5 kB / 1.128 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000317/0.962, allocations: 160.5 kB / 1.128 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/0.962, allocations: 4 kB / 1.128 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009298/0.9629, allocations: 0.4956 MB / 1.129 GB, free: 3.289 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 6.047e-05/0.963, allocations: 33.7 kB / 1.129 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.963, allocations: 256 / 1.129 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.391e-05/0.963, allocations: 12 kB / 1.129 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003865/0.9634, allocations: 91.77 kB / 1.129 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.9634, allocations: 7.938 kB / 1.129 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004783/0.9639, allocations: 76.38 kB / 1.129 GB, free: 3.066 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.7e-05/0.964, allocations: 20 kB / 1.129 GB, free: 3.047 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 () * 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.0002043/0.9642, allocations: 155.9 kB / 1.129 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.9643, allocations: 55.33 kB / 1.129 GB, free: 2.836 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/0.9654, allocations: 0.4932 MB / 1.13 GB, free: 2.332 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.227e-06/0.9654, allocations: 8 kB / 1.13 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.036e-06/0.9654, allocations: 3.953 kB / 1.13 GB, free: 2.32 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.448e-06/0.9654, allocations: 3.984 kB / 1.13 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002104/0.9675, allocations: 1.209 MB / 1.131 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.527e-06/0.9676, allocations: 0 / 1.131 GB, free: 1.066 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002677/0.9678, allocations: 63.84 kB / 1.131 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.148e-06/0.9679, allocations: 4 kB / 1.131 GB, free: 1 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.935e-05/0.9679, allocations: 7.984 kB / 1.131 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.738e-06/0.9679, allocations: 10.2 kB / 1.131 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.344e-06/0.9679, allocations: 0 / 1.131 GB, free: 0.9883 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008811/0.9688, allocations: 0.5615 MB / 1.131 GB, free: 420 kB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002018/0.969, allocations: 144.4 kB / 1.132 GB, free: 256 kB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.715e-05/0.9691, allocations: 7.953 kB / 1.132 GB, free: 248 kB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003907/0.9695, allocations: 55.94 kB / 1.132 GB, free: 192 kB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/0.9697, allocations: 92.42 kB / 1.132 GB, free: 100 kB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.973e-05/0.9698, allocations: 16 kB / 1.132 GB, free: 84 kB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003989/0.9702, allocations: 318 kB / 1.132 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.765e-06/0.9702, allocations: 0 / 1.132 GB, free: 15.78 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006228/0.9708, allocations: 131.9 kB / 1.132 GB, free: 15.65 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.001427/0.9723, allocations: 0.5983 MB / 1.133 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0009176/0.9732, allocations: 0.5133 MB / 1.133 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.9732, allocations: 0 / 1.133 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003967/0.9736, allocations: 250.5 kB / 1.134 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005433/0.9742, allocations: 75.66 kB / 1.134 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001599/0.9758, allocations: 0.7418 MB / 1.134 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00058/0.9764, allocations: 0.9145 MB / 1.135 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003323/0.9767, allocations: 93.84 kB / 1.135 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002018/0.9769, allocations: 55.42 kB / 1.135 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of SimCode: time 4.01e-07/0.9769, allocations: 0 / 1.135 GB, free: 12.57 MB / 0.7448 GB Notification: Performance of Templates: time 0.01478/0.9917, allocations: 6.918 MB / 1.142 GB, free: 5.766 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)