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.715/1.715, allocations: 292.6 MB / 307.5 MB, free: 5.203 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.001284/0.001284, allocations: 189 kB / 377.1 MB, free: 1.531 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.64/1.64, allocations: 205.4 MB / 0.6366 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.0008487/0.0008488, allocations: 95.88 kB / 0.7509 GB, free: 63.01 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003624/0.0003624, allocations: 8 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3018/0.3022, allocations: 116.3 MB / 0.9884 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8096/1.112, allocations: 144.8 MB / 1.13 GB, free: 31.22 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.112, allocations: 102 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.02696/1.139, allocations: 9.575 MB / 1.139 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.116e-06/1.139, allocations: 0.75 kB / 1.139 GB, free: 24.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.386e-05/1.139, allocations: 12 kB / 1.139 GB, free: 24.51 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.002103/1.141, allocations: 0.7714 MB / 1.14 GB, free: 23.75 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 7.718e-05/1.142, allocations: 15.95 kB / 1.14 GB, free: 23.73 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003787/1.142, allocations: 87.56 kB / 1.14 GB, free: 23.65 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002945/1.142, allocations: 56.05 kB / 1.14 GB, free: 23.59 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009718/1.143, allocations: 382.8 kB / 1.141 GB, free: 23.23 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.721e-05/1.143, allocations: 38.36 kB / 1.141 GB, free: 23.2 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/1.143, allocations: 57.81 kB / 1.141 GB, free: 23.14 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001516/1.145, allocations: 0.5214 MB / 1.141 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.618e-05/1.145, allocations: 0 / 1.141 GB, free: 22.7 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.69e-05/1.145, allocations: 17.36 kB / 1.141 GB, free: 22.68 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/1.145, allocations: 12 kB / 1.141 GB, free: 22.67 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001355/1.146, allocations: 464 kB / 1.142 GB, free: 22.29 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003242/1.15, allocations: 1.423 MB / 1.143 GB, free: 21.11 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001151/1.151, allocations: 0.4896 MB / 1.144 GB, free: 20.67 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 6.291e-05/1.151, allocations: 4.438 kB / 1.144 GB, free: 20.66 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007142/1.152, allocations: 299.6 kB / 1.144 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 3.356e-06/1.152, allocations: 0 / 1.144 GB, free: 20.42 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.001412/1.153, allocations: 0.6181 MB / 1.144 GB, free: 19.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.478e-05/1.153, allocations: 70.14 kB / 1.145 GB, free: 19.78 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004436/1.154, allocations: 314.4 kB / 1.145 GB, free: 19.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.142e-05/1.154, allocations: 51.06 kB / 1.145 GB, free: 19.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001814/1.154, allocations: 226.9 kB / 1.145 GB, free: 19.23 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/1.154, allocations: 141.6 kB / 1.145 GB, free: 19.11 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.815e-05/1.154, allocations: 12 kB / 1.145 GB, free: 19.09 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000134/1.154, allocations: 352.8 kB / 1.146 GB, free: 18.75 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004386/1.155, allocations: 194.3 kB / 1.146 GB, free: 18.59 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004656/1.155, allocations: 273.6 kB / 1.146 GB, free: 18.33 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004106/1.156, allocations: 210.5 kB / 1.146 GB, free: 18.13 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/1.156, allocations: 0 / 1.146 GB, free: 18.13 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001104/1.157, allocations: 0.5884 MB / 1.147 GB, free: 17.58 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.381e-05/1.157, allocations: 31.06 kB / 1.147 GB, free: 17.54 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.157, allocations: 4 kB / 1.147 GB, free: 17.54 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.515e-05/1.157, allocations: 8.828 kB / 1.147 GB, free: 17.53 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003328/1.157, allocations: 76.72 kB / 1.147 GB, free: 17.47 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.564e-05/1.157, allocations: 9.156 kB / 1.147 GB, free: 17.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004603/1.158, allocations: 83.55 kB / 1.147 GB, free: 17.39 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.63e-05/1.158, allocations: 25.83 kB / 1.147 GB, free: 17.37 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.0003102/1.158, allocations: 235.9 kB / 1.147 GB, free: 17.14 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.35e-05/1.158, allocations: 36.19 kB / 1.147 GB, free: 17.11 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001033/1.159, allocations: 0.5379 MB / 1.148 GB, free: 16.64 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/1.159, allocations: 8 kB / 1.148 GB, free: 16.63 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/1.159, allocations: 5.062 kB / 1.148 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/1.159, allocations: 3.422 kB / 1.148 GB, free: 16.62 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002119/1.161, allocations: 1.242 MB / 1.149 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/1.161, allocations: 4 kB / 1.149 GB, free: 15.52 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/1.162, allocations: 61.78 kB / 1.149 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.285e-06/1.162, allocations: 0.6094 kB / 1.149 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.98e-05/1.162, allocations: 19.28 kB / 1.149 GB, free: 15.46 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-06/1.162, allocations: 5 kB / 1.149 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.162, allocations: 0 / 1.149 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009136/1.163, allocations: 0.5891 MB / 1.15 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/1.163, allocations: 123.2 kB / 1.15 GB, free: 14.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/1.163, allocations: 13.64 kB / 1.15 GB, free: 14.75 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003389/1.163, allocations: 66.91 kB / 1.15 GB, free: 14.7 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001938/1.163, allocations: 79.59 kB / 1.15 GB, free: 14.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.143e-05/1.163, allocations: 18.48 kB / 1.15 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002301/1.164, allocations: 218.5 kB / 1.15 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.9e-07/1.164, allocations: 0 / 1.15 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0004898/1.164, allocations: 113.3 kB / 1.15 GB, free: 14.34 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.001935/1.166, allocations: 1.444 MB / 1.152 GB, free: 13.09 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009962/1.167, allocations: 0.5497 MB / 1.152 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.167, allocations: 4.125 kB / 1.152 GB, free: 12.57 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0004526/1.168, allocations: 270.4 kB / 1.152 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003695/1.168, allocations: 57.36 kB / 1.153 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004292/1.172, allocations: 3.581 MB / 1.156 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003153/1.173, allocations: 0.8593 MB / 1.157 GB, free: 8.051 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002764/1.173, allocations: 69.33 kB / 1.157 GB, free: 8.004 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002675/1.173, allocations: 170.3 kB / 1.157 GB, free: 7.855 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.173, allocations: 3.938 kB / 1.157 GB, free: 7.852 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02546/1.199, allocations: 9.278 MB / 1.166 GB, free: 0.5078 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001837/1.199, allocations: 264.2 kB / 1.166 GB, free: 152 kB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.321/3.52, allocations: 0 / 1.166 GB, free: 152 kB / 0.7292 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)