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.508/1.508, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001226/0.001227, allocations: 187.9 kB / 326.5 MB, free: 2.242 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.89/1.89, allocations: 205.4 MB / 0.5775 GB, free: 20.27 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.0008599/0.0008596, allocations: 95.72 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003958, allocations: 16.2 kB / 0.7963 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2305/0.2309, allocations: 106.3 MB / 0.9002 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1821/0.4131, allocations: 137.6 MB / 1.035 GB, free: 6.027 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003318/0.4135, allocations: 95.92 kB / 1.035 GB, free: 5.934 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02632/0.4398, allocations: 9.586 MB / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.076e-06/0.4399, allocations: 0 / 1.044 GB, free: 12.29 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.421e-05/0.4399, allocations: 12 kB / 1.044 GB, free: 12.27 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.001526/0.4415, allocations: 0.762 MB / 1.045 GB, free: 11.45 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.4415, allocations: 12.03 kB / 1.045 GB, free: 11.44 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.4417, allocations: 86.52 kB / 1.045 GB, free: 11.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000138/0.4418, allocations: 59.34 kB / 1.045 GB, free: 11.29 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005952/0.4424, allocations: 382.1 kB / 1.045 GB, free: 10.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.348e-05/0.4425, allocations: 48.98 kB / 1.045 GB, free: 10.82 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.276e-05/0.4426, allocations: 48 kB / 1.045 GB, free: 10.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.4436, allocations: 0.5176 MB / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4436, allocations: 0 / 1.046 GB, free: 10.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.647e-05/0.4437, allocations: 19.95 kB / 1.046 GB, free: 10.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.497e-05/0.4437, allocations: 15.94 kB / 1.046 GB, free: 10.21 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009675/0.4447, allocations: 463.7 kB / 1.046 GB, free: 9.758 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002415/0.4471, allocations: 1.423 MB / 1.048 GB, free: 8.281 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000955/0.4481, allocations: 0.4932 MB / 1.048 GB, free: 7.781 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.801e-05/0.4481, allocations: 8.5 kB / 1.048 GB, free: 7.773 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005555/0.4487, allocations: 294.9 kB / 1.049 GB, free: 7.473 MB / 0.698 GB Notification: Performance of pre-optimization done (n=58): time 2.585e-06/0.4487, allocations: 0 / 1.049 GB, free: 7.473 MB / 0.698 GB Notification: Performance of matching and sorting (n=58): time 0.001279/0.45, allocations: 0.6234 MB / 1.049 GB, free: 6.844 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.4501, allocations: 71.92 kB / 1.049 GB, free: 6.758 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.4504, allocations: 309.8 kB / 1.049 GB, free: 6.453 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.167e-05/0.4505, allocations: 57.69 kB / 1.05 GB, free: 6.391 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001781/0.4507, allocations: 213.2 kB / 1.05 GB, free: 6.176 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001282/0.4508, allocations: 150 kB / 1.05 GB, free: 6.027 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.952e-05/0.4509, allocations: 16 kB / 1.05 GB, free: 6.012 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001488/0.451, allocations: 350.8 kB / 1.05 GB, free: 5.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000419/0.4515, allocations: 193.2 kB / 1.05 GB, free: 5.473 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004566/0.4519, allocations: 274 kB / 1.051 GB, free: 5.184 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004131/0.4523, allocations: 216.8 kB / 1.051 GB, free: 4.965 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.339e-06/0.4524, allocations: 4 kB / 1.051 GB, free: 4.961 MB / 0.698 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.001052/0.4534, allocations: 0.5726 MB / 1.051 GB, free: 4.375 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.4535, allocations: 29.7 kB / 1.051 GB, free: 4.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.4535, allocations: 4 kB / 1.051 GB, free: 4.336 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.4535, allocations: 4.219 kB / 1.051 GB, free: 4.332 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003102/0.4538, allocations: 87.81 kB / 1.052 GB, free: 4.246 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.339e-05/0.4538, allocations: 7.938 kB / 1.052 GB, free: 4.238 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003829/0.4542, allocations: 83.66 kB / 1.052 GB, free: 4.156 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.251e-05/0.4543, allocations: 27.98 kB / 1.052 GB, free: 4.129 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.0002817/0.4546, allocations: 229.7 kB / 1.052 GB, free: 3.895 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.421e-05/0.4547, allocations: 39.52 kB / 1.052 GB, free: 3.855 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001023/0.4557, allocations: 0.5381 MB / 1.052 GB, free: 3.312 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/0.4557, allocations: 8 kB / 1.052 GB, free: 3.305 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4557, allocations: 8 kB / 1.052 GB, free: 3.297 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.685e-06/0.4557, allocations: 3.984 kB / 1.052 GB, free: 3.293 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001982/0.4577, allocations: 1.231 MB / 1.054 GB, free: 2.004 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.687e-06/0.4577, allocations: 3.938 kB / 1.054 GB, free: 2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002422/0.458, allocations: 59.89 kB / 1.054 GB, free: 1.941 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.458, allocations: 7.953 kB / 1.054 GB, free: 1.934 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.476e-05/0.458, allocations: 15.94 kB / 1.054 GB, free: 1.918 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.4581, allocations: 4 kB / 1.054 GB, free: 1.914 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4581, allocations: 3.984 kB / 1.054 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009381/0.459, allocations: 0.589 MB / 1.054 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.4591, allocations: 124.5 kB / 1.054 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.282e-05/0.4592, allocations: 19.94 kB / 1.055 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003938/0.4596, allocations: 59.95 kB / 1.055 GB, free: 1.086 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.4598, allocations: 80.44 kB / 1.055 GB, free: 1.008 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.429e-05/0.4598, allocations: 19.98 kB / 1.055 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002338/0.4601, allocations: 221.9 kB / 1.055 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4601, allocations: 0 / 1.055 GB, free: 0.7734 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004671/0.4606, allocations: 104 kB / 1.055 GB, free: 0.6719 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.475/0.9356, allocations: 1.428 MB / 1.056 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001336/0.9369, allocations: 0.5511 MB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.937, allocations: 5.25 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000512/0.9375, allocations: 265.6 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005031/0.938, allocations: 60.78 kB / 1.057 GB, free: 146.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004261/0.9423, allocations: 3.592 MB / 1.061 GB, free: 144.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.9426, allocations: 0.858 MB / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002635/0.9429, allocations: 69.38 kB / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.9432, allocations: 166 kB / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of SimCode: time 7.61e-07/0.9432, allocations: 0 / 1.062 GB, free: 144.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.972, allocations: 9.298 MB / 1.071 GB, free: 143.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001811/0.9722, allocations: 274.9 kB / 1.071 GB, free: 143.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.214/3.186, allocations: 6.75 kB / 1.071 GB, free: 143.3 MB / 0.698 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)