Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.395/2.395, allocations: 248.5 MB / 261.1 MB, free: 6.047 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.001522/0.001521, allocations: 178.6 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.063/2.063, allocations: 205.2 MB / 0.571 GB, free: 11.73 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.001042/0.001042, allocations: 97.92 kB / 0.6754 GB, free: 0.8125 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.399e-05/4.414e-05, allocations: 7.984 kB / 0.7869 GB, free: 97.76 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.203, allocations: 106.2 MB / 0.8907 GB, free: 7.418 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8767/1.08, allocations: 142.1 MB / 1.029 GB, free: 9.184 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/1.08, allocations: 96.17 kB / 1.03 GB, free: 9.129 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04722/1.127, allocations: 10.61 MB / 1.04 GB, free: 260 kB / 0.6511 GB Notification: Performance of FrontEnd: time 1.944e-06/1.127, allocations: 3.938 kB / 1.04 GB, free: 256 kB / 0.6511 GB Notification: Performance of Transformations before backend: time 6.044e-05/1.128, allocations: 11.94 kB / 1.04 GB, free: 244 kB / 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.001553/1.129, allocations: 0.6976 MB / 1.041 GB, free: 15.52 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.387e-05/1.129, allocations: 8.031 kB / 1.041 GB, free: 15.51 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000105/1.129, allocations: 62.19 kB / 1.041 GB, free: 15.45 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/1.129, allocations: 55.34 kB / 1.041 GB, free: 15.4 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00103/1.131, allocations: 436.4 kB / 1.041 GB, free: 15 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.07e-05/1.131, allocations: 27.62 kB / 1.041 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.772e-05/1.131, allocations: 27.56 kB / 1.041 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008367/1.132, allocations: 324.6 kB / 1.042 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.536e-05/1.132, allocations: 0 / 1.042 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.641e-05/1.132, allocations: 17.39 kB / 1.042 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.735e-05/1.132, allocations: 4 kB / 1.042 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005723/1.132, allocations: 198.2 kB / 1.042 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002403/1.135, allocations: 1.164 MB / 1.043 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007606/1.135, allocations: 235.8 kB / 1.043 GB, free: 13.41 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002579/1.136, allocations: 99.34 kB / 1.043 GB, free: 13.35 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 4.409e-05/1.136, allocations: 11.42 kB / 1.043 GB, free: 13.34 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004081/1.136, allocations: 155.1 kB / 1.043 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=23): time 3.176e-06/1.136, allocations: 0 / 1.043 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of matching and sorting (n=23): time 0.000778/1.137, allocations: 259.7 kB / 1.044 GB, free: 13.02 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.905e-05/1.137, allocations: 158.2 kB / 1.044 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007839/1.138, allocations: 412.7 kB / 1.044 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 5.901e-05/1.138, allocations: 33.02 kB / 1.044 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000235/1.138, allocations: 233.3 kB / 1.044 GB, free: 12.32 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.000103/1.138, allocations: 75.73 kB / 1.044 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.256e-05/1.138, allocations: 2.938 kB / 1.044 GB, free: 12.25 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001708/1.139, allocations: 358.2 kB / 1.045 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002339/1.139, allocations: 81.55 kB / 1.045 GB, free: 11.86 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003581/1.139, allocations: 162.6 kB / 1.045 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002528/1.139, allocations: 79.55 kB / 1.045 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.968e-06/1.139, allocations: 0 / 1.045 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0007542/1.14, allocations: 283.4 kB / 1.045 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.348e-05/1.14, allocations: 4 kB / 1.045 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/1.14, allocations: 3.984 kB / 1.045 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.66e-05/1.14, allocations: 8.109 kB / 1.045 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005267/1.141, allocations: 63.86 kB / 1.045 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.138e-05/1.141, allocations: 0 / 1.045 GB, free: 11.38 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004428/1.141, allocations: 42.17 kB / 1.046 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.805e-05/1.141, allocations: 11.98 kB / 1.046 GB, free: 11.33 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.0001622/1.142, allocations: 127.9 kB / 1.046 GB, free: 11.2 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001014/1.142, allocations: 43.44 kB / 1.046 GB, free: 11.16 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008249/1.143, allocations: 283.7 kB / 1.046 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/1.143, allocations: 0 / 1.046 GB, free: 10.97 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.324e-06/1.143, allocations: 7.891 kB / 1.046 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/1.143, allocations: 0 / 1.046 GB, free: 10.96 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007242/1.143, allocations: 442.8 kB / 1.046 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.456e-06/1.143, allocations: 3.938 kB / 1.046 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004637/1.144, allocations: 51.91 kB / 1.046 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.693e-06/1.144, allocations: 0 / 1.046 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.458e-05/1.144, allocations: 4 kB / 1.046 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.582e-06/1.144, allocations: 0 / 1.046 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.144, allocations: 4 kB / 1.046 GB, free: 10.52 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001042/1.145, allocations: 429.9 kB / 1.047 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002607/1.145, allocations: 153.2 kB / 1.047 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-05/1.145, allocations: 11 kB / 1.047 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003872/1.146, allocations: 24.05 kB / 1.047 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.146, allocations: 19.91 kB / 1.047 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.573e-05/1.146, allocations: 15.61 kB / 1.047 GB, free: 10 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0006054/1.147, allocations: 323.6 kB / 1.047 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.71e-07/1.147, allocations: 0 / 1.047 GB, free: 9.762 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005864/1.147, allocations: 93.34 kB / 1.047 GB, free: 9.68 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.002476/1.15, allocations: 1.253 MB / 1.049 GB, free: 8.66 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0007092/1.15, allocations: 215.6 kB / 1.049 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/1.15, allocations: 0 / 1.049 GB, free: 8.516 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000299/1.151, allocations: 115.2 kB / 1.049 GB, free: 8.438 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009541/1.152, allocations: 98.98 kB / 1.049 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001938/1.154, allocations: 0.6081 MB / 1.05 GB, free: 7.801 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004958/1.154, allocations: 0.8304 MB / 1.051 GB, free: 6.949 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0003626/1.155, allocations: 55.23 kB / 1.051 GB, free: 6.891 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003294/1.155, allocations: 149.4 kB / 1.051 GB, free: 6.844 MB / 0.6667 GB Notification: Performance of SimCode: time 1.312e-06/1.155, allocations: 4 kB / 1.051 GB, free: 6.84 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03968/1.195, allocations: 9.08 MB / 1.06 GB, free: 13.98 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003283/1.195, allocations: 233 kB / 1.06 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.762/3.957, allocations: 3.656 kB / 1.06 GB, free: 13.67 MB / 0.6823 GB