Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.VariableSpeedPumpStage,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.346/2.346, allocations: 248.5 MB / 261.1 MB, free: 6.066 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.001593/0.001593, allocations: 194.5 kB / 320.4 MB, free: 15.33 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.962/1.962, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001113/0.001113, allocations: 94.42 kB / 0.6754 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.766e-05/3.783e-05, allocations: 8 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2104, allocations: 106.2 MB / 0.8907 GB, free: 7.445 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8396/1.05, allocations: 137.4 MB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003502/1.051, allocations: 91.56 kB / 1.025 GB, free: 13.91 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04099/1.092, allocations: 9.577 MB / 1.034 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.744e-06/1.092, allocations: 0 / 1.034 GB, free: 5.828 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.161e-05/1.092, allocations: 11.94 kB / 1.034 GB, free: 5.816 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.00182/1.093, allocations: 0.7243 MB / 1.035 GB, free: 5.07 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/1.094, allocations: 8.031 kB / 1.035 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001738/1.094, allocations: 86.64 kB / 1.035 GB, free: 4.996 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/1.094, allocations: 55.34 kB / 1.035 GB, free: 4.941 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008279/1.095, allocations: 378.3 kB / 1.036 GB, free: 4.598 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.786e-05/1.095, allocations: 44.56 kB / 1.036 GB, free: 4.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001276/1.095, allocations: 54.5 kB / 1.036 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/1.096, allocations: 498.6 kB / 1.036 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.387e-05/1.096, allocations: 0 / 1.036 GB, free: 4.195 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/1.096, allocations: 21.98 kB / 1.036 GB, free: 4.188 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.655e-05/1.096, allocations: 12 kB / 1.036 GB, free: 4.176 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/1.098, allocations: 394 kB / 1.036 GB, free: 3.93 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003677/1.101, allocations: 1.427 MB / 1.038 GB, free: 2.84 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001261/1.103, allocations: 456.6 kB / 1.038 GB, free: 2.531 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005025/1.103, allocations: 199.8 kB / 1.039 GB, free: 2.414 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.503e-05/1.103, allocations: 4.438 kB / 1.039 GB, free: 2.41 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006917/1.104, allocations: 264.6 kB / 1.039 GB, free: 2.207 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 3.536e-06/1.104, allocations: 7.938 kB / 1.039 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.001187/1.105, allocations: 406.3 kB / 1.039 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/1.105, allocations: 68.62 kB / 1.039 GB, free: 1.816 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005634/1.106, allocations: 307.3 kB / 1.04 GB, free: 1.574 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001153/1.106, allocations: 51.89 kB / 1.04 GB, free: 1.531 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002143/1.106, allocations: 220.4 kB / 1.04 GB, free: 1.359 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/1.106, allocations: 136.3 kB / 1.04 GB, free: 1.246 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.034e-05/1.106, allocations: 14.19 kB / 1.04 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001721/1.107, allocations: 354.2 kB / 1.04 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005032/1.107, allocations: 169.4 kB / 1.04 GB, free: 0.8008 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005535/1.108, allocations: 240.4 kB / 1.041 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/1.108, allocations: 184.3 kB / 1.041 GB, free: 488 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/1.108, allocations: 0 / 1.041 GB, free: 488 kB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001399/1.11, allocations: 0.5324 MB / 1.041 GB, free: 60 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.141e-05/1.11, allocations: 33.58 kB / 1.041 GB, free: 24 kB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.25e-05/1.11, allocations: 4 kB / 1.041 GB, free: 20 kB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/1.11, allocations: 8.219 kB / 1.041 GB, free: 12 kB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006563/1.11, allocations: 79.22 kB / 1.041 GB, free: 15.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.009e-05/1.111, allocations: 11.92 kB / 1.041 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/1.111, allocations: 90.59 kB / 1.042 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.2e-05/1.111, allocations: 19.69 kB / 1.042 GB, free: 15.83 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.000264/1.112, allocations: 176.1 kB / 1.042 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/1.112, allocations: 39.53 kB / 1.042 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001343/1.113, allocations: 481 kB / 1.042 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.679e-06/1.113, allocations: 8 kB / 1.042 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/1.113, allocations: 3.953 kB / 1.042 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/1.113, allocations: 3.984 kB / 1.042 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002769/1.116, allocations: 1.184 MB / 1.043 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.116, allocations: 0 / 1.043 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004825/1.116, allocations: 59.39 kB / 1.043 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.319e-05/1.117, allocations: 4 kB / 1.043 GB, free: 14.28 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.281e-05/1.117, allocations: 13.86 kB / 1.043 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.661e-06/1.117, allocations: 4 kB / 1.043 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.117, allocations: 0 / 1.043 GB, free: 14.27 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001199/1.118, allocations: 0.5319 MB / 1.044 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001485/1.118, allocations: 123.5 kB / 1.044 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.604e-05/1.118, allocations: 19.36 kB / 1.044 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006667/1.119, allocations: 66.69 kB / 1.044 GB, free: 13.62 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/1.119, allocations: 74.52 kB / 1.044 GB, free: 13.56 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.823e-05/1.119, allocations: 23.67 kB / 1.044 GB, free: 13.54 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003577/1.12, allocations: 217 kB / 1.045 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.11e-07/1.12, allocations: 0 / 1.045 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006788/1.12, allocations: 120.2 kB / 1.045 GB, free: 13.27 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.00246/1.123, allocations: 1.337 MB / 1.046 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001355/1.124, allocations: 0.4933 MB / 1.046 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.124, allocations: 0 / 1.046 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006124/1.125, allocations: 238 kB / 1.047 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006206/1.125, allocations: 63.03 kB / 1.047 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002372/1.128, allocations: 0.7278 MB / 1.047 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005608/1.128, allocations: 0.8587 MB / 1.048 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004655/1.129, allocations: 75.41 kB / 1.048 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003975/1.129, allocations: 169.6 kB / 1.048 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of SimCode: time 1.463e-06/1.129, allocations: 0 / 1.048 GB, free: 9.906 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04039/1.17, allocations: 9.37 MB / 1.058 GB, free: 0.7422 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004251/1.17, allocations: 235.1 kB / 1.058 GB, free: 444 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.83/4, allocations: 4 kB / 1.058 GB, free: 440 kB / 0.6667 GB