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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.692/1.692, allocations: 289.7 MB / 302.2 MB, free: 2.199 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.001054/0.001054, allocations: 183.4 kB / 371.6 MB, free: 3.391 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.758/1.758, allocations: 205.1 MB / 0.6309 GB, free: 11.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.0009083/0.0009083, allocations: 97.78 kB / 0.745 GB, free: 54.55 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.586e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2652/0.2653, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8813/1.147, allocations: 144.8 MB / 1.121 GB, free: 40.34 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002601/1.147, allocations: 96.67 kB / 1.121 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02445/1.171, allocations: 9.536 MB / 1.131 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.613e-06/1.171, allocations: 0 / 1.131 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.495e-05/1.172, allocations: 8 kB / 1.131 GB, free: 35.27 MB / 0.7448 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.001711/1.173, allocations: 0.7323 MB / 1.131 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/1.173, allocations: 8.031 kB / 1.131 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002571/1.174, allocations: 88.36 kB / 1.131 GB, free: 34.53 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002419/1.174, allocations: 58.61 kB / 1.132 GB, free: 34.48 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007933/1.175, allocations: 380.7 kB / 1.132 GB, free: 34.18 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.757e-05/1.175, allocations: 46.12 kB / 1.132 GB, free: 34.15 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/1.175, allocations: 49.5 kB / 1.132 GB, free: 34.11 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009701/1.176, allocations: 493 kB / 1.132 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.798e-05/1.176, allocations: 0 / 1.132 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.798e-05/1.176, allocations: 22.88 kB / 1.132 GB, free: 33.84 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/1.176, allocations: 11.95 kB / 1.132 GB, free: 33.82 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007556/1.177, allocations: 396.5 kB / 1.133 GB, free: 33.6 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/1.179, allocations: 1.437 MB / 1.134 GB, free: 32.8 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007194/1.18, allocations: 457.5 kB / 1.135 GB, free: 32.52 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/1.18, allocations: 192.2 kB / 1.135 GB, free: 32.41 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.625e-05/1.18, allocations: 16.7 kB / 1.135 GB, free: 32.4 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000475/1.181, allocations: 264.1 kB / 1.135 GB, free: 32.24 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=58): time 2.555e-06/1.181, allocations: 0 / 1.135 GB, free: 32.24 MB / 0.7448 GB Notification: Performance of matching and sorting (n=58): time 0.0007725/1.182, allocations: 403.5 kB / 1.136 GB, free: 31.95 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.453e-05/1.182, allocations: 68.2 kB / 1.136 GB, free: 31.88 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/1.182, allocations: 314 kB / 1.136 GB, free: 31.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.314e-05/1.182, allocations: 50.89 kB / 1.136 GB, free: 31.62 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001389/1.182, allocations: 212.3 kB / 1.136 GB, free: 31.47 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001057/1.182, allocations: 142.2 kB / 1.136 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.668e-05/1.182, allocations: 11.44 kB / 1.136 GB, free: 31.36 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.973e-05/1.182, allocations: 350.7 kB / 1.137 GB, free: 31.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002845/1.183, allocations: 167.3 kB / 1.137 GB, free: 30.94 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003074/1.183, allocations: 242.2 kB / 1.137 GB, free: 30.76 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/1.183, allocations: 190.3 kB / 1.137 GB, free: 30.64 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/1.183, allocations: 0 / 1.137 GB, free: 30.64 MB / 0.7448 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0007827/1.184, allocations: 0.5352 MB / 1.138 GB, free: 30.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.869e-05/1.184, allocations: 29.7 kB / 1.138 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.184, allocations: 4 kB / 1.138 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/1.184, allocations: 4 kB / 1.138 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003443/1.185, allocations: 80.19 kB / 1.138 GB, free: 30.15 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.465e-05/1.185, allocations: 7.938 kB / 1.138 GB, free: 30.14 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/1.185, allocations: 88.16 kB / 1.138 GB, free: 30.08 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/1.185, allocations: 26.78 kB / 1.138 GB, free: 30.06 MB / 0.7448 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.0001475/1.185, allocations: 171.6 kB / 1.138 GB, free: 29.91 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.367e-05/1.185, allocations: 35.53 kB / 1.138 GB, free: 29.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007557/1.186, allocations: 485.8 kB / 1.139 GB, free: 29.59 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.144e-06/1.186, allocations: 4 kB / 1.139 GB, free: 29.59 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.186, allocations: 0.9375 kB / 1.139 GB, free: 29.59 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/1.186, allocations: 3.234 kB / 1.139 GB, free: 29.59 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001488/1.188, allocations: 1.19 MB / 1.14 GB, free: 28.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/1.188, allocations: 0 / 1.14 GB, free: 28.82 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002335/1.188, allocations: 61.88 kB / 1.14 GB, free: 28.77 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.366e-06/1.188, allocations: 7.953 kB / 1.14 GB, free: 28.76 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/1.188, allocations: 11.06 kB / 1.14 GB, free: 28.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.817e-06/1.188, allocations: 6.828 kB / 1.14 GB, free: 28.76 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/1.188, allocations: 0 / 1.14 GB, free: 28.76 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006382/1.189, allocations: 0.5294 MB / 1.14 GB, free: 28.35 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.356e-05/1.189, allocations: 129.5 kB / 1.141 GB, free: 28.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.205e-05/1.189, allocations: 17.27 kB / 1.141 GB, free: 28.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003242/1.189, allocations: 59.91 kB / 1.141 GB, free: 28.17 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001686/1.189, allocations: 81.73 kB / 1.141 GB, free: 28.14 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.989e-05/1.189, allocations: 27.44 kB / 1.141 GB, free: 28.12 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001914/1.189, allocations: 212.1 kB / 1.141 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.19, allocations: 0 / 1.141 GB, free: 27.96 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004451/1.19, allocations: 120.2 kB / 1.141 GB, free: 27.86 MB / 0.7448 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.001729/1.192, allocations: 1.334 MB / 1.142 GB, free: 26.79 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0007245/1.192, allocations: 0.4961 MB / 1.143 GB, free: 26.42 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/1.192, allocations: 0 / 1.143 GB, free: 26.42 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0003274/1.193, allocations: 242.1 kB / 1.143 GB, free: 26.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003591/1.193, allocations: 53.23 kB / 1.143 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001339/1.194, allocations: 0.7402 MB / 1.144 GB, free: 25.66 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002907/1.195, allocations: 0.86 MB / 1.145 GB, free: 24.85 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002303/1.195, allocations: 69.19 kB / 1.145 GB, free: 24.8 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002532/1.195, allocations: 166.2 kB / 1.145 GB, free: 24.76 MB / 0.7448 GB Notification: Performance of SimCode: time 2.4e-07/1.195, allocations: 3.938 kB / 1.145 GB, free: 24.76 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/1.222, allocations: 9.375 MB / 1.154 GB, free: 19.25 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000177/1.222, allocations: 237.8 kB / 1.154 GB, free: 18.94 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/3.514, allocations: 0 / 1.154 GB, free: 18.94 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage.fmu > Buildings_8_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)