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.CoolingTowerSpeed.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.CoolingTowerSpeed,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",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.445/1.445, allocations: 249.5 MB / 257 MB, free: 6.895 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.001094/0.001095, allocations: 169.9 kB / 316.3 MB, free: 3.277 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.811/1.811, allocations: 205.3 MB / 0.5671 GB, free: 15.92 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.0008827/0.0008826, allocations: 83.55 kB / 0.6714 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.113e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2425/0.2426, allocations: 106.3 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8046/1.047, allocations: 142.6 MB / 1.025 GB, free: 10.96 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/1.048, allocations: 91.69 kB / 1.025 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.02751/1.075, allocations: 10.54 MB / 1.035 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of FrontEnd: time 4.819e-06/1.075, allocations: 0 / 1.035 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.78e-05/1.075, allocations: 15.88 kB / 1.035 GB, free: 2.238 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.0009878/1.076, allocations: 0.6908 MB / 1.036 GB, free: 1.527 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/1.076, allocations: 8.031 kB / 1.036 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001113/1.076, allocations: 67.62 kB / 1.036 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006414/1.077, allocations: 432.8 kB / 1.036 GB, free: 1.055 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.708e-05/1.077, allocations: 12 kB / 1.036 GB, free: 1.043 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.659e-05/1.077, allocations: 19.98 kB / 1.036 GB, free: 1.023 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003363/1.077, allocations: 175.9 kB / 1.036 GB, free: 0.9258 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004391/1.078, allocations: 290.8 kB / 1.037 GB, free: 0.6758 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.099e-05/1.078, allocations: 4 kB / 1.037 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.777e-05/1.078, allocations: 0 / 1.037 GB, free: 0.6719 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.054e-05/1.078, allocations: 11.95 kB / 1.037 GB, free: 0.6602 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001346/1.079, allocations: 1.1 MB / 1.038 GB, free: 15.72 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/1.08, allocations: 219.8 kB / 1.038 GB, free: 15.58 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001303/1.08, allocations: 89.03 kB / 1.038 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 3.014e-05/1.08, allocations: 4.188 kB / 1.038 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002429/1.08, allocations: 156.7 kB / 1.038 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=23): time 1.663e-06/1.08, allocations: 0 / 1.038 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23): time 0.0004302/1.081, allocations: 232.1 kB / 1.038 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.276e-05/1.081, allocations: 161.5 kB / 1.039 GB, free: 15.03 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003858/1.081, allocations: 368.9 kB / 1.039 GB, free: 14.74 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.129e-05/1.081, allocations: 29.7 kB / 1.039 GB, free: 14.71 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001516/1.081, allocations: 237 kB / 1.039 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.596e-05/1.081, allocations: 73.8 kB / 1.039 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.262e-05/1.081, allocations: 0 / 1.039 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.081, allocations: 358.7 kB / 1.04 GB, free: 14.14 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001123/1.082, allocations: 70.31 kB / 1.04 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001698/1.082, allocations: 160.2 kB / 1.04 GB, free: 13.96 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/1.082, allocations: 79.59 kB / 1.04 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/1.082, allocations: 0 / 1.04 GB, free: 13.91 MB / 0.6667 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003671/1.082, allocations: 256 kB / 1.04 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.873e-05/1.082, allocations: 8 kB / 1.04 GB, free: 13.71 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/1.082, allocations: 4.125 kB / 1.04 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/1.082, allocations: 4 kB / 1.04 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/1.083, allocations: 51.16 kB / 1.04 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.776e-06/1.083, allocations: 7.938 kB / 1.04 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/1.083, allocations: 31.81 kB / 1.04 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/1.083, allocations: 8 kB / 1.04 GB, free: 13.61 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$PRE.cooMod.combiTimeTable.nextTimeEvent,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * 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.0001018/1.083, allocations: 120.4 kB / 1.04 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000339/1.083, allocations: 244.7 kB / 1.041 GB, free: 13.3 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.149e-05/1.083, allocations: 43.44 kB / 1.041 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004112/1.084, allocations: 257.8 kB / 1.041 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.906e-06/1.084, allocations: 0 / 1.041 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/1.084, allocations: 0 / 1.041 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.951e-06/1.084, allocations: 3.953 kB / 1.041 GB, free: 13.06 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003712/1.084, allocations: 401.6 kB / 1.041 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.084, allocations: 4 kB / 1.041 GB, free: 12.72 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002289/1.084, allocations: 43.91 kB / 1.041 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/1.084, allocations: 0 / 1.041 GB, free: 12.68 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/1.084, allocations: 11.56 kB / 1.041 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/1.084, allocations: 0 / 1.041 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/1.084, allocations: 0 / 1.041 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005717/1.085, allocations: 400.5 kB / 1.042 GB, free: 12.38 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001537/1.085, allocations: 164.3 kB / 1.042 GB, free: 12.22 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/1.085, allocations: 3.938 kB / 1.042 GB, free: 12.21 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/1.086, allocations: 23.97 kB / 1.042 GB, free: 12.19 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.539e-05/1.086, allocations: 19.47 kB / 1.042 GB, free: 12.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.004e-05/1.086, allocations: 11.25 kB / 1.042 GB, free: 12.17 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002888/1.086, allocations: 285.8 kB / 1.042 GB, free: 11.96 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.61e-07/1.086, allocations: 4.062 kB / 1.042 GB, free: 11.95 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003689/1.086, allocations: 91.14 kB / 1.042 GB, free: 11.87 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (cooTowSpeCon.conPID.I.y) * Number of discrete variables: 6 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,cooMod.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001464/1.088, allocations: 1.201 MB / 1.043 GB, free: 10.86 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003593/1.088, allocations: 203.6 kB / 1.044 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/1.088, allocations: 0 / 1.044 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/1.088, allocations: 109.4 kB / 1.044 GB, free: 10.65 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005289/1.089, allocations: 92.33 kB / 1.044 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/1.09, allocations: 0.5845 MB / 1.044 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000377/1.09, allocations: 0.8257 MB / 1.045 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001975/1.091, allocations: 55.23 kB / 1.045 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001999/1.091, allocations: 152.1 kB / 1.045 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of SimCode: time 2.4e-07/1.091, allocations: 0 / 1.045 GB, free: 9.078 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02906/1.12, allocations: 8.183 MB / 1.053 GB, free: 0.9492 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002738/1.12, allocations: 220.6 kB / 1.054 GB, free: 0.6641 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.121/3.241, allocations: 0 / 1.054 GB, free: 0.6641 MB / 0.6667 GB (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)