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.CoolingTowerSpeed.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.CoolingTowerSpeed,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 2.39/2.39, 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.001175/0.001175, allocations: 180.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.394/2.394, allocations: 205.3 MB / 0.62 GB, free: 11.65 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.00115/0.00115, allocations: 98.53 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.193e-05/4.219e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.14/1.14, allocations: 115.3 MB / 0.9645 GB, free: 78.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2934/1.433, allocations: 147.6 MB / 1.109 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003403/1.434, allocations: 95.94 kB / 1.109 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.03684/1.471, allocations: 10.37 MB / 1.119 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.574e-06/1.471, allocations: 0 / 1.119 GB, free: 13.75 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.124e-05/1.471, allocations: 8 kB / 1.119 GB, free: 13.75 MB / 0.7292 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.001405/1.472, allocations: 0.684 MB / 1.12 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.942e-05/1.472, allocations: 8.031 kB / 1.12 GB, free: 13 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/1.472, allocations: 59.64 kB / 1.12 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009305/1.473, allocations: 423.7 kB / 1.12 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.41e-05/1.473, allocations: 12 kB / 1.12 GB, free: 12.47 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.908e-05/1.473, allocations: 12 kB / 1.12 GB, free: 12.46 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005165/1.474, allocations: 181.1 kB / 1.12 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006456/1.475, allocations: 291.7 kB / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/1.475, allocations: 0 / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/1.475, allocations: 0 / 1.12 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.184e-05/1.475, allocations: 8 kB / 1.12 GB, free: 11.96 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002038/1.477, allocations: 1.101 MB / 1.122 GB, free: 10.8 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005901/1.477, allocations: 227.3 kB / 1.122 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/1.478, allocations: 89.23 kB / 1.122 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/1.478, allocations: 4.188 kB / 1.122 GB, free: 10.48 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003482/1.478, allocations: 144.9 kB / 1.122 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=23): time 2.464e-06/1.478, allocations: 0 / 1.122 GB, free: 10.32 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23): time 0.0006435/1.479, allocations: 235.5 kB / 1.122 GB, free: 10.09 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001287/1.479, allocations: 162.2 kB / 1.122 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006219/1.479, allocations: 369.1 kB / 1.123 GB, free: 9.531 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.119e-05/1.48, allocations: 25.7 kB / 1.123 GB, free: 9.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002471/1.48, allocations: 225.8 kB / 1.123 GB, free: 9.277 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.518e-05/1.48, allocations: 75 kB / 1.123 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.716e-05/1.48, allocations: 0 / 1.123 GB, free: 9.203 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0002013/1.48, allocations: 350.8 kB / 1.123 GB, free: 8.852 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001764/1.48, allocations: 75.98 kB / 1.123 GB, free: 8.777 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002959/1.481, allocations: 165.6 kB / 1.124 GB, free: 8.586 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/1.481, allocations: 79.98 kB / 1.124 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.481, allocations: 0 / 1.124 GB, free: 8.508 MB / 0.7292 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005542/1.481, allocations: 255.3 kB / 1.124 GB, free: 8.254 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.406e-05/1.481, allocations: 8 kB / 1.124 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.265e-06/1.481, allocations: 0 / 1.124 GB, free: 8.246 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.031e-05/1.481, allocations: 4 kB / 1.124 GB, free: 8.242 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00036/1.482, allocations: 55.95 kB / 1.124 GB, free: 8.188 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/1.482, allocations: 13.88 kB / 1.124 GB, free: 8.176 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002869/1.482, allocations: 27.83 kB / 1.124 GB, free: 8.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/1.482, allocations: 8 kB / 1.124 GB, free: 8.141 MB / 0.7292 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.0001596/1.482, allocations: 119.9 kB / 1.124 GB, free: 8.02 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005156/1.483, allocations: 233 kB / 1.124 GB, free: 7.785 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/1.483, allocations: 43.52 kB / 1.124 GB, free: 7.742 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006914/1.484, allocations: 264.6 kB / 1.125 GB, free: 7.477 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/1.484, allocations: 4 kB / 1.125 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.484, allocations: 0 / 1.125 GB, free: 7.473 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.013e-05/1.484, allocations: 3.984 kB / 1.125 GB, free: 7.469 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005986/1.484, allocations: 393.8 kB / 1.125 GB, free: 7.047 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/1.484, allocations: 7.812 kB / 1.125 GB, free: 7.043 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000319/1.485, allocations: 43.91 kB / 1.125 GB, free: 7 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/1.485, allocations: 4 kB / 1.125 GB, free: 6.996 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.47e-05/1.485, allocations: 4 kB / 1.125 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/1.485, allocations: 0 / 1.125 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/1.485, allocations: 0 / 1.125 GB, free: 6.992 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008753/1.486, allocations: 406.1 kB / 1.125 GB, free: 6.578 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002195/1.486, allocations: 148.6 kB / 1.126 GB, free: 6.414 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.036e-05/1.486, allocations: 3.984 kB / 1.126 GB, free: 6.41 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002667/1.486, allocations: 24.05 kB / 1.126 GB, free: 6.387 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000105/1.486, allocations: 19.97 kB / 1.126 GB, free: 6.367 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.68e-05/1.486, allocations: 4 kB / 1.126 GB, free: 6.363 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004374/1.487, allocations: 287 kB / 1.126 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.2e-07/1.487, allocations: 0 / 1.126 GB, free: 6.086 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005899/1.487, allocations: 83.77 kB / 1.126 GB, free: 6.004 MB / 0.7292 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.002252/1.49, allocations: 1.199 MB / 1.127 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0005536/1.49, allocations: 203.8 kB / 1.127 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.49, allocations: 0 / 1.127 GB, free: 4.715 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002421/1.491, allocations: 112.1 kB / 1.127 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006803/1.491, allocations: 96.5 kB / 1.128 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001732/1.493, allocations: 0.5793 MB / 1.128 GB, free: 3.902 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005673/1.494, allocations: 0.8265 MB / 1.129 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0002778/1.494, allocations: 47.53 kB / 1.129 GB, free: 3.008 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003041/1.494, allocations: 139.4 kB / 1.129 GB, free: 2.871 MB / 0.7292 GB Notification: Performance of SimCode: time 4.21e-07/1.494, allocations: 4 kB / 1.129 GB, free: 2.867 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04272/1.537, allocations: 7.873 MB / 1.137 GB, free: 11.16 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003387/1.537, allocations: 222.6 kB / 1.137 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.042/4.579, allocations: 0 / 1.137 GB, free: 10.87 MB / 0.7448 GB (rm -f Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed_fmu --startTime=0 --stopTime=1080 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed.fmu > Buildings_maint.8.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.pipe 2>&1)