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.561/2.561, allocations: 285 MB / 292.5 MB, free: 10.51 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.001511/0.001511, allocations: 184.9 kB / 360.7 MB, free: 7.227 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 1.958/1.958, allocations: 205.3 MB / 0.6192 GB, free: 12.12 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.001345/0.001345, allocations: 87.17 kB / 0.7322 GB, free: 44.69 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.076e-05/2.089e-05, allocations: 0 / 0.8509 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8901/0.8902, allocations: 115.3 MB / 0.9634 GB, free: 78.5 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2516/1.142, allocations: 146.7 MB / 1.107 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003744/1.142, allocations: 91.94 kB / 1.107 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.06196/1.204, allocations: 13.79 MB / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.984e-06/1.204, allocations: 0 / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.659e-05/1.204, allocations: 16 kB / 1.12 GB, free: 11.93 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.002313/1.207, allocations: 0.8399 MB / 1.121 GB, free: 11.03 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.18e-05/1.207, allocations: 12.03 kB / 1.121 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003183/1.207, allocations: 71.16 kB / 1.121 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001224/1.208, allocations: 472.6 kB / 1.122 GB, free: 10.44 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.004e-05/1.208, allocations: 24 kB / 1.122 GB, free: 10.42 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/1.209, allocations: 35.98 kB / 1.122 GB, free: 10.38 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001227/1.21, allocations: 390.5 kB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001338/1.211, allocations: 489.9 kB / 1.123 GB, free: 9.504 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.066e-05/1.211, allocations: 4 kB / 1.123 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.318e-05/1.211, allocations: 3.984 kB / 1.123 GB, free: 9.496 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/1.211, allocations: 12 kB / 1.123 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004069/1.215, allocations: 1.441 MB / 1.124 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00111/1.217, allocations: 443.1 kB / 1.124 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004979/1.217, allocations: 203.1 kB / 1.125 GB, free: 7.359 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.233e-05/1.217, allocations: 12.69 kB / 1.125 GB, free: 7.348 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007301/1.218, allocations: 277.9 kB / 1.125 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 3.757e-06/1.218, allocations: 3.281 kB / 1.125 GB, free: 7.066 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001316/1.219, allocations: 426.5 kB / 1.125 GB, free: 6.641 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.065e-05/1.219, allocations: 115.4 kB / 1.125 GB, free: 6.504 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008738/1.22, allocations: 436.8 kB / 1.126 GB, free: 6.074 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.000136/1.22, allocations: 45.69 kB / 1.126 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003227/1.221, allocations: 257.1 kB / 1.126 GB, free: 5.766 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002262/1.221, allocations: 157.9 kB / 1.126 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.424e-05/1.221, allocations: 0 / 1.126 GB, free: 5.609 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002151/1.221, allocations: 362.8 kB / 1.127 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005002/1.222, allocations: 169.5 kB / 1.127 GB, free: 5.082 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/1.222, allocations: 286.5 kB / 1.127 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005157/1.223, allocations: 160.5 kB / 1.127 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.651e-06/1.223, allocations: 0 / 1.127 GB, free: 4.609 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001444/1.224, allocations: 0.4956 MB / 1.128 GB, free: 4.109 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 5.986e-05/1.225, allocations: 33.7 kB / 1.128 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.555e-05/1.225, allocations: 7.984 kB / 1.128 GB, free: 4.062 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/1.225, allocations: 7.953 kB / 1.128 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006583/1.225, allocations: 83.83 kB / 1.128 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.709e-05/1.225, allocations: 12.19 kB / 1.128 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007536/1.226, allocations: 67.69 kB / 1.128 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.706e-05/1.226, allocations: 33.81 kB / 1.128 GB, free: 3.867 MB / 0.7292 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.000279/1.226, allocations: 157.4 kB / 1.128 GB, free: 3.707 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/1.227, allocations: 51.34 kB / 1.128 GB, free: 3.656 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001559/1.228, allocations: 0.4932 MB / 1.129 GB, free: 3.152 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.745e-05/1.228, allocations: 11.95 kB / 1.129 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.228, allocations: 4 kB / 1.129 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/1.228, allocations: 3.984 kB / 1.129 GB, free: 3.133 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00322/1.232, allocations: 1.208 MB / 1.13 GB, free: 1.879 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.304e-06/1.232, allocations: 5.688 kB / 1.13 GB, free: 1.875 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004864/1.232, allocations: 59.91 kB / 1.13 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.146e-05/1.232, allocations: 0 / 1.13 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.641e-05/1.232, allocations: 7.984 kB / 1.13 GB, free: 1.809 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.075e-06/1.232, allocations: 4 kB / 1.13 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.927e-06/1.232, allocations: 0 / 1.13 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/1.234, allocations: 0.5615 MB / 1.13 GB, free: 1.227 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002147/1.234, allocations: 155.1 kB / 1.131 GB, free: 1.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001164/1.234, allocations: 8 kB / 1.131 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006936/1.235, allocations: 47.94 kB / 1.131 GB, free: 1.004 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003025/1.235, allocations: 88.42 kB / 1.131 GB, free: 0.918 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/1.235, allocations: 31.98 kB / 1.131 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0005715/1.236, allocations: 310.9 kB / 1.131 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4.31e-07/1.236, allocations: 0 / 1.131 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0008538/1.237, allocations: 131.9 kB / 1.131 GB, free: 468 kB / 0.7292 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.001843/1.238, allocations: 0.5984 MB / 1.132 GB, free: 132 kB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001536/1.24, allocations: 0.5133 MB / 1.132 GB, free: 15.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/1.24, allocations: 4 kB / 1.132 GB, free: 15.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0006441/1.241, allocations: 246 kB / 1.132 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008516/1.242, allocations: 77.88 kB / 1.133 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/1.244, allocations: 0.7411 MB / 1.133 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006963/1.245, allocations: 0.9054 MB / 1.134 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0006066/1.245, allocations: 92.56 kB / 1.134 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003001/1.246, allocations: 55.42 kB / 1.134 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of SimCode: time 9.12e-07/1.246, allocations: 2.062 kB / 1.134 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of Templates: time 0.02271/1.268, allocations: 6.918 MB / 1.141 GB, free: 6.629 MB / 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)