Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage") translateModel(Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.727/1.727, allocations: 297.8 MB / 313.7 MB, free: 52 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 182 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 0.6626 GB, free: 4.27 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007958/0.0007958, allocations: 91.53 kB / 0.7808 GB, free: 50.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004591/0.0004592, allocations: 12.88 kB / 0.9088 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7313/0.7318, allocations: 120.3 MB / 1.026 GB, free: 55.85 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9192/1.651, allocations: 375.2 MB / 1.393 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003158/1.651, allocations: 112.6 kB / 1.393 GB, free: 255.4 MB / 0.9323 GB Notification: Performance of FrontEnd - DAE generated: time 0.05543/1.707, allocations: 23.76 MB / 1.416 GB, free: 253 MB / 0.9323 GB Notification: Performance of FrontEnd: time 1.573e-06/1.707, allocations: 0 / 1.416 GB, free: 253 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 5.129e-05/1.707, allocations: 19.88 kB / 1.416 GB, free: 253 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.001712/1.709, allocations: 0.8245 MB / 1.417 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/1.709, allocations: 9.688 kB / 1.417 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000228/1.709, allocations: 67.25 kB / 1.417 GB, free: 252.4 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01069/1.72, allocations: 5.693 MB / 1.423 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.678e-05/1.72, allocations: 45.97 kB / 1.423 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/1.72, allocations: 62.95 kB / 1.423 GB, free: 251.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/1.721, allocations: 0.5594 MB / 1.423 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/1.721, allocations: 1.812 kB / 1.423 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.881e-05/1.721, allocations: 26.16 kB / 1.423 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/1.721, allocations: 12.78 kB / 1.423 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000811/1.722, allocations: 433.3 kB / 1.424 GB, free: 251.6 MB / 0.9323 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/1.724, allocations: 1.502 MB / 1.425 GB, free: 251.2 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006588/1.725, allocations: 416.1 kB / 1.425 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003343/1.725, allocations: 199.6 kB / 1.426 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 3.333e-05/1.725, allocations: 11.52 kB / 1.426 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004655/1.726, allocations: 272.7 kB / 1.426 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=55): time 3.887e-06/1.726, allocations: 0 / 1.426 GB, free: 251.1 MB / 0.9323 GB Notification: Performance of matching and sorting (n=55): time 0.001151/1.727, allocations: 0.5637 MB / 1.426 GB, free: 251 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/1.727, allocations: 89.52 kB / 1.427 GB, free: 250.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004761/1.728, allocations: 399 kB / 1.427 GB, free: 250.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 7.348e-05/1.728, allocations: 55.19 kB / 1.427 GB, free: 250.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001458/1.728, allocations: 230.3 kB / 1.427 GB, free: 250.6 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001091/1.728, allocations: 142.7 kB / 1.427 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.218e-05/1.728, allocations: 13.78 kB / 1.427 GB, free: 250.5 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 9.435e-05/1.728, allocations: 354.3 kB / 1.428 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003267/1.728, allocations: 173 kB / 1.428 GB, free: 250.2 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/1.729, allocations: 288.8 kB / 1.428 GB, free: 250.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005339/1.729, allocations: 360.2 kB / 1.429 GB, free: 250 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/1.729, allocations: 4 kB / 1.429 GB, free: 250 MB / 0.9323 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0008106/1.73, allocations: 0.5077 MB / 1.429 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 2.055e-05/1.73, allocations: 8.156 kB / 1.429 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/1.73, allocations: 2.969 kB / 1.429 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.73, allocations: 13.14 kB / 1.429 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002646/1.73, allocations: 68.08 kB / 1.429 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.336e-05/1.73, allocations: 3.25 kB / 1.429 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002887/1.731, allocations: 55.56 kB / 1.429 GB, free: 249.9 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.109e-05/1.731, allocations: 29.75 kB / 1.429 GB, free: 249.9 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.chiStaCon.offToOne.enableFire,$PRE.chiStaCon.oneToTwo.enableFire,$PRE.chiStaCon.twoToOne.enableFire,$PRE.chiStaCon.oneToOff.enableFire,$whenCondition5,$PRE.on.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.on,chiStaCon.y[1],$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.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.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.offToOne.enableFire,chiStaCon.offToOne.fire,$PRE.chiStaCon.offToOne.t_start,chiStaCon.offToOne.t_start,chiStaCon.oneToTwo.enableFire,chiStaCon.oneToTwo.fire,$PRE.chiStaCon.oneToTwo.t_start,chiStaCon.oneToTwo.t_start,chiStaCon.twoToOne.enableFire,chiStaCon.twoToOne.fire,$PRE.chiStaCon.twoToOne.t_start,chiStaCon.twoToOne.t_start,chiStaCon.oneToOff.enableFire,chiStaCon.oneToOff.fire,$PRE.chiStaCon.oneToOff.t_start,chiStaCon.oneToOff.t_start,$PRE.chiStaCon.thrOneToTwo.y,chiStaCon.thrOneToTwo.y,chiStaCon.TwoToOne.y,on.combiTimeTable.nextTimeEvent,$PRE.on.combiTimeTable.nextTimeEventScaled,on.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * 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.0002714/1.731, allocations: 239.2 kB / 1.429 GB, free: 249.8 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.473e-05/1.731, allocations: 52.41 kB / 1.429 GB, free: 249.7 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007768/1.732, allocations: 0.4927 MB / 1.43 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/1.732, allocations: 10.09 kB / 1.43 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/1.732, allocations: 3.438 kB / 1.43 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.804e-06/1.732, allocations: 6.703 kB / 1.43 GB, free: 249.6 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001557/1.734, allocations: 1.218 MB / 1.431 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/1.734, allocations: 0 / 1.431 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001663/1.734, allocations: 48.73 kB / 1.431 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.518e-06/1.734, allocations: 0 / 1.431 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.998e-05/1.734, allocations: 17.69 kB / 1.431 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/1.734, allocations: 1.5 kB / 1.431 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/1.734, allocations: 0 / 1.431 GB, free: 249 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006843/1.735, allocations: 0.559 MB / 1.432 GB, free: 248.7 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 8.908e-05/1.735, allocations: 130 kB / 1.432 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.092e-05/1.735, allocations: 11.16 kB / 1.432 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002111/1.735, allocations: 36.67 kB / 1.432 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001545/1.735, allocations: 78.61 kB / 1.432 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.421e-05/1.735, allocations: 19.61 kB / 1.432 GB, free: 248.5 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002321/1.735, allocations: 254.6 kB / 1.432 GB, free: 248.4 MB / 0.9323 GB Notification: Performance of sort global known variables: time 2.7e-07/1.735, allocations: 0 / 1.432 GB, free: 248.4 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0004685/1.736, allocations: 126.1 kB / 1.432 GB, free: 248.3 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 44 (chiStaCon.twoToOne.enableFire,chiStaCon.oneToOff.enableFire,chiStaCon.offToOne.enableFire,chiStaCon.oneToTwo.enableFire,chiStaCon.twoOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.off.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.on,chiStaCon.y[1],chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.offToOne.fire,chiStaCon.offToOne.t_start,chiStaCon.oneToTwo.fire,chiStaCon.oneToTwo.t_start,chiStaCon.twoToOne.fire,chiStaCon.twoToOne.t_start,chiStaCon.oneToOff.fire,chiStaCon.oneToOff.t_start,chiStaCon.thrOneToTwo.y,chiStaCon.TwoToOne.y,on.combiTimeTable.nextTimeEvent,on.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 6 (on.combiTimeTable.nextTimeEvent,chiStaCon.off.newActive,chiStaCon.oneOn.newActive,chiStaCon.twoOn.newActive,chiStaCon.thrOneToTwo.y,on.combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (62): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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.001042/1.737, allocations: 493 kB / 1.433 GB, free: 248.2 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.0007735/1.738, allocations: 465 kB / 1.433 GB, free: 248 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/1.738, allocations: 0 / 1.433 GB, free: 248 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.000349/1.738, allocations: 244.3 kB / 1.434 GB, free: 247.9 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005393/1.739, allocations: 90.2 kB / 1.434 GB, free: 247.9 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001448/1.74, allocations: 1.054 MB / 1.435 GB, free: 247.3 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/1.74, allocations: 0.864 MB / 1.435 GB, free: 246.6 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002705/1.741, allocations: 78.81 kB / 1.436 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/1.741, allocations: 45.12 kB / 1.436 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of SimCode: time 2.21e-07/1.741, allocations: 1.219 kB / 1.436 GB, free: 246.5 MB / 0.9323 GB Notification: Performance of Templates: time 0.01218/1.753, allocations: 6.498 MB / 1.442 GB, free: 246.1 MB / 0.9323 GB make -j1 -f Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.makefile (rm -f Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.sim & ./Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Experimental.DHC.CentralPlants.Cooling.Controls.Validation.ChillerStage.pipe 2>&1)