Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,fileNamePrefix="Buildings_6_0_0_Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_CoolingTowerSpeed",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.335/4.335, allocations: 432.6 MB / 445.2 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.29e-05, allocations: 3.359 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2169/0.217, allocations: 98.74 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2401/0.4572, allocations: 132.4 MB / 0.764 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005141/0.4578, allocations: 99.88 kB / 0.7641 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0353/0.4931, allocations: 7.762 MB / 0.7717 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4932, allocations: 4 kB / 0.7717 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.334e-05/0.4932, allocations: 8 kB / 0.7717 GB, free: 5.445 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001338/0.4946, allocations: 0.6298 MB / 0.7723 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.839e-05/0.4946, allocations: 12.03 kB / 0.7723 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.546e-05/0.4947, allocations: 58.53 kB / 0.7724 GB, free: 4.684 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001227/0.4949, allocations: 43.48 kB / 0.7724 GB, free: 4.641 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007092/0.4956, allocations: 360.2 kB / 0.7728 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.409e-05/0.4956, allocations: 20.56 kB / 0.7728 GB, free: 4.227 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.713e-05/0.4957, allocations: 24 kB / 0.7728 GB, free: 4.203 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007455/0.4965, allocations: 303.2 kB / 0.7731 GB, free: 3.887 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.4965, allocations: 3.938 kB / 0.7731 GB, free: 3.883 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.47e-05/0.4966, allocations: 8 kB / 0.7731 GB, free: 3.875 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.325e-05/0.4966, allocations: 11.95 kB / 0.7731 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005352/0.4971, allocations: 186.2 kB / 0.7733 GB, free: 3.68 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002085/0.4992, allocations: 1.1 MB / 0.7744 GB, free: 2.52 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006636/0.4999, allocations: 214.8 kB / 0.7746 GB, free: 2.301 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000243/0.5002, allocations: 96.97 kB / 0.7747 GB, free: 2.203 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.5003, allocations: 4 kB / 0.7747 GB, free: 2.199 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003755/0.5006, allocations: 150.7 kB / 0.7748 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 3.347e-06/0.5007, allocations: 0 / 0.7748 GB, free: 2.039 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.0007221/0.5014, allocations: 255.6 kB / 0.7751 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.85e-05/0.5015, allocations: 110.8 kB / 0.7752 GB, free: 1.652 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005155/0.502, allocations: 311.5 kB / 0.7755 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.506e-05/0.5021, allocations: 29.7 kB / 0.7755 GB, free: 1.309 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000246/0.5023, allocations: 200.4 kB / 0.7757 GB, free: 1.105 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.162e-05/0.5024, allocations: 67 kB / 0.7757 GB, free: 1.039 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.5025, allocations: 8 kB / 0.7758 GB, free: 1.031 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.5026, allocations: 346.8 kB / 0.7761 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002223/0.5029, allocations: 68.23 kB / 0.7761 GB, free: 0.6133 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002835/0.5032, allocations: 133.5 kB / 0.7763 GB, free: 476 kB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002621/0.5035, allocations: 109.7 kB / 0.7764 GB, free: 360 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.5035, allocations: 0 / 0.7764 GB, free: 360 kB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007718/0.5043, allocations: 306.1 kB / 0.7767 GB, free: 44 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.5616/1.066, allocations: 391.1 kB / 0.777 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/1.066, allocations: 4.875 kB / 0.7771 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.209e-05/1.066, allocations: 3.219 kB / 0.7771 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006435/1.067, allocations: 45.25 kB / 0.7771 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.695e-05/1.067, allocations: 8.203 kB / 0.7771 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005358/1.067, allocations: 40.73 kB / 0.7771 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.937e-05/1.067, allocations: 12.42 kB / 0.7772 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.464e-05/1.067, allocations: 3.156 kB / 0.7772 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001041/1.068, allocations: 254.5 kB / 0.7774 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/1.068, allocations: 2.438 kB / 0.7774 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/1.069, allocations: 2.531 kB / 0.7774 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004308/1.069, allocations: 41.05 kB / 0.7774 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/1.069, allocations: 4.734 kB / 0.7774 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004072/1.069, allocations: 26.8 kB / 0.7775 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.582e-05/1.069, allocations: 7.969 kB / 0.7775 GB, free: 137.2 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,cooTowSpeCon.pmcMod.y,cooTowSpeCon.fmcMod.y,$PRE.cooMod.y,cooMod.y,$PRE.cooMod.nextTime,cooMod.nextTime,$PRE.cooMod.index,cooMod.index,cooTowSpeCon.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 1 * 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.000175/1.07, allocations: 120.9 kB / 0.7776 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001173/1.07, allocations: 40.83 kB / 0.7776 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001707/1.07, allocations: 38.83 kB / 0.7777 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/1.07, allocations: 2.844 kB / 0.7777 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/1.07, allocations: 3.344 kB / 0.7777 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.726e-06/1.07, allocations: 2.391 kB / 0.7777 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007811/1.071, allocations: 389.6 kB / 0.7781 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.938e-06/1.071, allocations: 0 / 0.7781 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004903/1.071, allocations: 39.34 kB / 0.7781 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/1.071, allocations: 1.156 kB / 0.7781 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.175e-05/1.071, allocations: 7.156 kB / 0.7781 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.953e-06/1.071, allocations: 5.031 kB / 0.7781 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/1.071, allocations: 3.391 kB / 0.7781 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001358/1.073, allocations: 399.2 kB / 0.7785 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002577/1.073, allocations: 136.2 kB / 0.7786 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000108/1.073, allocations: 9.781 kB / 0.7786 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004362/1.074, allocations: 26.41 kB / 0.7787 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001035/1.074, allocations: 17.19 kB / 0.7787 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.19e-05/1.074, allocations: 10.12 kB / 0.7787 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0005867/1.075, allocations: 245.4 kB / 0.7789 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.81e-07/1.075, allocations: 0 / 0.7789 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001088/1.076, allocations: 121.8 kB / 0.779 GB, free: 136.6 MB / 0.6511 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.nextTime,cooMod.index) * Number of discrete states: 2 (cooMod.nextTime,cooMod.index) * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.00184/1.078, allocations: 0.9712 MB / 0.78 GB, free: 136 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001288/1.079, allocations: 440.3 kB / 0.7804 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/1.079, allocations: 0.6562 kB / 0.7804 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003787/1.079, allocations: 97.75 kB / 0.7805 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009147/1.08, allocations: 79.34 kB / 0.7806 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002185/1.082, allocations: 0.497 MB / 0.7811 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004357/1.083, allocations: 0.8002 MB / 0.7818 GB, free: 135 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006268/1.084, allocations: 59.5 kB / 0.7819 GB, free: 135 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/1.084, allocations: 110.6 kB / 0.782 GB, free: 135 MB / 0.6511 GB Notification: Performance of SimCode: time 1.322e-06/1.084, allocations: 3.719 kB / 0.782 GB, free: 135 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04788/1.132, allocations: 7.577 MB / 0.7894 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/1.132, allocations: 198.7 kB / 0.7896 GB, free: 134.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.78/3.912, allocations: 0 / 0.7896 GB, free: 134.2 MB / 0.6511 GB