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: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_maint_8_0_x_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.0.1-maint.8.0.x/package.mo): time 1.658/1.658, allocations: 288.2 MB / 303.2 MB, free: 8.164 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.001091/0.001091, allocations: 186.2 kB / 371.8 MB, free: 10.26 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.558/1.558, allocations: 205.4 MB / 0.6305 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008868/0.0008868, allocations: 97.45 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004025/0.0004024, allocations: 10.22 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2735, allocations: 115.3 MB / 0.9795 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7142/0.9878, allocations: 143.9 MB / 1.12 GB, free: 16.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.9882, allocations: 101 kB / 1.12 GB, free: 16.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02209/1.01, allocations: 9.557 MB / 1.129 GB, free: 30.61 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.575e-06/1.01, allocations: 0 / 1.129 GB, free: 30.61 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.046e-05/1.01, allocations: 19.36 kB / 1.129 GB, free: 30.61 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.001222/1.012, allocations: 0.7676 MB / 1.13 GB, free: 29.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/1.012, allocations: 11.67 kB / 1.13 GB, free: 29.98 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001069/1.012, allocations: 93.81 kB / 1.13 GB, free: 29.92 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001003/1.012, allocations: 54.31 kB / 1.13 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005359/1.012, allocations: 386 kB / 1.131 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.386e-05/1.012, allocations: 41.34 kB / 1.131 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.542e-05/1.013, allocations: 51.09 kB / 1.131 GB, free: 29.61 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009942/1.014, allocations: 0.5206 MB / 1.131 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/1.014, allocations: 0 / 1.131 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.234e-05/1.014, allocations: 19.38 kB / 1.131 GB, free: 29.45 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/1.014, allocations: 15.48 kB / 1.131 GB, free: 29.44 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007842/1.014, allocations: 464.2 kB / 1.132 GB, free: 29.36 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002053/1.016, allocations: 1.434 MB / 1.133 GB, free: 28.63 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008572/1.017, allocations: 493.7 kB / 1.134 GB, free: 28.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.019e-05/1.017, allocations: 11.86 kB / 1.134 GB, free: 28.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005013/1.018, allocations: 301.9 kB / 1.134 GB, free: 28.42 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 2.305e-06/1.018, allocations: 0 / 1.134 GB, free: 28.42 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.001133/1.019, allocations: 0.62 MB / 1.135 GB, free: 28.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/1.019, allocations: 66.73 kB / 1.135 GB, free: 28.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003035/1.019, allocations: 319.9 kB / 1.135 GB, free: 28.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.374e-05/1.02, allocations: 47.64 kB / 1.135 GB, free: 28.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001366/1.02, allocations: 217 kB / 1.135 GB, free: 27.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.683e-05/1.02, allocations: 145.9 kB / 1.135 GB, free: 27.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/1.02, allocations: 10.69 kB / 1.135 GB, free: 27.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.02, allocations: 356.3 kB / 1.136 GB, free: 27.48 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000366/1.02, allocations: 197 kB / 1.136 GB, free: 27.45 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003761/1.021, allocations: 271 kB / 1.136 GB, free: 27.35 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003576/1.021, allocations: 212.5 kB / 1.136 GB, free: 27.29 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/1.021, allocations: 0 / 1.136 GB, free: 27.29 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0009129/1.022, allocations: 0.5829 MB / 1.137 GB, free: 27.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.823e-05/1.022, allocations: 33.48 kB / 1.137 GB, free: 27.1 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.022, allocations: 7.703 kB / 1.137 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.936e-05/1.022, allocations: 7.594 kB / 1.137 GB, free: 27.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003054/1.022, allocations: 77.52 kB / 1.137 GB, free: 27.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/1.022, allocations: 3.844 kB / 1.137 GB, free: 27.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003576/1.023, allocations: 80.28 kB / 1.137 GB, free: 27.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.545e-05/1.023, allocations: 30.83 kB / 1.137 GB, free: 27.04 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.00029/1.023, allocations: 238.2 kB / 1.137 GB, free: 26.89 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.226e-05/1.023, allocations: 42.16 kB / 1.137 GB, free: 26.87 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009535/1.024, allocations: 0.5329 MB / 1.138 GB, free: 26.74 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/1.024, allocations: 11.62 kB / 1.138 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/1.024, allocations: 0 / 1.138 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/1.024, allocations: 3.984 kB / 1.138 GB, free: 26.73 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001625/1.026, allocations: 1.23 MB / 1.139 GB, free: 26.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/1.026, allocations: 8 kB / 1.139 GB, free: 26.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002237/1.026, allocations: 62.08 kB / 1.139 GB, free: 26.17 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.169e-06/1.026, allocations: 0 / 1.139 GB, free: 26.17 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.497e-05/1.026, allocations: 18.62 kB / 1.139 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/1.026, allocations: 3.906 kB / 1.139 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.026, allocations: 0 / 1.139 GB, free: 26.16 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007802/1.027, allocations: 0.5925 MB / 1.14 GB, free: 25.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.892e-05/1.027, allocations: 118.3 kB / 1.14 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.789e-05/1.027, allocations: 17.48 kB / 1.14 GB, free: 25.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003155/1.027, allocations: 72.7 kB / 1.14 GB, free: 25.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001459/1.028, allocations: 75.17 kB / 1.14 GB, free: 25.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.571e-05/1.028, allocations: 21.42 kB / 1.14 GB, free: 25.76 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001975/1.028, allocations: 216.7 kB / 1.14 GB, free: 25.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.1e-07/1.028, allocations: 4 kB / 1.14 GB, free: 25.65 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004706/1.028, allocations: 105.8 kB / 1.14 GB, free: 25.65 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.001811/1.03, allocations: 1.446 MB / 1.142 GB, free: 24.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0009119/1.031, allocations: 0.5497 MB / 1.142 GB, free: 24.65 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/1.031, allocations: 3.969 kB / 1.142 GB, free: 24.65 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003886/1.031, allocations: 266.8 kB / 1.143 GB, free: 24.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003659/1.032, allocations: 58.22 kB / 1.143 GB, free: 24.59 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003734/1.036, allocations: 3.589 MB / 1.146 GB, free: 22.41 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004756/1.036, allocations: 0.8611 MB / 1.147 GB, free: 21.64 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002595/1.036, allocations: 69.17 kB / 1.147 GB, free: 21.61 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002692/1.037, allocations: 163.8 kB / 1.147 GB, free: 21.59 MB / 0.698 GB Notification: Performance of SimCode: time 1.092e-06/1.037, allocations: 0 / 1.147 GB, free: 21.59 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02151/1.058, allocations: 9.3 MB / 1.156 GB, free: 17.13 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/1.058, allocations: 272 kB / 1.157 GB, free: 16.78 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.278/3.336, allocations: 4 kB / 1.157 GB, free: 16.77 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)