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.567/1.567, allocations: 288.4 MB / 304.3 MB, free: 8.055 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.0009376/0.0009378, allocations: 187 kB / 372.9 MB, free: 10.16 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.337/1.337, allocations: 205.4 MB / 0.6317 GB, free: 9.926 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.0007495/0.0007495, allocations: 86.36 kB / 0.745 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003896/0.0003896, allocations: 15.56 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1824/0.1828, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6365/0.8194, allocations: 147.7 MB / 1.125 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002746/0.8197, allocations: 103.8 kB / 1.125 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03112/0.8508, allocations: 14.02 MB / 1.139 GB, free: 28.24 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.844e-06/0.8509, allocations: 3.812 kB / 1.139 GB, free: 28.24 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.944e-05/0.8509, allocations: 15.62 kB / 1.139 GB, free: 28.23 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.00135/0.8523, allocations: 0.9099 MB / 1.14 GB, free: 27.5 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.802e-05/0.8523, allocations: 11.66 kB / 1.14 GB, free: 27.5 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.8524, allocations: 66.94 kB / 1.14 GB, free: 27.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006042/0.8531, allocations: 492.2 kB / 1.14 GB, free: 27.13 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.621e-05/0.8531, allocations: 47.5 kB / 1.14 GB, free: 27.13 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.464e-05/0.8532, allocations: 58 kB / 1.14 GB, free: 27.13 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009121/0.8541, allocations: 0.5658 MB / 1.141 GB, free: 26.94 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/0.8541, allocations: 192 / 1.141 GB, free: 26.94 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.692e-05/0.8542, allocations: 29.91 kB / 1.141 GB, free: 26.93 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.8542, allocations: 11.66 kB / 1.141 GB, free: 26.93 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007805/0.855, allocations: 466.3 kB / 1.141 GB, free: 26.86 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001949/0.857, allocations: 1.56 MB / 1.143 GB, free: 26.09 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008095/0.8578, allocations: 0.4971 MB / 1.143 GB, free: 26 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003597/0.8582, allocations: 243.9 kB / 1.144 GB, free: 25.96 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.494e-05/0.8582, allocations: 12.09 kB / 1.144 GB, free: 25.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005103/0.8587, allocations: 323.3 kB / 1.144 GB, free: 25.82 MB / 0.698 GB Notification: Performance of pre-optimization done (n=63): time 2.154e-06/0.8587, allocations: 0 / 1.144 GB, free: 25.82 MB / 0.698 GB Notification: Performance of matching and sorting (n=63): time 0.001162/0.8599, allocations: 0.6867 MB / 1.145 GB, free: 25.67 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.86, allocations: 115 kB / 1.145 GB, free: 25.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004281/0.8604, allocations: 0.4982 MB / 1.145 GB, free: 25.36 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.288e-05/0.8605, allocations: 52.02 kB / 1.145 GB, free: 25.32 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001332/0.8606, allocations: 251.7 kB / 1.145 GB, free: 25.18 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.74e-05/0.8607, allocations: 161.6 kB / 1.146 GB, free: 25.08 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.571e-05/0.8607, allocations: 14.59 kB / 1.146 GB, free: 25.08 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.8609, allocations: 370.5 kB / 1.146 GB, free: 24.75 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003641/0.8612, allocations: 205.2 kB / 1.146 GB, free: 24.72 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004253/0.8617, allocations: 341.2 kB / 1.147 GB, free: 24.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006559/0.8623, allocations: 457.9 kB / 1.147 GB, free: 24.42 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.8624, allocations: 0 / 1.147 GB, free: 24.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009238/0.8633, allocations: 0.6274 MB / 1.148 GB, free: 24.25 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.071e-05/0.8633, allocations: 37.34 kB / 1.148 GB, free: 24.21 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.772e-06/0.8633, allocations: 3.812 kB / 1.148 GB, free: 24.21 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.597e-05/0.8634, allocations: 3.875 kB / 1.148 GB, free: 24.21 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003057/0.8637, allocations: 92.33 kB / 1.148 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.8637, allocations: 3.812 kB / 1.148 GB, free: 24.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.864, allocations: 90.34 kB / 1.148 GB, free: 24.15 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.311e-05/0.8641, allocations: 23 kB / 1.148 GB, free: 24.15 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.0002576/0.8644, allocations: 279.3 kB / 1.148 GB, free: 23.99 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.8644, allocations: 54.19 kB / 1.148 GB, free: 23.96 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009483/0.8654, allocations: 0.5888 MB / 1.149 GB, free: 23.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/0.8654, allocations: 11.83 kB / 1.149 GB, free: 23.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.8654, allocations: 0 / 1.149 GB, free: 23.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.8654, allocations: 0 / 1.149 GB, free: 23.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00174/0.8672, allocations: 1.38 MB / 1.15 GB, free: 23.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.8672, allocations: 0 / 1.15 GB, free: 23.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/0.8674, allocations: 69.67 kB / 1.15 GB, free: 23.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.045e-06/0.8674, allocations: 0 / 1.15 GB, free: 23.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.011e-05/0.8675, allocations: 22.89 kB / 1.15 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.8675, allocations: 0 / 1.15 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8675, allocations: 0 / 1.15 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008169/0.8683, allocations: 0.6434 MB / 1.151 GB, free: 22.98 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001072/0.8684, allocations: 146.1 kB / 1.151 GB, free: 22.85 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.018e-05/0.8685, allocations: 26.14 kB / 1.151 GB, free: 22.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003305/0.8688, allocations: 64.72 kB / 1.151 GB, free: 22.82 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001606/0.869, allocations: 87.61 kB / 1.151 GB, free: 22.78 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.376e-05/0.869, allocations: 26.72 kB / 1.151 GB, free: 22.78 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002845/0.8693, allocations: 334.8 kB / 1.151 GB, free: 22.65 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8693, allocations: 0 / 1.151 GB, free: 22.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004741/0.8698, allocations: 150.1 kB / 1.152 GB, free: 22.64 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.001358/0.8712, allocations: 0.7251 MB / 1.152 GB, free: 22.29 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000925/0.8721, allocations: 0.605 MB / 1.153 GB, free: 22.13 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.8721, allocations: 0 / 1.153 GB, free: 22.13 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004176/0.8726, allocations: 295.7 kB / 1.153 GB, free: 22.09 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005399/0.8731, allocations: 103.1 kB / 1.153 GB, free: 22.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.8746, allocations: 1.17 MB / 1.154 GB, free: 21.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003971/0.875, allocations: 0.8903 MB / 1.155 GB, free: 20.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002695/0.8753, allocations: 94.48 kB / 1.155 GB, free: 20.6 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001476/0.8754, allocations: 53.64 kB / 1.155 GB, free: 20.59 MB / 0.698 GB Notification: Performance of SimCode: time 3.11e-07/0.8754, allocations: 0 / 1.155 GB, free: 20.59 MB / 0.698 GB Notification: Performance of Templates: time 0.01095/0.8864, allocations: 7.367 MB / 1.163 GB, free: 13.57 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)