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.624/1.624, allocations: 285.4 MB / 298 MB, free: 5.992 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.001256/0.001256, allocations: 196.2 kB / 366.4 MB, free: 2.113 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.737/1.737, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.0008204/0.0008202, allocations: 99.28 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.531e-05/3.542e-05, allocations: 4 kB / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7346/0.7346, allocations: 115.3 MB / 0.9709 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2092/0.9438, allocations: 147.6 MB / 1.115 GB, free: 4.254 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/0.9442, allocations: 99.92 kB / 1.115 GB, free: 4.156 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03893/0.9831, allocations: 13.93 MB / 1.129 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.286e-06/0.9832, allocations: 0 / 1.129 GB, free: 6.301 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.221e-05/0.9833, allocations: 19.98 kB / 1.129 GB, free: 6.281 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.002195/0.9855, allocations: 0.8416 MB / 1.13 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.99e-05/0.9856, allocations: 8.031 kB / 1.13 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003735/0.986, allocations: 75.14 kB / 1.13 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001272/0.9872, allocations: 472.3 kB / 1.13 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.687e-05/0.9873, allocations: 45 kB / 1.13 GB, free: 4.75 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001493/0.9875, allocations: 56 kB / 1.13 GB, free: 4.695 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001303/0.9888, allocations: 0.5389 MB / 1.131 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.9888, allocations: 0 / 1.131 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.173e-05/0.9889, allocations: 19.95 kB / 1.131 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.718e-05/0.9889, allocations: 15.94 kB / 1.131 GB, free: 4.102 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000993/0.9899, allocations: 423.8 kB / 1.131 GB, free: 3.688 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003551/0.9935, allocations: 1.547 MB / 1.133 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009734/0.9945, allocations: 471.9 kB / 1.133 GB, free: 1.613 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004119/0.9949, allocations: 207.4 kB / 1.133 GB, free: 1.406 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.215e-05/0.995, allocations: 12.5 kB / 1.133 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006196/0.9956, allocations: 295.1 kB / 1.134 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 4.449e-06/0.9956, allocations: 0 / 1.134 GB, free: 1.098 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001057/0.9967, allocations: 466.4 kB / 1.134 GB, free: 0.6328 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.9968, allocations: 116.3 kB / 1.134 GB, free: 0.4961 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009055/0.9978, allocations: 457.3 kB / 1.135 GB, free: 44 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001503/0.9979, allocations: 61.77 kB / 1.135 GB, free: 15.97 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003636/0.9983, allocations: 249.1 kB / 1.135 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002253/0.9985, allocations: 157.9 kB / 1.135 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.211e-05/0.9986, allocations: 16 kB / 1.135 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002819/0.9989, allocations: 370.8 kB / 1.135 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.9993, allocations: 177.5 kB / 1.136 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005227/0.9999, allocations: 302.8 kB / 1.136 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004386/1, allocations: 207.7 kB / 1.136 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.083e-06/1, allocations: 0 / 1.136 GB, free: 14.48 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001208/1.002, allocations: 0.5834 MB / 1.137 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 7.489e-05/1.002, allocations: 37.7 kB / 1.137 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/1.002, allocations: 3.953 kB / 1.137 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.074e-05/1.002, allocations: 8 kB / 1.137 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004694/1.002, allocations: 81.02 kB / 1.137 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.056e-05/1.002, allocations: 11.98 kB / 1.137 GB, free: 13.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006046/1.003, allocations: 87.61 kB / 1.137 GB, free: 13.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.197e-05/1.003, allocations: 24.03 kB / 1.137 GB, free: 13.62 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.0002724/1.003, allocations: 183.3 kB / 1.137 GB, free: 13.44 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001426/1.003, allocations: 51.34 kB / 1.137 GB, free: 13.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001173/1.005, allocations: 0.5538 MB / 1.138 GB, free: 12.83 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.481e-05/1.005, allocations: 12.64 kB / 1.138 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/1.005, allocations: 0 / 1.138 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/1.005, allocations: 3.984 kB / 1.138 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002589/1.007, allocations: 1.321 MB / 1.139 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/1.007, allocations: 0 / 1.139 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002891/1.008, allocations: 62.95 kB / 1.139 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.335e-05/1.008, allocations: 4 kB / 1.139 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.154e-05/1.008, allocations: 19.98 kB / 1.139 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.765e-06/1.008, allocations: 4 kB / 1.139 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/1.008, allocations: 0.5625 kB / 1.139 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001051/1.009, allocations: 0.5966 MB / 1.14 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002406/1.009, allocations: 144.4 kB / 1.14 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/1.009, allocations: 20 kB / 1.14 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00043/1.01, allocations: 59.94 kB / 1.14 GB, free: 10.49 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002451/1.01, allocations: 92.42 kB / 1.14 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.713e-05/1.01, allocations: 26.61 kB / 1.14 GB, free: 10.38 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0004556/1.01, allocations: 329.2 kB / 1.14 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.745e-06/1.01, allocations: 0 / 1.14 GB, free: 10.06 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0006775/1.011, allocations: 167.8 kB / 1.14 GB, free: 9.895 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.001709/1.013, allocations: 0.6335 MB / 1.141 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001076/1.014, allocations: 0.551 MB / 1.142 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/1.014, allocations: 0 / 1.142 GB, free: 8.949 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0004628/1.014, allocations: 271.1 kB / 1.142 GB, free: 8.684 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005758/1.015, allocations: 93.98 kB / 1.142 GB, free: 8.598 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001734/1.017, allocations: 0.7744 MB / 1.143 GB, free: 7.801 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006037/1.017, allocations: 0.897 MB / 1.144 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003407/1.018, allocations: 100.2 kB / 1.144 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001932/1.018, allocations: 59.41 kB / 1.144 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of SimCode: time 4.41e-07/1.018, allocations: 0 / 1.144 GB, free: 6.727 MB / 0.7448 GB Notification: Performance of Templates: time 0.01552/1.033, allocations: 7.29 MB / 1.151 GB, free: 15.55 MB / 0.7605 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)