Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.537/2.537, allocations: 287.5 MB / 303.2 MB, free: 8.332 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.001332/0.001331, allocations: 183.8 kB / 371.8 MB, free: 10.83 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.14/2.14, allocations: 205.4 MB / 0.6305 GB, free: 10.54 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.0008734/0.0008728, allocations: 87.64 kB / 0.7438 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006395/0.0006397, allocations: 10.59 kB / 0.8667 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2194/0.2201, allocations: 115.3 MB / 0.9793 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9543/1.174, allocations: 147.5 MB / 1.123 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/1.175, allocations: 103.1 kB / 1.123 GB, free: 15.62 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.05302/1.228, allocations: 14.02 MB / 1.137 GB, free: 28.28 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.074e-06/1.228, allocations: 0 / 1.137 GB, free: 28.28 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.193e-05/1.228, allocations: 15.53 kB / 1.137 GB, free: 28.28 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.002086/1.23, allocations: 0.9066 MB / 1.138 GB, free: 27.55 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/1.23, allocations: 15.53 kB / 1.138 GB, free: 27.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001881/1.23, allocations: 70.8 kB / 1.138 GB, free: 27.51 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009795/1.231, allocations: 486 kB / 1.139 GB, free: 27.18 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.332e-05/1.231, allocations: 44.19 kB / 1.139 GB, free: 27.18 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/1.232, allocations: 59.17 kB / 1.139 GB, free: 27.18 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001458/1.233, allocations: 0.5763 MB / 1.139 GB, free: 26.98 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.192e-05/1.233, allocations: 4.172 kB / 1.139 GB, free: 26.98 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.483e-05/1.233, allocations: 21.38 kB / 1.139 GB, free: 26.97 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.302e-05/1.233, allocations: 11.22 kB / 1.139 GB, free: 26.97 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001408/1.235, allocations: 473 kB / 1.14 GB, free: 26.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003443/1.238, allocations: 1.549 MB / 1.141 GB, free: 26.13 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001435/1.24, allocations: 0.51 MB / 1.142 GB, free: 26.04 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000649/1.24, allocations: 243.1 kB / 1.142 GB, free: 26 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 5.365e-05/1.24, allocations: 8.25 kB / 1.142 GB, free: 26 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008521/1.241, allocations: 324 kB / 1.142 GB, free: 25.87 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 4.047e-06/1.241, allocations: 0 / 1.142 GB, free: 25.87 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.002216/1.243, allocations: 0.6848 MB / 1.143 GB, free: 25.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.483e-05/1.243, allocations: 118.8 kB / 1.143 GB, free: 25.59 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008128/1.244, allocations: 0.4946 MB / 1.144 GB, free: 25.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/1.244, allocations: 54.75 kB / 1.144 GB, free: 25.37 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002197/1.245, allocations: 251.8 kB / 1.144 GB, free: 25.23 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/1.245, allocations: 153.1 kB / 1.144 GB, free: 25.13 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.821e-05/1.245, allocations: 15.28 kB / 1.144 GB, free: 25.13 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001825/1.245, allocations: 370.2 kB / 1.144 GB, free: 24.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006768/1.246, allocations: 207.1 kB / 1.145 GB, free: 24.77 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007628/1.247, allocations: 339.5 kB / 1.145 GB, free: 24.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001231/1.248, allocations: 460.1 kB / 1.145 GB, free: 24.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.28e-06/1.248, allocations: 0 / 1.145 GB, free: 24.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001767/1.25, allocations: 0.6305 MB / 1.146 GB, free: 24.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.933e-05/1.25, allocations: 33.39 kB / 1.146 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/1.25, allocations: 256 / 1.146 GB, free: 24.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/1.25, allocations: 15.62 kB / 1.146 GB, free: 24.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005874/1.25, allocations: 88.53 kB / 1.146 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/1.25, allocations: 3.844 kB / 1.146 GB, free: 24.23 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007352/1.251, allocations: 85.05 kB / 1.146 GB, free: 24.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.499e-05/1.251, allocations: 29.77 kB / 1.146 GB, free: 24.2 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.0005402/1.252, allocations: 268.4 kB / 1.146 GB, free: 24.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001188/1.252, allocations: 54.55 kB / 1.147 GB, free: 24.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001698/1.254, allocations: 0.592 MB / 1.147 GB, free: 23.87 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/1.254, allocations: 7.781 kB / 1.147 GB, free: 23.87 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.732e-06/1.254, allocations: 0 / 1.147 GB, free: 23.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/1.254, allocations: 7.984 kB / 1.147 GB, free: 23.86 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/1.257, allocations: 1.379 MB / 1.148 GB, free: 23.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/1.257, allocations: 3.688 kB / 1.148 GB, free: 23.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00044/1.257, allocations: 65.11 kB / 1.149 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.257, allocations: 0 / 1.149 GB, free: 23.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.973e-05/1.257, allocations: 18.84 kB / 1.149 GB, free: 23.26 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/1.257, allocations: 0 / 1.149 GB, free: 23.26 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.265e-06/1.257, allocations: 7.938 kB / 1.149 GB, free: 23.25 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001553/1.259, allocations: 0.6412 MB / 1.149 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001826/1.259, allocations: 143.8 kB / 1.149 GB, free: 22.89 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001225/1.259, allocations: 24.72 kB / 1.149 GB, free: 22.89 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/1.26, allocations: 60.34 kB / 1.149 GB, free: 22.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002693/1.26, allocations: 96.23 kB / 1.149 GB, free: 22.83 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.951e-05/1.26, allocations: 22.8 kB / 1.149 GB, free: 22.82 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005442/1.261, allocations: 336.2 kB / 1.15 GB, free: 22.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.261, allocations: 0 / 1.15 GB, free: 22.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0007763/1.262, allocations: 154.9 kB / 1.15 GB, free: 22.68 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.002015/1.264, allocations: 0.7271 MB / 1.151 GB, free: 22.38 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001708/1.265, allocations: 0.6004 MB / 1.151 GB, free: 22.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.387e-06/1.265, allocations: 0 / 1.151 GB, free: 22.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007528/1.266, allocations: 290.1 kB / 1.152 GB, free: 22.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009713/1.267, allocations: 97.39 kB / 1.152 GB, free: 22.15 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/1.27, allocations: 1.17 MB / 1.153 GB, free: 21.51 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005771/1.27, allocations: 0.8861 MB / 1.154 GB, free: 20.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005352/1.271, allocations: 94.7 kB / 1.154 GB, free: 20.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002816/1.271, allocations: 61.62 kB / 1.154 GB, free: 20.68 MB / 0.698 GB Notification: Performance of SimCode: time 1.312e-06/1.271, allocations: 4 kB / 1.154 GB, free: 20.68 MB / 0.698 GB Notification: Performance of Templates: time 0.0195/1.291, allocations: 7.305 MB / 1.161 GB, free: 15 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)