Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.793/1.793, allocations: 292.6 MB / 307.5 MB, free: 5.227 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.001119/0.001119, allocations: 185 kB / 377.1 MB, free: 1.52 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.698/1.698, allocations: 205.4 MB / 0.6367 GB, free: 8.652 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.0008729/0.0008728, allocations: 95.33 kB / 0.751 GB, free: 63.07 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003644/0.0003645, allocations: 8 kB / 0.8748 GB, free: 11.21 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.287/0.2874, allocations: 116.3 MB / 0.9884 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.834/1.121, allocations: 148.6 MB / 1.133 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/1.122, allocations: 94.52 kB / 1.134 GB, free: 28.28 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.03866/1.16, allocations: 13.99 MB / 1.147 GB, free: 18.61 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.294e-06/1.16, allocations: 0 / 1.147 GB, free: 18.61 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.536e-05/1.161, allocations: 20.64 kB / 1.147 GB, free: 18.59 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.001406/1.162, allocations: 0.9114 MB / 1.148 GB, free: 17.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/1.162, allocations: 12.02 kB / 1.148 GB, free: 17.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001331/1.162, allocations: 71.3 kB / 1.148 GB, free: 17.62 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007134/1.163, allocations: 472.7 kB / 1.149 GB, free: 17.18 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.804e-05/1.163, allocations: 46.17 kB / 1.149 GB, free: 17.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.001e-05/1.163, allocations: 57.45 kB / 1.149 GB, free: 17.08 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009997/1.164, allocations: 0.5686 MB / 1.149 GB, free: 16.59 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/1.164, allocations: 3.938 kB / 1.149 GB, free: 16.59 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.135e-05/1.164, allocations: 26.5 kB / 1.149 GB, free: 16.56 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.062e-05/1.164, allocations: 12 kB / 1.149 GB, free: 16.55 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/1.165, allocations: 464.6 kB / 1.15 GB, free: 16.17 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00218/1.167, allocations: 1.549 MB / 1.151 GB, free: 14.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008434/1.168, allocations: 0.5101 MB / 1.152 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.108e-05/1.168, allocations: 7.188 kB / 1.152 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005592/1.169, allocations: 317.8 kB / 1.152 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=63): time 2.244e-06/1.169, allocations: 0 / 1.152 GB, free: 14.16 MB / 0.7292 GB Notification: Performance of matching and sorting (n=63): time 0.001288/1.17, allocations: 0.6905 MB / 1.153 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.064e-05/1.17, allocations: 116.8 kB / 1.153 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004931/1.171, allocations: 463.3 kB / 1.153 GB, free: 13 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.346e-05/1.171, allocations: 59.81 kB / 1.153 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/1.171, allocations: 254.2 kB / 1.154 GB, free: 12.7 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001001/1.171, allocations: 150 kB / 1.154 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.809e-05/1.171, allocations: 16 kB / 1.154 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001003/1.171, allocations: 369.4 kB / 1.154 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000386/1.171, allocations: 200.5 kB / 1.154 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004331/1.172, allocations: 338 kB / 1.155 GB, free: 11.7 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003782/1.172, allocations: 231.5 kB / 1.155 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/1.172, allocations: 0 / 1.155 GB, free: 11.48 MB / 0.7292 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0009927/1.173, allocations: 0.6313 MB / 1.156 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.532e-05/1.173, allocations: 36.05 kB / 1.156 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.878e-06/1.173, allocations: 9.266 kB / 1.156 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.491e-05/1.173, allocations: 5.594 kB / 1.156 GB, free: 10.84 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003265/1.174, allocations: 89.38 kB / 1.156 GB, free: 10.76 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.135e-05/1.174, allocations: 8 kB / 1.156 GB, free: 10.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/1.174, allocations: 92.39 kB / 1.156 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-05/1.174, allocations: 25.48 kB / 1.156 GB, free: 10.66 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 () * 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.0002919/1.174, allocations: 265.2 kB / 1.156 GB, free: 10.4 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-05/1.175, allocations: 47.44 kB / 1.156 GB, free: 10.35 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001029/1.176, allocations: 0.5941 MB / 1.157 GB, free: 9.828 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.635e-06/1.176, allocations: 8 kB / 1.157 GB, free: 9.82 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/1.176, allocations: 8.703 kB / 1.157 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/1.176, allocations: 4.734 kB / 1.157 GB, free: 9.812 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001951/1.178, allocations: 1.384 MB / 1.158 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/1.178, allocations: 0 / 1.158 GB, free: 8.605 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002239/1.178, allocations: 59.91 kB / 1.158 GB, free: 8.547 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/1.178, allocations: 3.984 kB / 1.158 GB, free: 8.543 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.482e-05/1.178, allocations: 13.19 kB / 1.158 GB, free: 8.531 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/1.178, allocations: 8 kB / 1.158 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.178, allocations: 1.125 kB / 1.158 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008239/1.179, allocations: 0.6435 MB / 1.159 GB, free: 7.863 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001085/1.179, allocations: 148.4 kB / 1.159 GB, free: 7.699 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.854e-05/1.179, allocations: 12 kB / 1.159 GB, free: 7.688 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/1.179, allocations: 63.94 kB / 1.159 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/1.179, allocations: 88.42 kB / 1.159 GB, free: 7.539 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.306e-05/1.179, allocations: 28.73 kB / 1.159 GB, free: 7.512 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0003269/1.18, allocations: 339.1 kB / 1.159 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.31e-07/1.18, allocations: 0 / 1.159 GB, free: 7.18 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005476/1.18, allocations: 155.8 kB / 1.16 GB, free: 7.027 MB / 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) * 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.001561/1.182, allocations: 0.7235 MB / 1.16 GB, free: 6.562 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009774/1.183, allocations: 0.6009 MB / 1.161 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.183, allocations: 0 / 1.161 GB, free: 5.949 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004127/1.183, allocations: 287.1 kB / 1.161 GB, free: 5.672 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004508/1.184, allocations: 90.7 kB / 1.161 GB, free: 5.582 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001493/1.185, allocations: 1.159 MB / 1.162 GB, free: 4.402 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/1.186, allocations: 0.9086 MB / 1.163 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002862/1.186, allocations: 89.67 kB / 1.163 GB, free: 3.387 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001537/1.186, allocations: 55.42 kB / 1.163 GB, free: 3.332 MB / 0.7292 GB Notification: Performance of SimCode: time 6.41e-07/1.186, allocations: 4 kB / 1.163 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of Templates: time 0.01275/1.199, allocations: 7.274 MB / 1.17 GB, free: 12.12 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1)