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.103/2.103, allocations: 251 MB / 265.9 MB, free: 11.68 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.002188/0.002188, allocations: 171.3 kB / 325.5 MB, free: 2.906 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.381/2.381, allocations: 205.4 MB / 0.5764 GB, free: 20.83 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.001147/0.001146, allocations: 92.92 kB / 0.6809 GB, free: 13.65 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004669, allocations: 12.12 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2117, allocations: 106.3 MB / 0.8988 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2383/0.4501, allocations: 142.2 MB / 1.038 GB, free: 3.074 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003771/0.4505, allocations: 99.92 kB / 1.038 GB, free: 2.977 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04733/0.4979, allocations: 10.65 MB / 1.048 GB, free: 8.305 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.225e-06/0.4979, allocations: 4 kB / 1.048 GB, free: 8.301 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.737e-05/0.498, allocations: 12 kB / 1.048 GB, free: 8.289 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.001822/0.4998, allocations: 0.7677 MB / 1.049 GB, free: 7.469 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.259e-05/0.4999, allocations: 8.031 kB / 1.049 GB, free: 7.461 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001241/0.5, allocations: 66.48 kB / 1.049 GB, free: 7.387 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.5002, allocations: 55.34 kB / 1.049 GB, free: 7.332 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.5013, allocations: 433.3 kB / 1.049 GB, free: 6.867 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.27e-05/0.5014, allocations: 20.56 kB / 1.05 GB, free: 6.848 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.08e-05/0.5015, allocations: 28 kB / 1.05 GB, free: 6.82 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.5025, allocations: 364.7 kB / 1.05 GB, free: 6.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.5025, allocations: 4 kB / 1.05 GB, free: 6.426 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.5026, allocations: 15.95 kB / 1.05 GB, free: 6.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.458e-05/0.5026, allocations: 8 kB / 1.05 GB, free: 6.402 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009675/0.5036, allocations: 254.1 kB / 1.05 GB, free: 6.156 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002428/0.506, allocations: 1.171 MB / 1.051 GB, free: 4.914 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001196/0.5073, allocations: 292.8 kB / 1.052 GB, free: 4.621 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.867e-05/0.5073, allocations: 8.172 kB / 1.052 GB, free: 4.613 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006155/0.508, allocations: 179.4 kB / 1.052 GB, free: 4.426 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 3.677e-06/0.508, allocations: 3.938 kB / 1.052 GB, free: 4.422 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.001685/0.5097, allocations: 416.8 kB / 1.052 GB, free: 4.008 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000105/0.5098, allocations: 158.2 kB / 1.052 GB, free: 3.816 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008778/0.5107, allocations: 421 kB / 1.053 GB, free: 3.395 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.963e-05/0.5108, allocations: 29.7 kB / 1.053 GB, free: 3.359 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002663/0.5111, allocations: 236.1 kB / 1.053 GB, free: 3.125 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/0.5112, allocations: 71 kB / 1.053 GB, free: 3.055 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.704e-05/0.5112, allocations: 4 kB / 1.053 GB, free: 3.051 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001891/0.5114, allocations: 350.8 kB / 1.053 GB, free: 2.699 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004497/0.5119, allocations: 103.9 kB / 1.053 GB, free: 2.598 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000565/0.5125, allocations: 196.5 kB / 1.054 GB, free: 2.375 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005159/0.513, allocations: 115.8 kB / 1.054 GB, free: 2.262 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.513, allocations: 0 / 1.054 GB, free: 2.262 MB / 0.698 GB Notification: Performance of matching and sorting (n=29) (initialization): time 0.00119/0.5142, allocations: 336.8 kB / 1.054 GB, free: 1.926 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.5142, allocations: 12.12 kB / 1.054 GB, free: 1.914 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.5143, allocations: 0 / 1.054 GB, free: 1.914 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.118e-05/0.5143, allocations: 4 kB / 1.054 GB, free: 1.91 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004842/0.5148, allocations: 55.97 kB / 1.054 GB, free: 1.855 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/0.5148, allocations: 11.95 kB / 1.054 GB, free: 1.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004161/0.5152, allocations: 43.81 kB / 1.054 GB, free: 1.801 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-05/0.5153, allocations: 8 kB / 1.054 GB, free: 1.793 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.0003621/0.5157, allocations: 173.8 kB / 1.054 GB, free: 1.613 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.5158, allocations: 47.44 kB / 1.054 GB, free: 1.566 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001225/0.517, allocations: 338.2 kB / 1.055 GB, free: 1.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.012e-06/0.517, allocations: 3.938 kB / 1.055 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.517, allocations: 0 / 1.055 GB, free: 1.227 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.574e-05/0.5171, allocations: 7.938 kB / 1.055 GB, free: 1.219 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007004/0.5178, allocations: 453.1 kB / 1.055 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.246e-06/0.5178, allocations: 0 / 1.055 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004308/0.5182, allocations: 51.97 kB / 1.055 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.563e-06/0.5183, allocations: 0 / 1.055 GB, free: 0.6758 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.425e-05/0.5183, allocations: 7.984 kB / 1.055 GB, free: 0.668 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.037e-06/0.5183, allocations: 3.938 kB / 1.055 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.5183, allocations: 0 / 1.055 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001677/0.52, allocations: 0.4934 MB / 1.056 GB, free: 156 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.6037/1.124, allocations: 156.6 kB / 1.056 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000194/1.124, allocations: 6.406 kB / 1.056 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004115/1.124, allocations: 24.03 kB / 1.056 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001187/1.125, allocations: 20.58 kB / 1.056 GB, free: 148 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.383e-05/1.125, allocations: 9.172 kB / 1.056 GB, free: 148 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000676/1.125, allocations: 329.3 kB / 1.056 GB, free: 147.9 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.61e-07/1.125, allocations: 0.5625 kB / 1.056 GB, free: 147.9 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000568/1.126, allocations: 91.77 kB / 1.056 GB, free: 147.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.003035/1.129, allocations: 1.363 MB / 1.058 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001058/1.13, allocations: 274.1 kB / 1.058 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/1.13, allocations: 2.594 kB / 1.058 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004749/1.131, allocations: 140.3 kB / 1.058 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009065/1.131, allocations: 102.1 kB / 1.058 GB, free: 147.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005538/1.137, allocations: 3.018 MB / 1.061 GB, free: 145.9 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003208/1.137, allocations: 0.8325 MB / 1.062 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003766/1.138, allocations: 52.94 kB / 1.062 GB, free: 145.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/1.138, allocations: 144 kB / 1.062 GB, free: 145.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.052e-06/1.138, allocations: 3.219 kB / 1.062 GB, free: 145.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04151/1.18, allocations: 9.195 MB / 1.071 GB, free: 144.6 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003118/1.18, allocations: 271.5 kB / 1.071 GB, free: 144.2 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/4.092, allocations: 0 / 1.071 GB, free: 144.2 MB / 0.698 GB