Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.CoolingTowerSpeed") Notification: Performance of loadModel(Buildings): time 3.857/3.857, allocations: 432.7 MB / 445.3 MB, free: 15.66 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.928e-05/2.937e-05, allocations: 4.062 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2286/0.2287, allocations: 98.72 MB / 0.6347 GB, free: 1.863 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2026/0.4313, allocations: 132.4 MB / 0.764 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.4317, allocations: 95.94 kB / 0.7641 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03166/0.4634, allocations: 7.766 MB / 0.7717 GB, free: 5.418 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.205e-06/0.4634, allocations: 3.938 kB / 0.7717 GB, free: 5.414 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.179e-05/0.4635, allocations: 8 kB / 0.7717 GB, free: 5.406 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.001106/0.4646, allocations: 0.6105 MB / 0.7723 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.666e-05/0.4647, allocations: 16.02 kB / 0.7723 GB, free: 4.727 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001189/0.4648, allocations: 47.39 kB / 0.7724 GB, free: 4.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006676/0.4655, allocations: 356.2 kB / 0.7727 GB, free: 4.289 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.259e-05/0.4655, allocations: 20.56 kB / 0.7727 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.804e-05/0.4656, allocations: 28 kB / 0.7727 GB, free: 4.242 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006899/0.4663, allocations: 303.1 kB / 0.773 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.308e-05/0.4663, allocations: 0 / 0.773 GB, free: 3.926 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.292e-05/0.4664, allocations: 12 kB / 0.773 GB, free: 3.914 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.4664, allocations: 11.95 kB / 0.7731 GB, free: 3.902 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004998/0.4669, allocations: 190.2 kB / 0.7732 GB, free: 3.715 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001941/0.4689, allocations: 1.092 MB / 0.7743 GB, free: 2.562 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006118/0.4695, allocations: 218.9 kB / 0.7745 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002253/0.4698, allocations: 98.78 kB / 0.7746 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.526e-05/0.4698, allocations: 4 kB / 0.7746 GB, free: 2.238 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003489/0.4702, allocations: 153.1 kB / 0.7748 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 3.489e-06/0.4702, allocations: 0 / 0.7748 GB, free: 2.074 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.0006618/0.4709, allocations: 253.7 kB / 0.775 GB, free: 1.824 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.838e-05/0.471, allocations: 114.7 kB / 0.7751 GB, free: 1.688 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004989/0.4715, allocations: 307.5 kB / 0.7754 GB, free: 1.383 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.959e-05/0.4716, allocations: 33.7 kB / 0.7754 GB, free: 1.344 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002133/0.4718, allocations: 196.4 kB / 0.7756 GB, free: 1.145 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 8.583e-05/0.4719, allocations: 67.09 kB / 0.7757 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.78e-05/0.4719, allocations: 0 / 0.7757 GB, free: 1.078 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002024/0.4721, allocations: 346.8 kB / 0.776 GB, free: 0.7305 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.4724, allocations: 76.22 kB / 0.7761 GB, free: 0.6523 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002734/0.4726, allocations: 140.4 kB / 0.7762 GB, free: 0.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.4729, allocations: 111.7 kB / 0.7763 GB, free: 396 kB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.293e-06/0.4729, allocations: 0 / 0.7763 GB, free: 396 kB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006874/0.4736, allocations: 306.8 kB / 0.7766 GB, free: 76 kB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.4258/0.8994, allocations: 383.9 kB / 0.777 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.193e-05/0.8995, allocations: 3.078 kB / 0.777 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.135e-05/0.8995, allocations: 2.688 kB / 0.777 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003718/0.8999, allocations: 45.56 kB / 0.777 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.8999, allocations: 9.656 kB / 0.777 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.9002, allocations: 34.2 kB / 0.7771 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.886e-05/0.9003, allocations: 11.19 kB / 0.7771 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.9003, allocations: 4.75 kB / 0.7771 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006358/0.901, allocations: 254.6 kB / 0.7773 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.044e-06/0.901, allocations: 5.562 kB / 0.7773 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.147e-06/0.901, allocations: 2.219 kB / 0.7773 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.9013, allocations: 40.86 kB / 0.7774 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.509e-06/0.9013, allocations: 2.859 kB / 0.7774 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002357/0.9015, allocations: 32 kB / 0.7774 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.03e-05/0.9016, allocations: 7.672 kB / 0.7774 GB, free: 137.3 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.0001102/0.9017, allocations: 121.8 kB / 0.7775 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.436e-05/0.9018, allocations: 44.55 kB / 0.7776 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.9019, allocations: 36.31 kB / 0.7776 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.926e-06/0.9019, allocations: 3.188 kB / 0.7776 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.9019, allocations: 1.609 kB / 0.7776 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.518e-06/0.902, allocations: 0.7969 kB / 0.7776 GB, free: 137.2 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004848/0.9024, allocations: 392.2 kB / 0.778 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.93e-06/0.9025, allocations: 0 / 0.778 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002766/0.9028, allocations: 45.23 kB / 0.778 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.821e-06/0.9028, allocations: 1.75 kB / 0.778 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.06e-05/0.9028, allocations: 3.75 kB / 0.778 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.319e-06/0.9028, allocations: 4.453 kB / 0.7781 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.647e-06/0.9028, allocations: 5.547 kB / 0.7781 GB, free: 137 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008266/0.9037, allocations: 398.7 kB / 0.7784 GB, free: 136.9 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.9039, allocations: 132.2 kB / 0.7786 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.625e-05/0.9039, allocations: 13.19 kB / 0.7786 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.9042, allocations: 27.66 kB / 0.7786 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.292e-05/0.9043, allocations: 12.31 kB / 0.7786 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.45e-05/0.9043, allocations: 13.39 kB / 0.7786 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003466/0.9047, allocations: 241.2 kB / 0.7789 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.04e-07/0.9047, allocations: 0 / 0.7789 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006879/0.9054, allocations: 125.8 kB / 0.779 GB, free: 136.7 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.0002769/0.9057, allocations: 139.4 kB / 0.7791 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008416/0.9066, allocations: 429 kB / 0.7795 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.623e-06/0.9066, allocations: 2.156 kB / 0.7795 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.9068, allocations: 104.5 kB / 0.7796 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000535/0.9074, allocations: 80.91 kB / 0.7797 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001085/0.9085, allocations: 422.9 kB / 0.7801 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002954/0.9088, allocations: 0.8002 MB / 0.7809 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.000369/0.9092, allocations: 59.48 kB / 0.7809 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.018e-05/0.9093, allocations: 21.55 kB / 0.781 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of SimCode: time 1.764e-06/0.9093, allocations: 1.281 kB / 0.781 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of Templates: time 0.01352/0.9228, allocations: 4.385 MB / 0.7852 GB, free: 135.4 MB / 0.6511 GB