Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.679/1.679, allocations: 285.4 MB / 298 MB, free: 6.016 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.001305/0.001305, allocations: 172.9 kB / 366.4 MB, free: 2.094 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.815/1.815, allocations: 205.1 MB / 0.6248 GB, free: 7.75 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.0008744/0.0008741, allocations: 99.2 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.185e-05/3.188e-05, allocations: 0 / 0.8583 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8278/0.8278, allocations: 115.3 MB / 0.9709 GB, free: 77.71 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.226/1.054, allocations: 143.8 MB / 1.111 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002514/1.054, allocations: 89.02 kB / 1.111 GB, free: 7.93 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02576/1.08, allocations: 9.542 MB / 1.121 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.605e-06/1.08, allocations: 0 / 1.121 GB, free: 14.46 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.635e-05/1.08, allocations: 20 kB / 1.121 GB, free: 14.44 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.001639/1.082, allocations: 0.7225 MB / 1.121 GB, free: 13.66 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.316e-05/1.082, allocations: 12.03 kB / 1.121 GB, free: 13.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00031/1.082, allocations: 63.28 kB / 1.122 GB, free: 13.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008173/1.083, allocations: 378.2 kB / 1.122 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.529e-05/1.083, allocations: 41 kB / 1.122 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/1.083, allocations: 53.22 kB / 1.122 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/1.084, allocations: 494.2 kB / 1.122 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.462e-05/1.084, allocations: 0 / 1.122 GB, free: 12.58 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.27e-05/1.084, allocations: 23.98 kB / 1.122 GB, free: 12.56 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.706e-05/1.084, allocations: 19.95 kB / 1.122 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008215/1.085, allocations: 395.8 kB / 1.123 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00264/1.088, allocations: 1.423 MB / 1.124 GB, free: 10.68 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008596/1.089, allocations: 452.5 kB / 1.125 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003426/1.089, allocations: 202.2 kB / 1.125 GB, free: 10.03 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.568e-05/1.089, allocations: 6.594 kB / 1.125 GB, free: 10.02 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005098/1.09, allocations: 263 kB / 1.125 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 2.454e-06/1.09, allocations: 0 / 1.125 GB, free: 9.754 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.0008326/1.09, allocations: 398.6 kB / 1.126 GB, free: 9.363 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/1.09, allocations: 63.97 kB / 1.126 GB, free: 9.285 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/1.091, allocations: 323 kB / 1.126 GB, free: 8.961 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 6.951e-05/1.091, allocations: 49.7 kB / 1.126 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001924/1.091, allocations: 218 kB / 1.126 GB, free: 8.688 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/1.091, allocations: 138.2 kB / 1.126 GB, free: 8.551 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.848e-05/1.091, allocations: 12 kB / 1.126 GB, free: 8.539 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.092, allocations: 358.8 kB / 1.127 GB, free: 8.18 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/1.092, allocations: 161.5 kB / 1.127 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003744/1.092, allocations: 247.4 kB / 1.127 GB, free: 7.754 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/1.093, allocations: 183.7 kB / 1.127 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/1.093, allocations: 0 / 1.127 GB, free: 7.57 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009153/1.094, allocations: 0.5286 MB / 1.128 GB, free: 7.027 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.402e-05/1.094, allocations: 37.69 kB / 1.128 GB, free: 6.984 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.094, allocations: 3.938 kB / 1.128 GB, free: 6.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.308e-05/1.094, allocations: 8 kB / 1.128 GB, free: 6.973 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/1.094, allocations: 75.83 kB / 1.128 GB, free: 6.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2e-05/1.094, allocations: 8.219 kB / 1.128 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004309/1.094, allocations: 79.69 kB / 1.128 GB, free: 6.812 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.867e-05/1.095, allocations: 29.27 kB / 1.128 GB, free: 6.785 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 () * 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.0002028/1.095, allocations: 175.3 kB / 1.128 GB, free: 6.609 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.838e-05/1.095, allocations: 39.53 kB / 1.128 GB, free: 6.57 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008787/1.096, allocations: 483.1 kB / 1.129 GB, free: 6.098 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/1.096, allocations: 13.44 kB / 1.129 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/1.096, allocations: 0 / 1.129 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.437e-06/1.096, allocations: 3.984 kB / 1.129 GB, free: 6.082 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001933/1.098, allocations: 1.172 MB / 1.13 GB, free: 4.852 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.617e-06/1.098, allocations: 8 kB / 1.13 GB, free: 4.844 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/1.098, allocations: 59.89 kB / 1.13 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/1.098, allocations: 0 / 1.13 GB, free: 4.785 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.223e-05/1.098, allocations: 19.94 kB / 1.13 GB, free: 4.766 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/1.098, allocations: 4 kB / 1.13 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.359e-05/1.098, allocations: 3.938 kB / 1.13 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007966/1.099, allocations: 0.5401 MB / 1.13 GB, free: 4.207 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001166/1.099, allocations: 116.5 kB / 1.13 GB, free: 4.074 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.773e-05/1.099, allocations: 15.98 kB / 1.131 GB, free: 4.059 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003687/1.099, allocations: 71.89 kB / 1.131 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001851/1.1, allocations: 76.45 kB / 1.131 GB, free: 3.914 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/1.1, allocations: 19.98 kB / 1.131 GB, free: 3.895 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002571/1.1, allocations: 219.1 kB / 1.131 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/1.1, allocations: 0 / 1.131 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000484/1.1, allocations: 119.8 kB / 1.131 GB, free: 3.566 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) * 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.0009902/1.101, allocations: 367.4 kB / 1.131 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.00089/1.102, allocations: 0.4967 MB / 1.132 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/1.102, allocations: 8.062 kB / 1.132 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003966/1.103, allocations: 235.2 kB / 1.132 GB, free: 2.582 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003984/1.103, allocations: 55.86 kB / 1.132 GB, free: 2.523 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/1.105, allocations: 0.6214 MB / 1.133 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005403/1.105, allocations: 0.8596 MB / 1.134 GB, free: 1 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.000281/1.105, allocations: 66.17 kB / 1.134 GB, free: 0.9375 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001606/1.106, allocations: 47.42 kB / 1.134 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of SimCode: time 2.4e-07/1.106, allocations: 0 / 1.134 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of Templates: time 0.01211/1.118, allocations: 5.232 MB / 1.139 GB, free: 11.78 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.makefile (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & ./Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)