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.638/1.638, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001094/0.001094, allocations: 179.6 kB / 371.6 MB, free: 3.395 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.681/1.681, allocations: 205.1 MB / 0.6309 GB, free: 11.72 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.0008608/0.0008608, allocations: 89.91 kB / 0.745 GB, free: 54.79 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.469e-05, allocations: 0 / 0.8662 GB, free: 15.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2881, allocations: 116.3 MB / 0.9798 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9092/1.197, allocations: 148.5 MB / 1.125 GB, free: 37.51 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002665/1.198, allocations: 100.2 kB / 1.125 GB, free: 37.47 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.03475/1.232, allocations: 13.93 MB / 1.139 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.994e-06/1.232, allocations: 4 kB / 1.139 GB, free: 30.12 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.289e-05/1.233, allocations: 16 kB / 1.139 GB, free: 30.1 MB / 0.7448 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.001341/1.234, allocations: 0.845 MB / 1.139 GB, free: 29.32 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.703e-05/1.234, allocations: 8.922 kB / 1.139 GB, free: 29.31 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001343/1.234, allocations: 74.42 kB / 1.139 GB, free: 29.24 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007604/1.235, allocations: 468.5 kB / 1.14 GB, free: 28.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.38e-05/1.235, allocations: 45.64 kB / 1.14 GB, free: 28.86 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.517e-05/1.235, allocations: 56.08 kB / 1.14 GB, free: 28.82 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009133/1.236, allocations: 0.5393 MB / 1.141 GB, free: 28.51 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/1.236, allocations: 0.8438 kB / 1.141 GB, free: 28.51 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.288e-05/1.236, allocations: 24 kB / 1.141 GB, free: 28.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/1.236, allocations: 15.98 kB / 1.141 GB, free: 28.48 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006669/1.237, allocations: 424.3 kB / 1.141 GB, free: 28.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002474/1.239, allocations: 1.549 MB / 1.142 GB, free: 27.4 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006704/1.24, allocations: 458.5 kB / 1.143 GB, free: 27.12 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002959/1.24, allocations: 218 kB / 1.143 GB, free: 27 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.918e-05/1.24, allocations: 8.547 kB / 1.143 GB, free: 26.99 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004985/1.241, allocations: 296.4 kB / 1.143 GB, free: 26.8 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=63): time 3.026e-06/1.241, allocations: 0 / 1.143 GB, free: 26.8 MB / 0.7448 GB Notification: Performance of matching and sorting (n=63): time 0.0008056/1.242, allocations: 464.6 kB / 1.144 GB, free: 26.48 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.692e-05/1.242, allocations: 116.4 kB / 1.144 GB, free: 26.35 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/1.242, allocations: 461.8 kB / 1.144 GB, free: 26.03 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.984e-05/1.242, allocations: 55.19 kB / 1.144 GB, free: 25.99 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001831/1.242, allocations: 255.7 kB / 1.145 GB, free: 25.83 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.000143/1.243, allocations: 155.8 kB / 1.145 GB, free: 25.71 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.078e-05/1.243, allocations: 14.06 kB / 1.145 GB, free: 25.71 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001287/1.243, allocations: 366.2 kB / 1.145 GB, free: 25.39 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002794/1.243, allocations: 178.4 kB / 1.145 GB, free: 25.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003737/1.243, allocations: 312.8 kB / 1.146 GB, free: 25.04 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003191/1.244, allocations: 203.3 kB / 1.146 GB, free: 24.91 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/1.244, allocations: 0.6562 kB / 1.146 GB, free: 24.91 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00084/1.245, allocations: 0.5818 MB / 1.146 GB, free: 24.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.834e-05/1.245, allocations: 34.88 kB / 1.146 GB, free: 24.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.103e-05/1.245, allocations: 5.578 kB / 1.146 GB, free: 24.44 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/1.245, allocations: 12 kB / 1.147 GB, free: 24.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/1.245, allocations: 84.97 kB / 1.147 GB, free: 24.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/1.245, allocations: 4 kB / 1.147 GB, free: 24.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004033/1.246, allocations: 92.14 kB / 1.147 GB, free: 24.3 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.983e-05/1.246, allocations: 28.08 kB / 1.147 GB, free: 24.28 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.0001638/1.246, allocations: 173.1 kB / 1.147 GB, free: 24.12 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.067e-05/1.246, allocations: 52.7 kB / 1.147 GB, free: 24.07 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009549/1.247, allocations: 0.5536 MB / 1.147 GB, free: 23.74 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.165e-06/1.247, allocations: 8.516 kB / 1.147 GB, free: 23.73 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.247, allocations: 4 kB / 1.147 GB, free: 23.73 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/1.247, allocations: 4.5 kB / 1.147 GB, free: 23.73 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001881/1.249, allocations: 1.321 MB / 1.149 GB, free: 22.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/1.249, allocations: 0 / 1.149 GB, free: 22.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000252/1.249, allocations: 65.39 kB / 1.149 GB, free: 22.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.763e-06/1.249, allocations: 4 kB / 1.149 GB, free: 22.85 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.504e-05/1.249, allocations: 15.36 kB / 1.149 GB, free: 22.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.51e-06/1.249, allocations: 0.7969 kB / 1.149 GB, free: 22.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/1.249, allocations: 4 kB / 1.149 GB, free: 22.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007933/1.25, allocations: 0.5956 MB / 1.149 GB, free: 22.39 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/1.25, allocations: 143.6 kB / 1.15 GB, free: 22.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.457e-05/1.25, allocations: 16.06 kB / 1.15 GB, free: 22.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003662/1.25, allocations: 65.73 kB / 1.15 GB, free: 22.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000246/1.251, allocations: 89.83 kB / 1.15 GB, free: 22.17 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.833e-05/1.251, allocations: 22.69 kB / 1.15 GB, free: 22.15 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003975/1.251, allocations: 338.1 kB / 1.15 GB, free: 21.92 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.4e-07/1.251, allocations: 0 / 1.15 GB, free: 21.92 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000635/1.252, allocations: 159.2 kB / 1.15 GB, free: 21.79 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.00158/1.253, allocations: 0.6553 MB / 1.151 GB, free: 21.36 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0008605/1.254, allocations: 0.5477 MB / 1.151 GB, free: 20.96 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.254, allocations: 0 / 1.151 GB, free: 20.96 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004058/1.255, allocations: 263.9 kB / 1.152 GB, free: 20.79 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/1.255, allocations: 81.39 kB / 1.152 GB, free: 20.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/1.257, allocations: 0.7805 MB / 1.153 GB, free: 20.16 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/1.257, allocations: 0.9037 MB / 1.153 GB, free: 19.32 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003081/1.257, allocations: 93.89 kB / 1.153 GB, free: 19.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001668/1.257, allocations: 56.98 kB / 1.154 GB, free: 19.2 MB / 0.7448 GB Notification: Performance of SimCode: time 5.61e-07/1.257, allocations: 4 kB / 1.154 GB, free: 19.2 MB / 0.7448 GB Notification: Performance of Templates: time 0.01382/1.271, allocations: 7.293 MB / 1.161 GB, free: 14.97 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)