Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.318/1.318, allocations: 252 MB / 267.9 MB, free: 10.91 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009349/0.0009351, allocations: 179.2 kB / 327.5 MB, free: 2.16 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.403/1.403, allocations: 205.4 MB / 0.5785 GB, free: 20.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006968/0.0006968, allocations: 86.36 kB / 0.6831 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003888/0.0003888, allocations: 14.25 kB / 0.7974 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1938/0.1943, allocations: 106.3 MB / 0.9012 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1657/0.36, allocations: 137.7 MB / 1.036 GB, free: 5.805 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.3604, allocations: 95.94 kB / 1.036 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02411/0.3845, allocations: 9.602 MB / 1.045 GB, free: 12.05 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.525e-06/0.3845, allocations: 3.938 kB / 1.045 GB, free: 12.04 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.308e-05/0.3846, allocations: 12 kB / 1.045 GB, free: 12.03 MB / 0.698 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.001553/0.3861, allocations: 0.7637 MB / 1.046 GB, free: 11.21 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.91e-05/0.3862, allocations: 8.031 kB / 1.046 GB, free: 11.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002276/0.3864, allocations: 60.28 kB / 1.046 GB, free: 11.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006244/0.3871, allocations: 391.2 kB / 1.046 GB, free: 10.72 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.286e-05/0.3871, allocations: 45.38 kB / 1.046 GB, free: 10.67 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.098e-05/0.3872, allocations: 48.38 kB / 1.046 GB, free: 10.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009867/0.3882, allocations: 0.5182 MB / 1.047 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.812e-05/0.3883, allocations: 4.188 kB / 1.047 GB, free: 10.09 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-05/0.3883, allocations: 23.94 kB / 1.047 GB, free: 10.07 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.192e-05/0.3883, allocations: 16 kB / 1.047 GB, free: 10.05 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009683/0.3893, allocations: 459.7 kB / 1.047 GB, free: 9.602 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002336/0.3917, allocations: 1.423 MB / 1.049 GB, free: 8.125 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00097/0.3927, allocations: 0.4937 MB / 1.049 GB, free: 7.625 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004067/0.3931, allocations: 226.1 kB / 1.05 GB, free: 7.402 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.622e-05/0.3931, allocations: 16.58 kB / 1.05 GB, free: 7.387 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005535/0.3937, allocations: 302.8 kB / 1.05 GB, free: 7.074 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 2.205e-06/0.3937, allocations: 0 / 1.05 GB, free: 7.074 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.001276/0.395, allocations: 0.6234 MB / 1.05 GB, free: 6.445 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.3951, allocations: 67.95 kB / 1.05 GB, free: 6.363 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003776/0.3955, allocations: 334.7 kB / 1.051 GB, free: 6.027 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.855e-05/0.3955, allocations: 57.69 kB / 1.051 GB, free: 5.965 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001698/0.3957, allocations: 217.2 kB / 1.051 GB, free: 5.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001324/0.3958, allocations: 146.1 kB / 1.051 GB, free: 5.605 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-05/0.3959, allocations: 16 kB / 1.051 GB, free: 5.59 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.396, allocations: 346.8 kB / 1.052 GB, free: 5.242 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004123/0.3965, allocations: 197.2 kB / 1.052 GB, free: 5.051 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004633/0.3969, allocations: 282 kB / 1.052 GB, free: 4.75 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007248/0.3977, allocations: 429.1 kB / 1.052 GB, free: 4.301 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.3977, allocations: 0 / 1.052 GB, free: 4.301 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001053/0.3987, allocations: 0.5881 MB / 1.053 GB, free: 3.699 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.3988, allocations: 33.7 kB / 1.053 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3988, allocations: 0 / 1.053 GB, free: 3.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.988e-05/0.3988, allocations: 4 kB / 1.053 GB, free: 3.656 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002901/0.3991, allocations: 79.83 kB / 1.053 GB, free: 3.578 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.3991, allocations: 8.125 kB / 1.053 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.3995, allocations: 79.72 kB / 1.053 GB, free: 3.492 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.495e-05/0.3996, allocations: 27.98 kB / 1.053 GB, free: 3.465 MB / 0.698 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.0002718/0.3998, allocations: 229.7 kB / 1.053 GB, free: 3.23 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.613e-05/0.3999, allocations: 47.45 kB / 1.053 GB, free: 3.184 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001021/0.4009, allocations: 0.5419 MB / 1.054 GB, free: 2.641 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.401, allocations: 8 kB / 1.054 GB, free: 2.633 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.401, allocations: 0 / 1.054 GB, free: 2.633 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.638e-06/0.401, allocations: 3.984 kB / 1.054 GB, free: 2.629 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001971/0.403, allocations: 1.239 MB / 1.055 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.403, allocations: 0 / 1.055 GB, free: 1.332 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002212/0.4032, allocations: 63.83 kB / 1.055 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.4032, allocations: 0 / 1.055 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.4033, allocations: 12 kB / 1.055 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.4033, allocations: 4 kB / 1.055 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.4033, allocations: 7.938 kB / 1.055 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009002/0.4042, allocations: 0.5852 MB / 1.056 GB, free: 0.6445 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001165/0.4043, allocations: 128.5 kB / 1.056 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.4044, allocations: 12 kB / 1.056 GB, free: 500 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003107/0.4047, allocations: 63.94 kB / 1.056 GB, free: 436 kB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000177/0.4049, allocations: 84.38 kB / 1.056 GB, free: 352 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.4049, allocations: 23.98 kB / 1.056 GB, free: 328 kB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002239/0.4052, allocations: 214 kB / 1.056 GB, free: 112 kB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4052, allocations: 0 / 1.056 GB, free: 112 kB / 0.698 GB Notification: Performance of remove unused functions: time 0.000442/0.4056, allocations: 108 kB / 1.056 GB, free: 4 kB / 0.698 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.4108/0.8165, allocations: 410 kB / 1.057 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001135/0.8176, allocations: 0.5556 MB / 1.057 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.8176, allocations: 0 / 1.057 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004363/0.8181, allocations: 270.6 kB / 1.058 GB, free: 147.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005086/0.8186, allocations: 69.14 kB / 1.058 GB, free: 147.1 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.8199, allocations: 0.9736 MB / 1.059 GB, free: 146.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.8202, allocations: 0.8515 MB / 1.06 GB, free: 146 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002259/0.8204, allocations: 67.02 kB / 1.06 GB, free: 146 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001311/0.8206, allocations: 44.78 kB / 1.06 GB, free: 146 MB / 0.698 GB Notification: Performance of SimCode: time 2.91e-07/0.8206, allocations: 0 / 1.06 GB, free: 146 MB / 0.698 GB Notification: Performance of Templates: time 0.01038/0.831, allocations: 5.259 MB / 1.065 GB, free: 145.8 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)