Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.514/2.514, allocations: 284.8 MB / 297.3 MB, free: 6.309 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001464/0.001464, allocations: 184.8 kB / 365.7 MB, free: 2.582 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.097/2.097, allocations: 205.1 MB / 0.6241 GB, free: 8.16 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001104, allocations: 91.78 kB / 0.7372 GB, free: 40.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.169e-05/4.19e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7772/0.7773, allocations: 115.2 MB / 0.97 GB, free: 78.22 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2517/1.029, allocations: 147.4 MB / 1.114 GB, free: 5.02 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003701/1.029, allocations: 95.5 kB / 1.114 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06256/1.092, allocations: 13.96 MB / 1.128 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.953e-06/1.092, allocations: 0 / 1.128 GB, free: 7.055 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.414e-05/1.092, allocations: 16 kB / 1.128 GB, free: 7.039 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.002179/1.094, allocations: 0.8315 MB / 1.128 GB, free: 6.145 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.565e-05/1.094, allocations: 12.03 kB / 1.128 GB, free: 6.133 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002794/1.095, allocations: 79.08 kB / 1.129 GB, free: 6.055 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001212/1.096, allocations: 472.3 kB / 1.129 GB, free: 5.555 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.794e-05/1.096, allocations: 45 kB / 1.129 GB, free: 5.512 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001373/1.096, allocations: 52 kB / 1.129 GB, free: 5.461 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001574/1.098, allocations: 0.5389 MB / 1.13 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.483e-05/1.098, allocations: 3.953 kB / 1.13 GB, free: 4.898 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-05/1.098, allocations: 20 kB / 1.13 GB, free: 4.879 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.963e-05/1.098, allocations: 12 kB / 1.13 GB, free: 4.867 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001264/1.099, allocations: 423.8 kB / 1.13 GB, free: 4.453 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004218/1.104, allocations: 1.547 MB / 1.132 GB, free: 2.855 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001329/1.105, allocations: 470.8 kB / 1.132 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005596/1.106, allocations: 212.5 kB / 1.132 GB, free: 2.176 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 7.59e-05/1.106, allocations: 16.5 kB / 1.132 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000789/1.106, allocations: 291.1 kB / 1.133 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.847e-06/1.106, allocations: 1.5 kB / 1.133 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001442/1.108, allocations: 466.4 kB / 1.133 GB, free: 1.402 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.102e-05/1.108, allocations: 115.4 kB / 1.133 GB, free: 1.266 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009522/1.109, allocations: 466.4 kB / 1.134 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001281/1.109, allocations: 49.7 kB / 1.134 GB, free: 0.7461 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002843/1.109, allocations: 249.2 kB / 1.134 GB, free: 0.5 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.000214/1.11, allocations: 161.9 kB / 1.134 GB, free: 348 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/1.11, allocations: 12 kB / 1.134 GB, free: 336 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002171/1.11, allocations: 370.8 kB / 1.134 GB, free: 15.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005637/1.11, allocations: 177.5 kB / 1.134 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006916/1.111, allocations: 304.5 kB / 1.135 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006064/1.112, allocations: 203.7 kB / 1.135 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.39e-06/1.112, allocations: 0 / 1.135 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001635/1.113, allocations: 0.591 MB / 1.136 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 5.313e-05/1.114, allocations: 37.66 kB / 1.136 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/1.114, allocations: 0 / 1.136 GB, free: 14.6 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.057e-05/1.114, allocations: 5.781 kB / 1.136 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006744/1.114, allocations: 87.81 kB / 1.136 GB, free: 14.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.867e-05/1.114, allocations: 4 kB / 1.136 GB, free: 14.5 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007677/1.115, allocations: 83.89 kB / 1.136 GB, free: 14.42 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.675e-05/1.115, allocations: 31.92 kB / 1.136 GB, free: 14.39 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.000288/1.116, allocations: 180.8 kB / 1.136 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001421/1.116, allocations: 51.34 kB / 1.136 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001603/1.117, allocations: 0.5559 MB / 1.137 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.117, allocations: 4 kB / 1.137 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.117, allocations: 0 / 1.137 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/1.117, allocations: 11.98 kB / 1.137 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003233/1.121, allocations: 1.317 MB / 1.138 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.121, allocations: 2.125 kB / 1.138 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005159/1.121, allocations: 67.89 kB / 1.138 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.389e-05/1.121, allocations: 4 kB / 1.138 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.768e-05/1.121, allocations: 15.98 kB / 1.138 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.681e-06/1.121, allocations: 0 / 1.138 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/1.121, allocations: 0 / 1.138 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001404/1.123, allocations: 0.6005 MB / 1.139 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001981/1.123, allocations: 142.7 kB / 1.139 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001267/1.123, allocations: 20 kB / 1.139 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006811/1.124, allocations: 59.94 kB / 1.139 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003132/1.124, allocations: 92.42 kB / 1.139 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.207e-05/1.124, allocations: 23.98 kB / 1.139 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0006544/1.125, allocations: 329.2 kB / 1.139 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4.81e-07/1.125, allocations: 4 kB / 1.139 GB, free: 10.83 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.000829/1.126, allocations: 159.8 kB / 1.139 GB, free: 10.67 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.001973/1.128, allocations: 0.6539 MB / 1.14 GB, free: 10.34 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.001584/1.129, allocations: 0.5432 MB / 1.14 GB, free: 9.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/1.129, allocations: 4.5 kB / 1.14 GB, free: 9.781 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006995/1.13, allocations: 271.1 kB / 1.141 GB, free: 9.512 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008397/1.131, allocations: 84.55 kB / 1.141 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002317/1.133, allocations: 0.7771 MB / 1.142 GB, free: 8.637 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006747/1.134, allocations: 0.9048 MB / 1.142 GB, free: 7.703 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0005895/1.135, allocations: 86.7 kB / 1.143 GB, free: 7.621 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003022/1.135, allocations: 59.41 kB / 1.143 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of SimCode: time 1.102e-06/1.135, allocations: 0 / 1.143 GB, free: 7.562 MB / 0.7448 GB Notification: Performance of Templates: time 0.02296/1.158, allocations: 7.292 MB / 1.15 GB, free: 400 kB / 0.7448 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)