Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json 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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.713/4.713, allocations: 0.5623 GB / 0.5775 GB, free: 3.379 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002429/0.002428, allocations: 357.8 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.034/4.034, allocations: 410.7 MB / 1.113 GB, free: 5.957 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001903/0.001903, allocations: 195.9 kB / 1.226 GB, free: 6.172 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004684/0.0004685, allocations: 12 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6973/0.6978, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2076/0.9055, allocations: 147.5 MB / 1.605 GB, free: 136.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003016/0.9058, allocations: 99.94 kB / 1.605 GB, free: 136.6 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.05215/0.958, allocations: 13.97 MB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9581, allocations: 1.125 kB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.456e-05/0.9581, allocations: 19.98 kB / 1.619 GB, free: 122.8 MB / 0.8542 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.001918/0.96, allocations: 0.9107 MB / 1.62 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.9601, allocations: 11.62 kB / 1.62 GB, free: 121.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000183/0.9603, allocations: 71.19 kB / 1.62 GB, free: 121.7 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008826/0.9612, allocations: 473.8 kB / 1.621 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.57e-05/0.9613, allocations: 46.22 kB / 1.621 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.9614, allocations: 63.98 kB / 1.621 GB, free: 121.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/0.9629, allocations: 0.5643 MB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.9629, allocations: 9.266 kB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.762e-05/0.963, allocations: 20 kB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.9631, allocations: 13.17 kB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001418/0.9645, allocations: 470.5 kB / 1.622 GB, free: 120 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003295/0.9678, allocations: 1.549 MB / 1.623 GB, free: 118.4 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001442/0.9693, allocations: 0.5031 MB / 1.624 GB, free: 117.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006816/0.97, allocations: 243.1 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 5.811e-05/0.97, allocations: 10.61 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008626/0.9709, allocations: 325.9 kB / 1.624 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=63): time 3.226e-06/0.9709, allocations: 0 / 1.624 GB, free: 117.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=63): time 0.002206/0.9732, allocations: 0.6848 MB / 1.625 GB, free: 116.7 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.777e-05/0.9732, allocations: 112 kB / 1.625 GB, free: 116.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008149/0.9741, allocations: 0.4973 MB / 1.625 GB, free: 116 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001086/0.9742, allocations: 54.39 kB / 1.626 GB, free: 116 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002068/0.9744, allocations: 262.2 kB / 1.626 GB, free: 115.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001573/0.9746, allocations: 146.1 kB / 1.626 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.09e-05/0.9746, allocations: 16 kB / 1.626 GB, free: 115.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001082/0.9748, allocations: 363.6 kB / 1.626 GB, free: 115.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006958/0.9755, allocations: 208.2 kB / 1.626 GB, free: 115 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/0.9763, allocations: 340.1 kB / 1.627 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006671/0.9769, allocations: 228.9 kB / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.977, allocations: 0 / 1.627 GB, free: 114.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001789/0.9788, allocations: 0.6431 MB / 1.628 GB, free: 113.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.927e-05/0.9788, allocations: 33.3 kB / 1.628 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.9788, allocations: 4 kB / 1.628 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.385e-05/0.9789, allocations: 10.92 kB / 1.628 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.9795, allocations: 87.77 kB / 1.628 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.9795, allocations: 7.984 kB / 1.628 GB, free: 113.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/0.9803, allocations: 82.39 kB / 1.628 GB, free: 113.5 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.885e-05/0.9804, allocations: 29.02 kB / 1.628 GB, free: 113.5 MB / 0.8542 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.0004907/0.9809, allocations: 264.1 kB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001246/0.981, allocations: 52.27 kB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001741/0.9828, allocations: 0.6012 MB / 1.629 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.428e-06/0.9828, allocations: 6.406 kB / 1.629 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.9828, allocations: 0 / 1.629 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.008e-05/0.9828, allocations: 3.984 kB / 1.629 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.986, allocations: 1.381 MB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.986, allocations: 3.938 kB / 1.63 GB, free: 111.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000456/0.9865, allocations: 63.84 kB / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.607e-06/0.9865, allocations: 4 kB / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.425e-05/0.9866, allocations: 15.98 kB / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.202e-06/0.9866, allocations: 0 / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.9866, allocations: 0.9375 kB / 1.63 GB, free: 111.1 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001577/0.9882, allocations: 0.6582 MB / 1.631 GB, free: 110.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001496/0.9884, allocations: 136.4 kB / 1.631 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001235/0.9885, allocations: 21.16 kB / 1.631 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006413/0.9891, allocations: 60 kB / 1.631 GB, free: 110.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002785/0.9894, allocations: 96.42 kB / 1.631 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.577e-05/0.9895, allocations: 19.98 kB / 1.631 GB, free: 110.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000515/0.9901, allocations: 335.1 kB / 1.632 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.2e-07/0.9901, allocations: 0 / 1.632 GB, free: 109.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0007556/0.9908, allocations: 158.9 kB / 1.632 GB, free: 109.6 MB / 0.8542 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.001973/0.9928, allocations: 0.726 MB / 1.632 GB, free: 109.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001775/0.9946, allocations: 0.5987 MB / 1.633 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.9946, allocations: 0 / 1.633 GB, free: 108.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007763/0.9954, allocations: 292.6 kB / 1.633 GB, free: 108.4 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009482/0.9964, allocations: 98.55 kB / 1.633 GB, free: 108.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002429/0.9988, allocations: 1.166 MB / 1.634 GB, free: 107.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.9993, allocations: 0.907 MB / 1.635 GB, free: 106.2 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005195/0.9998, allocations: 87.67 kB / 1.635 GB, free: 106.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/1, allocations: 51.42 kB / 1.635 GB, free: 106 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/1, allocations: 0 / 1.635 GB, free: 106 MB / 0.8542 GB Notification: Performance of Templates: time 0.01915/1.019, allocations: 7.302 MB / 1.643 GB, free: 98.94 MB / 0.8542 GB