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.442/1.442, allocations: 249.5 MB / 257 MB, free: 6.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.001048/0.001048, allocations: 172.9 kB / 316.3 MB, free: 3.23 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.667/1.667, allocations: 205.3 MB / 0.5671 GB, free: 15.82 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.001015/0.001015, allocations: 92.39 kB / 0.6714 GB, free: 4.941 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.793e-05/1.794e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2256/0.2256, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8047/1.03, allocations: 137.8 MB / 1.02 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002889/1.031, allocations: 91.44 kB / 1.02 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02511/1.056, allocations: 9.426 MB / 1.029 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.844e-06/1.056, allocations: 0 / 1.029 GB, free: 7.777 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.056e-05/1.056, allocations: 8 kB / 1.029 GB, free: 7.77 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.001617/1.058, allocations: 0.7239 MB / 1.03 GB, free: 7.027 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.172e-05/1.058, allocations: 8.031 kB / 1.03 GB, free: 7.02 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002453/1.058, allocations: 55.34 kB / 1.03 GB, free: 6.965 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006718/1.059, allocations: 379 kB / 1.03 GB, free: 6.621 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.346e-05/1.059, allocations: 19.75 kB / 1.03 GB, free: 6.605 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/1.059, allocations: 36 kB / 1.03 GB, free: 6.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007564/1.059, allocations: 374.3 kB / 1.031 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008538/1.06, allocations: 435.6 kB / 1.031 GB, free: 6.035 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/1.06, allocations: 3.953 kB / 1.031 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.2e-05/1.06, allocations: 0 / 1.031 GB, free: 6.031 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.624e-05/1.06, allocations: 12 kB / 1.031 GB, free: 6.02 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002448/1.063, allocations: 1.344 MB / 1.033 GB, free: 4.992 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007428/1.064, allocations: 423.4 kB / 1.033 GB, free: 4.715 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002654/1.064, allocations: 175.7 kB / 1.033 GB, free: 4.609 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.968e-05/1.064, allocations: 8.062 kB / 1.033 GB, free: 4.605 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004364/1.064, allocations: 248.9 kB / 1.033 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=58): time 2.374e-06/1.064, allocations: 0 / 1.033 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58): time 0.0007188/1.065, allocations: 372.3 kB / 1.034 GB, free: 4.121 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/1.065, allocations: 63.95 kB / 1.034 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003329/1.066, allocations: 299.7 kB / 1.034 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 6.532e-05/1.066, allocations: 44.75 kB / 1.034 GB, free: 3.773 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/1.066, allocations: 213.7 kB / 1.034 GB, free: 3.609 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/1.066, allocations: 134.3 kB / 1.034 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.674e-05/1.066, allocations: 0 / 1.034 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001791/1.066, allocations: 355 kB / 1.035 GB, free: 3.16 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002842/1.066, allocations: 154.2 kB / 1.035 GB, free: 3.074 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003205/1.067, allocations: 228 kB / 1.035 GB, free: 2.898 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002737/1.067, allocations: 147.7 kB / 1.035 GB, free: 2.801 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/1.067, allocations: 3.938 kB / 1.035 GB, free: 2.797 MB / 0.6511 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0007852/1.068, allocations: 460.5 kB / 1.036 GB, free: 2.445 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.787e-05/1.068, allocations: 33.7 kB / 1.036 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/1.068, allocations: 0 / 1.036 GB, free: 2.406 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.588e-05/1.068, allocations: 12.22 kB / 1.036 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003528/1.068, allocations: 74.7 kB / 1.036 GB, free: 2.328 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/1.068, allocations: 8 kB / 1.036 GB, free: 2.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004485/1.069, allocations: 67.72 kB / 1.036 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.694e-05/1.069, allocations: 27.92 kB / 1.036 GB, free: 2.23 MB / 0.6511 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.0001783/1.069, allocations: 156.5 kB / 1.036 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005708/1.07, allocations: 371.1 kB / 1.036 GB, free: 1.789 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.201e-05/1.07, allocations: 43.53 kB / 1.036 GB, free: 1.746 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008306/1.071, allocations: 435.3 kB / 1.037 GB, free: 1.426 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.863e-06/1.071, allocations: 8 kB / 1.037 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/1.071, allocations: 0 / 1.037 GB, free: 1.418 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.032e-05/1.071, allocations: 7.938 kB / 1.037 GB, free: 1.41 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001728/1.072, allocations: 1.07 MB / 1.038 GB, free: 0.5508 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/1.072, allocations: 3.984 kB / 1.038 GB, free: 0.5469 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002505/1.073, allocations: 55.34 kB / 1.038 GB, free: 0.4961 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.073e-05/1.073, allocations: 7.953 kB / 1.038 GB, free: 500 kB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.762e-05/1.073, allocations: 3.984 kB / 1.038 GB, free: 496 kB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/1.073, allocations: 8 kB / 1.038 GB, free: 488 kB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/1.073, allocations: 0 / 1.038 GB, free: 488 kB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007375/1.073, allocations: 0.4969 MB / 1.038 GB, free: 60 kB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001308/1.074, allocations: 119.8 kB / 1.039 GB, free: 15.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.563e-05/1.074, allocations: 15.31 kB / 1.039 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003523/1.074, allocations: 59.88 kB / 1.039 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001777/1.074, allocations: 76.02 kB / 1.039 GB, free: 15.8 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.204e-05/1.074, allocations: 19.3 kB / 1.039 GB, free: 15.78 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002292/1.075, allocations: 206.9 kB / 1.039 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.8e-07/1.075, allocations: 0 / 1.039 GB, free: 15.62 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004881/1.075, allocations: 103.9 kB / 1.039 GB, free: 15.52 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.001903/1.077, allocations: 1.275 MB / 1.04 GB, free: 14.4 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.000734/1.078, allocations: 471.1 kB / 1.041 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/1.078, allocations: 4.438 kB / 1.041 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003216/1.078, allocations: 224.7 kB / 1.041 GB, free: 13.9 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004001/1.078, allocations: 48.62 kB / 1.041 GB, free: 13.86 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00159/1.08, allocations: 0.6811 MB / 1.042 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/1.081, allocations: 0.8586 MB / 1.043 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003008/1.081, allocations: 71.42 kB / 1.043 GB, free: 12.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002831/1.081, allocations: 170.2 kB / 1.043 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of SimCode: time 1.232e-06/1.081, allocations: 0 / 1.043 GB, free: 12.24 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03437/1.116, allocations: 8.815 MB / 1.051 GB, free: 3.492 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002298/1.116, allocations: 222.9 kB / 1.052 GB, free: 3.211 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.238/3.354, allocations: 4 kB / 1.052 GB, free: 3.207 MB / 0.6667 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)