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.861/1.861, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001743/0.001743, allocations: 181.5 kB / 371.8 MB, free: 10.27 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.823/1.823, allocations: 205.4 MB / 0.6306 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 90.84 kB / 0.7439 GB, free: 5.922 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004296/0.0004296, allocations: 11.66 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2596/0.26, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8992/1.159, allocations: 147.6 MB / 1.124 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/1.16, allocations: 97.55 kB / 1.124 GB, free: 16.36 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.036/1.196, allocations: 13.97 MB / 1.137 GB, free: 28.21 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.045e-06/1.196, allocations: 7.938 kB / 1.137 GB, free: 28.2 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.707e-05/1.196, allocations: 19.25 kB / 1.137 GB, free: 28.2 MB / 0.698 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.002125/1.198, allocations: 0.9122 MB / 1.138 GB, free: 27.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/1.198, allocations: 11.48 kB / 1.138 GB, free: 27.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003327/1.198, allocations: 69.16 kB / 1.138 GB, free: 27.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001021/1.199, allocations: 479.1 kB / 1.139 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.18e-05/1.199, allocations: 42.59 kB / 1.139 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/1.2, allocations: 58.58 kB / 1.139 GB, free: 27.11 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001084/1.201, allocations: 0.5621 MB / 1.139 GB, free: 26.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/1.201, allocations: 3.984 kB / 1.139 GB, free: 26.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.437e-05/1.201, allocations: 29.39 kB / 1.139 GB, free: 26.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/1.201, allocations: 11.56 kB / 1.139 GB, free: 26.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000968/1.202, allocations: 466.8 kB / 1.14 GB, free: 26.84 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002887/1.205, allocations: 1.546 MB / 1.141 GB, free: 26.08 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009172/1.206, allocations: 0.5111 MB / 1.142 GB, free: 25.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.812e-05/1.206, allocations: 8.062 kB / 1.142 GB, free: 25.98 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006225/1.206, allocations: 315.9 kB / 1.142 GB, free: 25.86 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 4.258e-06/1.206, allocations: 7.984 kB / 1.142 GB, free: 25.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.001362/1.208, allocations: 0.6848 MB / 1.143 GB, free: 25.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.832e-05/1.208, allocations: 126.7 kB / 1.143 GB, free: 25.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000551/1.208, allocations: 461.3 kB / 1.143 GB, free: 25.39 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.783e-05/1.208, allocations: 50.89 kB / 1.144 GB, free: 25.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001993/1.209, allocations: 258.8 kB / 1.144 GB, free: 25.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001304/1.209, allocations: 151.3 kB / 1.144 GB, free: 25.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/1.209, allocations: 13.59 kB / 1.144 GB, free: 25.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001783/1.209, allocations: 365.8 kB / 1.144 GB, free: 24.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004262/1.209, allocations: 206.2 kB / 1.144 GB, free: 24.76 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004643/1.21, allocations: 344.8 kB / 1.145 GB, free: 24.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004235/1.21, allocations: 224 kB / 1.145 GB, free: 24.56 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.559e-06/1.21, allocations: 3.875 kB / 1.145 GB, free: 24.56 MB / 0.698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00114/1.211, allocations: 0.6334 MB / 1.146 GB, free: 24.38 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.528e-05/1.212, allocations: 29.58 kB / 1.146 GB, free: 24.35 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/1.212, allocations: 3.938 kB / 1.146 GB, free: 24.35 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/1.212, allocations: 3.781 kB / 1.146 GB, free: 24.35 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003487/1.212, allocations: 90.81 kB / 1.146 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.484e-05/1.212, allocations: 7.656 kB / 1.146 GB, free: 24.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004446/1.212, allocations: 92.28 kB / 1.146 GB, free: 24.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.766e-05/1.212, allocations: 26.42 kB / 1.146 GB, free: 24.28 MB / 0.698 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.0003549/1.213, allocations: 271.4 kB / 1.146 GB, free: 24.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.477e-05/1.213, allocations: 50.5 kB / 1.146 GB, free: 24.11 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001043/1.214, allocations: 0.5963 MB / 1.147 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.294e-06/1.214, allocations: 7.656 kB / 1.147 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.214, allocations: 3.953 kB / 1.147 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.554e-06/1.214, allocations: 3.984 kB / 1.147 GB, free: 23.95 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002056/1.216, allocations: 1.381 MB / 1.148 GB, free: 23.37 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/1.216, allocations: 0 / 1.148 GB, free: 23.37 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002444/1.216, allocations: 61.69 kB / 1.148 GB, free: 23.36 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.095e-06/1.216, allocations: 4 kB / 1.148 GB, free: 23.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.61e-05/1.216, allocations: 14.98 kB / 1.148 GB, free: 23.35 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.048e-06/1.216, allocations: 3.844 kB / 1.148 GB, free: 23.35 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.794e-06/1.216, allocations: 0 / 1.148 GB, free: 23.35 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009146/1.217, allocations: 0.6432 MB / 1.149 GB, free: 23.12 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001521/1.217, allocations: 150.2 kB / 1.149 GB, free: 22.98 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.465e-05/1.218, allocations: 14.19 kB / 1.149 GB, free: 22.98 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003707/1.218, allocations: 66.25 kB / 1.149 GB, free: 22.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001879/1.218, allocations: 92.33 kB / 1.149 GB, free: 22.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.521e-05/1.218, allocations: 26.33 kB / 1.149 GB, free: 22.92 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003453/1.219, allocations: 330.4 kB / 1.149 GB, free: 22.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.1e-07/1.219, allocations: 0 / 1.149 GB, free: 22.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000628/1.219, allocations: 155.4 kB / 1.15 GB, free: 22.77 MB / 0.698 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.001595/1.221, allocations: 0.728 MB / 1.15 GB, free: 22.43 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001125/1.222, allocations: 0.599 MB / 1.151 GB, free: 22.27 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.222, allocations: 0 / 1.151 GB, free: 22.27 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004948/1.222, allocations: 302.5 kB / 1.151 GB, free: 22.22 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000508/1.223, allocations: 78.98 kB / 1.151 GB, free: 22.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001793/1.225, allocations: 1.159 MB / 1.152 GB, free: 21.57 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005131/1.225, allocations: 0.9059 MB / 1.153 GB, free: 20.79 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003424/1.226, allocations: 98.53 kB / 1.153 GB, free: 20.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/1.226, allocations: 57.33 kB / 1.153 GB, free: 20.73 MB / 0.698 GB Notification: Performance of SimCode: time 6.92e-07/1.226, allocations: 0 / 1.153 GB, free: 20.73 MB / 0.698 GB Notification: Performance of Templates: time 0.01322/1.239, allocations: 7.279 MB / 1.161 GB, free: 14.45 MB / 0.698 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)