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 2.559/2.559, allocations: 285.6 MB / 293.1 MB, free: 10.2 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.001617/0.001617, allocations: 176.8 kB / 361.4 MB, free: 6.836 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.718/2.718, allocations: 205.2 MB / 0.62 GB, free: 11.66 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.000901/0.0009008, allocations: 105.5 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.105e-05/2.108e-05, allocations: 0 / 0.8518 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9095/0.9095, allocations: 115.3 MB / 0.9645 GB, free: 78.88 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/1.125, allocations: 143.1 MB / 1.104 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003107/1.125, allocations: 97.34 kB / 1.104 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.02843/1.154, allocations: 9.406 MB / 1.114 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.713e-06/1.154, allocations: 0 / 1.114 GB, free: 3.203 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.579e-05/1.154, allocations: 16 kB / 1.114 GB, free: 3.188 MB / 0.7136 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.001675/1.155, allocations: 0.727 MB / 1.114 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/1.155, allocations: 8.031 kB / 1.114 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003188/1.156, allocations: 63.3 kB / 1.114 GB, free: 2.332 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007523/1.157, allocations: 366.2 kB / 1.115 GB, free: 1.93 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.661e-05/1.157, allocations: 24 kB / 1.115 GB, free: 1.906 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000113/1.157, allocations: 35.94 kB / 1.115 GB, free: 1.871 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008556/1.158, allocations: 370.5 kB / 1.115 GB, free: 1.512 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009222/1.159, allocations: 436.2 kB / 1.115 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.547e-05/1.159, allocations: 0 / 1.115 GB, free: 1.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.696e-05/1.159, allocations: 7.938 kB / 1.115 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/1.159, allocations: 12 kB / 1.115 GB, free: 1.051 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002811/1.161, allocations: 1.344 MB / 1.117 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007814/1.162, allocations: 415.7 kB / 1.117 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002921/1.163, allocations: 178.9 kB / 1.117 GB, free: 15.08 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 5.125e-05/1.163, allocations: 8.438 kB / 1.117 GB, free: 15.07 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004633/1.163, allocations: 254.4 kB / 1.118 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=58): time 3.486e-06/1.163, allocations: 0 / 1.118 GB, free: 14.81 MB / 0.7292 GB Notification: Performance of matching and sorting (n=58): time 0.0008198/1.164, allocations: 370.6 kB / 1.118 GB, free: 14.45 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.432e-05/1.164, allocations: 63.95 kB / 1.118 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003862/1.164, allocations: 305.9 kB / 1.118 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.261e-05/1.164, allocations: 37.7 kB / 1.118 GB, free: 14.02 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/1.165, allocations: 213.2 kB / 1.119 GB, free: 13.81 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/1.165, allocations: 138.1 kB / 1.119 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.67e-05/1.165, allocations: 0 / 1.119 GB, free: 13.68 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001684/1.165, allocations: 358.8 kB / 1.119 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/1.165, allocations: 149.5 kB / 1.119 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003411/1.166, allocations: 232.8 kB / 1.119 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002922/1.166, allocations: 144.5 kB / 1.12 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/1.166, allocations: 0 / 1.12 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.000832/1.167, allocations: 451.7 kB / 1.12 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/1.167, allocations: 45.62 kB / 1.12 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.069e-05/1.167, allocations: 4 kB / 1.12 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.433e-05/1.167, allocations: 8.219 kB / 1.12 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/1.167, allocations: 75.83 kB / 1.12 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.269e-05/1.167, allocations: 4 kB / 1.12 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000491/1.168, allocations: 71.69 kB / 1.12 GB, free: 12.12 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.503e-05/1.168, allocations: 20 kB / 1.12 GB, free: 12.11 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.000206/1.168, allocations: 156.8 kB / 1.12 GB, free: 11.95 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006615/1.169, allocations: 370.6 kB / 1.121 GB, free: 11.58 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/1.169, allocations: 47.52 kB / 1.121 GB, free: 11.53 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009604/1.17, allocations: 437.2 kB / 1.121 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/1.17, allocations: 4 kB / 1.121 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/1.17, allocations: 4 kB / 1.121 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/1.17, allocations: 3.984 kB / 1.121 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002089/1.172, allocations: 1.068 MB / 1.122 GB, free: 9.977 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.645e-06/1.172, allocations: 4 kB / 1.122 GB, free: 9.973 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/1.172, allocations: 63.83 kB / 1.122 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.06e-05/1.172, allocations: 0 / 1.122 GB, free: 9.91 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.634e-05/1.172, allocations: 7.953 kB / 1.122 GB, free: 9.902 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.437e-06/1.172, allocations: 4 kB / 1.122 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/1.172, allocations: 0 / 1.122 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000831/1.173, allocations: 0.4993 MB / 1.123 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00013/1.173, allocations: 124.5 kB / 1.123 GB, free: 9.242 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/1.173, allocations: 4 kB / 1.123 GB, free: 9.238 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/1.174, allocations: 59.89 kB / 1.123 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002016/1.174, allocations: 80.44 kB / 1.123 GB, free: 9.102 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.007e-05/1.174, allocations: 27.92 kB / 1.123 GB, free: 9.074 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0002605/1.174, allocations: 203.8 kB / 1.123 GB, free: 8.875 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.61e-07/1.174, allocations: 4 kB / 1.123 GB, free: 8.871 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005385/1.175, allocations: 91.84 kB / 1.123 GB, free: 8.781 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.001986/1.177, allocations: 1.283 MB / 1.125 GB, free: 7.59 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009161/1.178, allocations: 469.6 kB / 1.125 GB, free: 7.121 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.057e-06/1.178, allocations: 4.438 kB / 1.125 GB, free: 7.117 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0003632/1.178, allocations: 226 kB / 1.125 GB, free: 6.891 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004316/1.179, allocations: 51.11 kB / 1.125 GB, free: 6.84 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002053/1.181, allocations: 0.6803 MB / 1.126 GB, free: 6.125 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006175/1.181, allocations: 0.8515 MB / 1.127 GB, free: 5.246 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003102/1.182, allocations: 80.55 kB / 1.127 GB, free: 5.172 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003311/1.182, allocations: 167.4 kB / 1.127 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of SimCode: time 1.072e-06/1.182, allocations: 0 / 1.127 GB, free: 5.008 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0369/1.219, allocations: 8.807 MB / 1.136 GB, free: 12.42 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003082/1.219, allocations: 227.2 kB / 1.136 GB, free: 12.13 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.688/3.908, allocations: 4 kB / 1.136 GB, free: 12.13 MB / 0.7448 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)