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.444/1.444, allocations: 251.9 MB / 266.9 MB, free: 11.04 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.001188/0.001188, allocations: 192.8 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.938/1.938, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0011/0.0011, allocations: 92.2 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004787, allocations: 10.25 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2812/0.2817, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1833/0.4651, allocations: 142.4 MB / 1.039 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000296/0.4655, allocations: 99.94 kB / 1.039 GB, free: 1.168 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03071/0.4962, allocations: 10.65 MB / 1.05 GB, free: 6.492 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.786e-06/0.4963, allocations: 0 / 1.05 GB, free: 6.492 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.594e-05/0.4963, allocations: 8 kB / 1.05 GB, free: 6.484 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: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.00171/0.4981, allocations: 0.7736 MB / 1.05 GB, free: 5.656 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.283e-05/0.4981, allocations: 12.03 kB / 1.05 GB, free: 5.645 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001395/0.4983, allocations: 66.81 kB / 1.051 GB, free: 5.57 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000191/0.4985, allocations: 59.3 kB / 1.051 GB, free: 5.512 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009292/0.4994, allocations: 433.5 kB / 1.051 GB, free: 5.047 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.052e-05/0.4995, allocations: 20.56 kB / 1.051 GB, free: 5.027 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/0.4996, allocations: 27.94 kB / 1.051 GB, free: 5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000716/0.5003, allocations: 360.8 kB / 1.051 GB, free: 4.613 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.356e-05/0.5003, allocations: 3.938 kB / 1.051 GB, free: 4.609 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.835e-05/0.5003, allocations: 12 kB / 1.051 GB, free: 4.598 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.035e-05/0.5004, allocations: 7.953 kB / 1.051 GB, free: 4.59 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005883/0.501, allocations: 250.1 kB / 1.052 GB, free: 4.348 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001863/0.5028, allocations: 1.172 MB / 1.053 GB, free: 3.105 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007217/0.5036, allocations: 305 kB / 1.053 GB, free: 2.801 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.389e-05/0.5036, allocations: 4.188 kB / 1.053 GB, free: 2.797 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003885/0.504, allocations: 168.5 kB / 1.053 GB, free: 2.621 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 3.907e-06/0.504, allocations: 0 / 1.053 GB, free: 2.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001005/0.505, allocations: 419.7 kB / 1.054 GB, free: 2.207 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.5052, allocations: 166.1 kB / 1.054 GB, free: 2.008 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005773/0.5058, allocations: 417.1 kB / 1.054 GB, free: 1.594 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.754e-05/0.5058, allocations: 29.7 kB / 1.054 GB, free: 1.559 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001803/0.506, allocations: 232.1 kB / 1.054 GB, free: 1.328 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.44e-05/0.5061, allocations: 74.98 kB / 1.055 GB, free: 1.254 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.5061, allocations: 4 kB / 1.055 GB, free: 1.25 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001332/0.5062, allocations: 354.8 kB / 1.055 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.5065, allocations: 107.9 kB / 1.055 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003213/0.5068, allocations: 188.5 kB / 1.055 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.5071, allocations: 119.8 kB / 1.055 GB, free: 468 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.5071, allocations: 0 / 1.055 GB, free: 468 kB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0006757/0.5078, allocations: 336.1 kB / 1.056 GB, free: 128 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.905e-05/0.5078, allocations: 7.984 kB / 1.056 GB, free: 120 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.5078, allocations: 4 kB / 1.056 GB, free: 116 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.5079, allocations: 3.938 kB / 1.056 GB, free: 112 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002683/0.5081, allocations: 56.09 kB / 1.056 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5082, allocations: 0 / 1.056 GB, free: 56 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.5084, allocations: 43.72 kB / 1.056 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.5418/1.05, allocations: 16.45 kB / 1.056 GB, free: 146.5 MB / 0.698 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 () * Number of clocked 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.0005161/1.051, allocations: 172.6 kB / 1.056 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001829/1.051, allocations: 43.22 kB / 1.056 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008614/1.052, allocations: 342.9 kB / 1.056 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/1.052, allocations: 2.594 kB / 1.056 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/1.052, allocations: 4.938 kB / 1.056 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/1.052, allocations: 1.359 kB / 1.056 GB, free: 146.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005635/1.052, allocations: 444.7 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/1.052, allocations: 1.172 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/1.053, allocations: 47.81 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.374e-06/1.053, allocations: 3.75 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.213e-05/1.053, allocations: 5.562 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/1.053, allocations: 1.766 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/1.053, allocations: 1.188 kB / 1.057 GB, free: 146.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009338/1.054, allocations: 0.4916 MB / 1.057 GB, free: 146.1 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001868/1.054, allocations: 159.1 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.644e-05/1.054, allocations: 6.219 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/1.054, allocations: 29.77 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.65e-05/1.054, allocations: 21.28 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/1.054, allocations: 8.266 kB / 1.057 GB, free: 146 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000359/1.055, allocations: 329.8 kB / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.055, allocations: 0 / 1.058 GB, free: 145.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004028/1.055, allocations: 94.66 kB / 1.058 GB, free: 145.9 MB / 0.698 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) * Number of clocked states: 0 () * 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.001985/1.057, allocations: 1.383 MB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006043/1.058, allocations: 271 kB / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.058, allocations: 0 / 1.059 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002754/1.058, allocations: 140.2 kB / 1.06 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005371/1.059, allocations: 107.7 kB / 1.06 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003637/1.062, allocations: 3.02 MB / 1.063 GB, free: 143.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002988/1.063, allocations: 0.8309 MB / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002342/1.063, allocations: 51.59 kB / 1.063 GB, free: 143.1 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002174/1.063, allocations: 150.3 kB / 1.064 GB, free: 143.1 MB / 0.698 GB Notification: Performance of SimCode: time 7.11e-07/1.063, allocations: 0 / 1.064 GB, free: 143.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03523/1.098, allocations: 9.198 MB / 1.073 GB, free: 142.5 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002567/1.099, allocations: 271.4 kB / 1.073 GB, free: 142.1 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.266/3.364, allocations: 11.25 kB / 1.073 GB, free: 142.1 MB / 0.698 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)