Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 251.1 MB / 266.7 MB, free: 11.55 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.001289/0.001289, allocations: 177.6 kB / 326.2 MB, free: 2.855 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.403/2.403, allocations: 205.4 MB / 0.5772 GB, free: 20.79 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.0009142/0.0009139, allocations: 91.86 kB / 0.6817 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006896/0.00069, allocations: 11.91 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.214/0.2148, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2269/0.4417, allocations: 137.4 MB / 1.034 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003892/0.4422, allocations: 103.9 kB / 1.034 GB, free: 7.793 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04401/0.4862, allocations: 9.606 MB / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.282e-06/0.4863, allocations: 0 / 1.043 GB, free: 14.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.197e-05/0.4863, allocations: 19.88 kB / 1.043 GB, free: 14.11 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.002117/0.4885, allocations: 0.7604 MB / 1.044 GB, free: 13.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.4885, allocations: 12.03 kB / 1.044 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002382/0.4888, allocations: 56.28 kB / 1.044 GB, free: 13.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008512/0.4896, allocations: 383.4 kB / 1.044 GB, free: 12.81 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001189/0.4898, allocations: 45.38 kB / 1.044 GB, free: 12.76 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001539/0.49, allocations: 56.36 kB / 1.044 GB, free: 12.71 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001666/0.4916, allocations: 0.5221 MB / 1.045 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.4917, allocations: 192 / 1.045 GB, free: 12.17 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.503e-05/0.4918, allocations: 23.94 kB / 1.045 GB, free: 12.15 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.751e-05/0.4918, allocations: 12 kB / 1.045 GB, free: 12.14 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001673/0.4935, allocations: 455.7 kB / 1.045 GB, free: 11.69 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003915/0.4974, allocations: 1.426 MB / 1.047 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.4993, allocations: 0.4935 MB / 1.047 GB, free: 9.711 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007837/0.5001, allocations: 231.8 kB / 1.048 GB, free: 9.484 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 7.307e-05/0.5002, allocations: 8.375 kB / 1.048 GB, free: 9.477 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001001/0.5012, allocations: 290.9 kB / 1.048 GB, free: 9.176 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 3.607e-06/0.5012, allocations: 7.938 kB / 1.048 GB, free: 9.168 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.002395/0.5036, allocations: 0.6234 MB / 1.048 GB, free: 8.539 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.845e-05/0.5038, allocations: 64.73 kB / 1.049 GB, free: 8.461 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006552/0.5044, allocations: 346.6 kB / 1.049 GB, free: 8.113 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001374/0.5046, allocations: 49.69 kB / 1.049 GB, free: 8.059 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.5048, allocations: 213.2 kB / 1.049 GB, free: 7.848 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/0.505, allocations: 146.1 kB / 1.049 GB, free: 7.703 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.266e-05/0.5051, allocations: 12 kB / 1.049 GB, free: 7.691 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002122/0.5053, allocations: 362.8 kB / 1.05 GB, free: 7.328 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007984/0.5061, allocations: 193.2 kB / 1.05 GB, free: 7.141 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008552/0.507, allocations: 278 kB / 1.05 GB, free: 6.844 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007582/0.5078, allocations: 216.8 kB / 1.05 GB, free: 6.629 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.948e-06/0.5078, allocations: 4 kB / 1.05 GB, free: 6.625 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00204/0.5099, allocations: 0.5806 MB / 1.051 GB, free: 6.031 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 5.469e-05/0.51, allocations: 29.7 kB / 1.051 GB, free: 5.996 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.51, allocations: 4 kB / 1.051 GB, free: 5.992 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.715e-05/0.51, allocations: 7.938 kB / 1.051 GB, free: 5.984 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000617/0.5107, allocations: 79.81 kB / 1.051 GB, free: 5.906 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.567e-05/0.5107, allocations: 4 kB / 1.051 GB, free: 5.902 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007351/0.5114, allocations: 83.73 kB / 1.051 GB, free: 5.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.72e-05/0.5115, allocations: 23.98 kB / 1.051 GB, free: 5.797 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.0005174/0.5121, allocations: 245.7 kB / 1.051 GB, free: 5.547 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001243/0.5122, allocations: 39.47 kB / 1.051 GB, free: 5.508 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001916/0.5141, allocations: 0.5381 MB / 1.052 GB, free: 4.961 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.276e-05/0.5142, allocations: 7.938 kB / 1.052 GB, free: 4.953 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.5142, allocations: 4 kB / 1.052 GB, free: 4.949 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/0.5142, allocations: 3.984 kB / 1.052 GB, free: 4.945 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003351/0.5176, allocations: 1.235 MB / 1.053 GB, free: 3.656 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.884e-06/0.5176, allocations: 4 kB / 1.053 GB, free: 3.652 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004949/0.5181, allocations: 59.89 kB / 1.053 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-06/0.5182, allocations: 0 / 1.053 GB, free: 3.594 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/0.5182, allocations: 12 kB / 1.053 GB, free: 3.582 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.665e-05/0.5183, allocations: 7.984 kB / 1.053 GB, free: 3.574 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.933e-06/0.5183, allocations: 3.938 kB / 1.053 GB, free: 3.57 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001683/0.52, allocations: 0.5928 MB / 1.054 GB, free: 2.961 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001545/0.5202, allocations: 120.6 kB / 1.054 GB, free: 2.824 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.904e-05/0.5203, allocations: 15.98 kB / 1.054 GB, free: 2.809 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006392/0.5209, allocations: 63.95 kB / 1.054 GB, free: 2.746 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002875/0.5212, allocations: 88.38 kB / 1.054 GB, free: 2.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.445e-05/0.5213, allocations: 19.98 kB / 1.054 GB, free: 2.641 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000385/0.5217, allocations: 221.9 kB / 1.054 GB, free: 2.426 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.9e-07/0.5217, allocations: 0 / 1.054 GB, free: 2.426 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000691/0.5224, allocations: 111.8 kB / 1.054 GB, free: 2.316 MB / 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.00118/0.5236, allocations: 410.8 kB / 1.055 GB, free: 2.035 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001898/0.5256, allocations: 0.5502 MB / 1.055 GB, free: 1.469 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.5256, allocations: 0 / 1.055 GB, free: 1.469 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008954/0.5265, allocations: 279.5 kB / 1.056 GB, free: 1.195 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/0.5273, allocations: 60.8 kB / 1.056 GB, free: 1.129 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002534/0.5298, allocations: 0.9744 MB / 1.057 GB, free: 144 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.5668/1.097, allocations: 0.8414 MB / 1.057 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005019/1.097, allocations: 65.28 kB / 1.057 GB, free: 148.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002544/1.097, allocations: 42.08 kB / 1.057 GB, free: 148.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.232e-06/1.097, allocations: 1.125 kB / 1.057 GB, free: 148.2 MB / 0.698 GB Notification: Performance of Templates: time 0.01726/1.115, allocations: 5.237 MB / 1.063 GB, free: 148.1 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)