Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.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.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 292.6 MB / 307.5 MB, free: 5.176 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.001127/0.001127, allocations: 177 kB / 377.1 MB, free: 1.508 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.618/1.618, allocations: 205.4 MB / 0.6367 GB, free: 8.625 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.0009618/0.0009618, allocations: 92.92 kB / 0.751 GB, free: 63.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004088/0.0004088, allocations: 8 kB / 0.8748 GB, free: 11.18 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2854/0.2859, allocations: 116.3 MB / 0.9884 GB, free: 6.734 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8014/1.087, allocations: 144.8 MB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002817/1.088, allocations: 97.78 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02559/1.113, allocations: 9.57 MB / 1.139 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.234e-06/1.113, allocations: 0 / 1.139 GB, free: 24.54 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.421e-05/1.113, allocations: 12 kB / 1.139 GB, free: 24.52 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: 115 * Number of variables: 115 Notification: Performance of Generate backend data structure: time 0.001665/1.115, allocations: 0.7625 MB / 1.14 GB, free: 23.77 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.959e-05/1.115, allocations: 13.75 kB / 1.14 GB, free: 23.75 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/1.115, allocations: 59.34 kB / 1.14 GB, free: 23.7 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006921/1.116, allocations: 387.6 kB / 1.14 GB, free: 23.33 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.457e-05/1.116, allocations: 42.36 kB / 1.14 GB, free: 23.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.897e-05/1.116, allocations: 53.27 kB / 1.141 GB, free: 23.24 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001079/1.117, allocations: 0.5175 MB / 1.141 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/1.117, allocations: 4 kB / 1.141 GB, free: 22.8 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.737e-05/1.117, allocations: 24.64 kB / 1.141 GB, free: 22.77 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.365e-05/1.117, allocations: 14.3 kB / 1.141 GB, free: 22.76 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001/1.118, allocations: 450 kB / 1.142 GB, free: 22.39 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002636/1.121, allocations: 1.432 MB / 1.143 GB, free: 21.2 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009794/1.122, allocations: 495.1 kB / 1.143 GB, free: 20.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.16e-05/1.122, allocations: 9.047 kB / 1.143 GB, free: 20.76 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006008/1.123, allocations: 299.5 kB / 1.144 GB, free: 20.51 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 2.635e-06/1.123, allocations: 0 / 1.144 GB, free: 20.51 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.001323/1.124, allocations: 0.6207 MB / 1.144 GB, free: 19.95 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/1.124, allocations: 65.7 kB / 1.144 GB, free: 19.88 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003669/1.125, allocations: 310.2 kB / 1.145 GB, free: 19.61 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.435e-05/1.125, allocations: 55.77 kB / 1.145 GB, free: 19.55 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/1.125, allocations: 215.5 kB / 1.145 GB, free: 19.34 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/1.125, allocations: 149.1 kB / 1.145 GB, free: 19.21 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.864e-05/1.125, allocations: 8 kB / 1.145 GB, free: 19.2 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001293/1.125, allocations: 364.8 kB / 1.145 GB, free: 18.85 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004296/1.126, allocations: 191 kB / 1.146 GB, free: 18.69 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004635/1.126, allocations: 280.3 kB / 1.146 GB, free: 18.42 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004064/1.126, allocations: 210.6 kB / 1.146 GB, free: 18.22 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.126, allocations: 0 / 1.146 GB, free: 18.22 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001081/1.128, allocations: 0.5845 MB / 1.147 GB, free: 17.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.142e-05/1.128, allocations: 35.78 kB / 1.147 GB, free: 17.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.087e-05/1.128, allocations: 4 kB / 1.147 GB, free: 17.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.631e-05/1.128, allocations: 4.703 kB / 1.147 GB, free: 17.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003345/1.128, allocations: 76.03 kB / 1.147 GB, free: 17.56 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.307e-05/1.128, allocations: 8.656 kB / 1.147 GB, free: 17.55 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000431/1.128, allocations: 79.17 kB / 1.147 GB, free: 17.49 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/1.128, allocations: 23.09 kB / 1.147 GB, free: 17.47 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.varSpePumSta.con1.enableFire,$PRE.varSpePumSta.con2.enableFire,$PRE.varSpePumSta.con3.enableFire,$PRE.varSpePumSta.con4.enableFire,varSpePumSta.stateGraphRoot.resume,varSpePumSta.stateGraphRoot.suspend,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.enableFire,varSpePumSta.con1.fire,$PRE.varSpePumSta.con1.t_start,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,$PRE.varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.localActive,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,$PRE.varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.newActive,$PRE.varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,$PRE.varSpePumSta.off.localActive,varSpePumSta.off.localActive,$PRE.varSpePumSta.off.newActive,varSpePumSta.off.newActive,$PRE.varSpePumSta.off.oldActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,$PRE.varSpePumSta.twoOn.localActive,varSpePumSta.twoOn.localActive,$PRE.varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.newActive,$PRE.varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.enableFire,varSpePumSta.con2.fire,$PRE.varSpePumSta.con2.t_start,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.enableFire,varSpePumSta.con3.fire,$PRE.varSpePumSta.con3.t_start,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.enableFire,varSpePumSta.con4.fire,$PRE.varSpePumSta.con4.t_start,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,$PRE.speSig.T_start,speSig.T_start,$PRE.speSig.count,speSig.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 79 * 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.0003275/1.129, allocations: 242.8 kB / 1.147 GB, free: 17.23 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.305e-05/1.129, allocations: 40.88 kB / 1.147 GB, free: 17.2 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001032/1.13, allocations: 0.5369 MB / 1.148 GB, free: 16.73 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.623e-06/1.13, allocations: 4 kB / 1.148 GB, free: 16.72 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.061e-05/1.13, allocations: 0.9375 kB / 1.148 GB, free: 16.72 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.367e-05/1.13, allocations: 7.609 kB / 1.148 GB, free: 16.72 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002078/1.132, allocations: 1.242 MB / 1.149 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.132, allocations: 0 / 1.149 GB, free: 15.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002395/1.132, allocations: 65.91 kB / 1.149 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.727e-06/1.132, allocations: 0.6562 kB / 1.149 GB, free: 15.57 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.493e-05/1.132, allocations: 14.48 kB / 1.149 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.25e-06/1.132, allocations: 9.125 kB / 1.149 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.132, allocations: 0.6094 kB / 1.149 GB, free: 15.55 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008979/1.133, allocations: 0.5891 MB / 1.15 GB, free: 14.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/1.133, allocations: 118.8 kB / 1.15 GB, free: 14.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.288e-05/1.134, allocations: 13.31 kB / 1.15 GB, free: 14.85 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003503/1.134, allocations: 71.52 kB / 1.15 GB, free: 14.79 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002044/1.134, allocations: 84.52 kB / 1.15 GB, free: 14.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/1.134, allocations: 18.95 kB / 1.15 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002567/1.134, allocations: 217.6 kB / 1.15 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.21e-07/1.134, allocations: 0 / 1.15 GB, free: 14.54 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005284/1.135, allocations: 113.3 kB / 1.15 GB, free: 14.43 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: 47 (varSpePumSta.con3.enableFire,varSpePumSta.con4.enableFire,varSpePumSta.con1.enableFire,varSpePumSta.con2.enableFire,varSpePumSta.twoOn.localActive,varSpePumSta.off.localActive,varSpePumSta.oneOn.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$cse6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,varSpePumSta.con1.fire,varSpePumSta.con1.t_start,varSpePumSta.con1.condition,varSpePumSta.oneOn.inPort[2].occupied,varSpePumSta.oneOn.outPort[2].available,varSpePumSta.oneOn.newActive,varSpePumSta.oneOn.oldActive,varSpePumSta.oneOn.active,varSpePumSta.off.newActive,varSpePumSta.off.oldActive,varSpePumSta.off.active,varSpePumSta.twoOn.newActive,varSpePumSta.twoOn.oldActive,varSpePumSta.twoOn.active,varSpePumSta.con2.fire,varSpePumSta.con2.t_start,varSpePumSta.con2.condition,varSpePumSta.con3.fire,varSpePumSta.con3.t_start,varSpePumSta.con3.condition,varSpePumSta.con4.fire,varSpePumSta.con4.t_start,varSpePumSta.con4.condition,varSpePumSta.stateGraphRoot.activeSteps,varSpePumSta.addInt.u1,varSpePumSta.addInt.u2,varSpePumSta.addInt.y,speSig.T_start,speSig.count) * Number of discrete states: 4 (speSig.count,varSpePumSta.oneOn.newActive,varSpePumSta.off.newActive,varSpePumSta.twoOn.newActive) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (64): * Single equations (assignments): 55 * 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.0009963/1.136, allocations: 408.9 kB / 1.151 GB, free: 14.2 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.001011/1.137, allocations: 0.5533 MB / 1.151 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.137, allocations: 0 / 1.151 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004497/1.137, allocations: 278.7 kB / 1.151 GB, free: 13.44 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003904/1.138, allocations: 49.33 kB / 1.151 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001671/1.14, allocations: 0.9663 MB / 1.152 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004173/1.14, allocations: 0.863 MB / 1.153 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002963/1.14, allocations: 75.09 kB / 1.153 GB, free: 11.61 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001483/1.14, allocations: 39.23 kB / 1.153 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of SimCode: time 4.41e-07/1.14, allocations: 0 / 1.153 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of Templates: time 0.01127/1.152, allocations: 5.226 MB / 1.158 GB, free: 8.379 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)