Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.707/1.707, allocations: 249.3 MB / 261.8 MB, free: 5.977 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001175/0.001175, allocations: 166.7 kB / 321.3 MB, free: 14.67 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.794/1.794, allocations: 205.2 MB / 0.572 GB, free: 10.71 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.0009899/0.00099, allocations: 82.5 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.171e-05/4.312e-05, allocations: 4 kB / 0.788 GB, free: 97 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2826/0.2826, allocations: 106.3 MB / 0.8919 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9301/1.213, allocations: 137.5 MB / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002713/1.213, allocations: 94.3 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02741/1.241, allocations: 9.558 MB / 1.036 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.285e-06/1.241, allocations: 0 / 1.036 GB, free: 4.809 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.839e-05/1.241, allocations: 15.94 kB / 1.036 GB, free: 4.793 MB / 0.6511 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.00186/1.243, allocations: 0.7228 MB / 1.036 GB, free: 4.051 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.9e-05/1.243, allocations: 8.031 kB / 1.036 GB, free: 4.043 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002441/1.243, allocations: 86.39 kB / 1.036 GB, free: 3.977 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002384/1.243, allocations: 59.33 kB / 1.037 GB, free: 3.918 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007839/1.244, allocations: 371.8 kB / 1.037 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.853e-05/1.244, allocations: 42.88 kB / 1.037 GB, free: 3.559 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/1.244, allocations: 57.17 kB / 1.037 GB, free: 3.52 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001136/1.245, allocations: 493.3 kB / 1.037 GB, free: 3.184 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/1.245, allocations: 4 kB / 1.037 GB, free: 3.18 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.804e-05/1.245, allocations: 21.2 kB / 1.037 GB, free: 3.172 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/1.245, allocations: 8 kB / 1.037 GB, free: 3.164 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009893/1.246, allocations: 401.7 kB / 1.038 GB, free: 2.914 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003333/1.25, allocations: 1.428 MB / 1.039 GB, free: 1.82 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001008/1.251, allocations: 445 kB / 1.04 GB, free: 1.523 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003747/1.251, allocations: 194.9 kB / 1.04 GB, free: 1.406 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.537e-05/1.251, allocations: 17.19 kB / 1.04 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005938/1.252, allocations: 259.2 kB / 1.04 GB, free: 1.195 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 6.122e-06/1.252, allocations: 4 kB / 1.04 GB, free: 1.191 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.001/1.253, allocations: 411.4 kB / 1.041 GB, free: 0.875 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.045e-05/1.253, allocations: 63.95 kB / 1.041 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000545/1.254, allocations: 313.7 kB / 1.041 GB, free: 0.5586 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001008/1.254, allocations: 56.69 kB / 1.041 GB, free: 0.5117 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002591/1.254, allocations: 211.1 kB / 1.041 GB, free: 356 kB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/1.254, allocations: 136.9 kB / 1.041 GB, free: 240 kB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.656e-05/1.254, allocations: 16.25 kB / 1.041 GB, free: 236 kB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002958/1.255, allocations: 354.5 kB / 1.042 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003894/1.255, allocations: 160.8 kB / 1.042 GB, free: 15.79 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004081/1.255, allocations: 248.2 kB / 1.042 GB, free: 15.6 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003793/1.256, allocations: 188.8 kB / 1.042 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.491e-06/1.256, allocations: 0 / 1.042 GB, free: 15.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001096/1.257, allocations: 0.5258 MB / 1.043 GB, free: 15.04 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/1.257, allocations: 33.14 kB / 1.043 GB, free: 15.01 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/1.257, allocations: 4.219 kB / 1.043 GB, free: 15 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.647e-05/1.257, allocations: 8 kB / 1.043 GB, free: 15 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003977/1.257, allocations: 79.19 kB / 1.043 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.364e-05/1.257, allocations: 11.94 kB / 1.043 GB, free: 14.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/1.258, allocations: 86.48 kB / 1.043 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.315e-05/1.258, allocations: 27.11 kB / 1.043 GB, free: 14.82 MB / 0.6667 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.000286/1.258, allocations: 170.2 kB / 1.043 GB, free: 14.66 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/1.259, allocations: 39.53 kB / 1.043 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009738/1.259, allocations: 492.5 kB / 1.044 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.131e-05/1.26, allocations: 4 kB / 1.044 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/1.26, allocations: 0 / 1.044 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.459e-05/1.26, allocations: 7.938 kB / 1.044 GB, free: 14.26 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002327/1.262, allocations: 1.178 MB / 1.045 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/1.262, allocations: 0 / 1.045 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/1.262, allocations: 63.28 kB / 1.045 GB, free: 13.26 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.47e-05/1.262, allocations: 4 kB / 1.045 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.401e-05/1.262, allocations: 14.19 kB / 1.045 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.152e-06/1.262, allocations: 4 kB / 1.045 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.847e-06/1.262, allocations: 3.938 kB / 1.045 GB, free: 13.24 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008719/1.263, allocations: 0.5269 MB / 1.045 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001465/1.263, allocations: 124.5 kB / 1.045 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.168e-05/1.263, allocations: 14.89 kB / 1.046 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003637/1.264, allocations: 63.19 kB / 1.046 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002378/1.264, allocations: 81.44 kB / 1.046 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.836e-05/1.264, allocations: 27.92 kB / 1.046 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003024/1.264, allocations: 213.8 kB / 1.046 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.31e-07/1.264, allocations: 0 / 1.046 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006246/1.265, allocations: 120.6 kB / 1.046 GB, free: 12.25 MB / 0.6667 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.002277/1.267, allocations: 1.342 MB / 1.047 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001011/1.268, allocations: 498.4 kB / 1.048 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/1.268, allocations: 0 / 1.048 GB, free: 10.72 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0004183/1.269, allocations: 241.2 kB / 1.048 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004615/1.269, allocations: 60.25 kB / 1.048 GB, free: 10.51 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002138/1.271, allocations: 0.7328 MB / 1.049 GB, free: 9.871 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008478/1.272, allocations: 0.8655 MB / 1.05 GB, free: 8.984 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003308/1.273, allocations: 63.44 kB / 1.05 GB, free: 8.918 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003542/1.273, allocations: 174 kB / 1.05 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of SimCode: time 1.112e-06/1.273, allocations: 0 / 1.05 GB, free: 8.859 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03042/1.303, allocations: 9.373 MB / 1.059 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002599/1.304, allocations: 249.5 kB / 1.059 GB, free: 15.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.515/3.819, allocations: 4 kB / 1.059 GB, free: 15.36 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_VariableSpeedPumpStage.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.pipe 2>&1)