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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.24/4.24, allocations: 433.2 MB / 440.7 MB, free: 4.574 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.871e-05/1.894e-05, allocations: 3.531 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2241, allocations: 98.73 MB / 0.6289 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2512/0.4753, allocations: 131.7 MB / 0.7575 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003434/0.4757, allocations: 99.94 kB / 0.7576 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03423/0.51, allocations: 7.712 MB / 0.7652 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of FrontEnd: time 5.19e-06/0.51, allocations: 3.984 kB / 0.7652 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.209e-05/0.5101, allocations: 8 kB / 0.7652 GB, free: 13.41 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.001359/0.5114, allocations: 0.6259 MB / 0.7658 GB, free: 12.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.449e-05/0.5115, allocations: 12.03 kB / 0.7658 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001575/0.5117, allocations: 39.53 kB / 0.7658 GB, free: 12.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007679/0.5125, allocations: 368.2 kB / 0.7662 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.408e-05/0.5125, allocations: 8 kB / 0.7662 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.196e-05/0.5126, allocations: 16 kB / 0.7662 GB, free: 12.25 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005413/0.5132, allocations: 165.1 kB / 0.7664 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007803/0.5139, allocations: 274 kB / 0.7666 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.514, allocations: 3.953 kB / 0.7666 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/0.5141, allocations: 4 kB / 0.7666 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.5141, allocations: 8 kB / 0.7666 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003459/0.5176, allocations: 1.029 MB / 0.7676 GB, free: 10.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001195/0.5189, allocations: 206.8 kB / 0.7678 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004084/0.5193, allocations: 92.98 kB / 0.7679 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.227e-05/0.5194, allocations: 0 / 0.7679 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005583/0.52, allocations: 141 kB / 0.7681 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=21): time 4.228e-06/0.52, allocations: 0 / 0.7681 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=21): time 0.001239/0.5213, allocations: 245.8 kB / 0.7683 GB, free: 10 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001108/0.5214, allocations: 114.8 kB / 0.7684 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008154/0.5223, allocations: 261.6 kB / 0.7687 GB, free: 9.609 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.542e-05/0.5224, allocations: 29.7 kB / 0.7687 GB, free: 9.574 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000347/0.5228, allocations: 196.3 kB / 0.7689 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001529/0.5229, allocations: 67.02 kB / 0.7689 GB, free: 9.312 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.993e-05/0.523, allocations: 4 kB / 0.7689 GB, free: 9.309 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002633/0.5233, allocations: 342.8 kB / 0.7693 GB, free: 8.965 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002166/0.5235, allocations: 76.22 kB / 0.7693 GB, free: 8.887 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002595/0.5238, allocations: 127.4 kB / 0.7695 GB, free: 8.746 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.5241, allocations: 76 kB / 0.7695 GB, free: 8.672 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.5241, allocations: 4 kB / 0.7695 GB, free: 8.668 MB / 0.6511 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007195/0.5248, allocations: 257.5 kB / 0.7698 GB, free: 8.414 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002069/0.525, allocations: 402.9 kB / 0.7702 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.5251, allocations: 0 / 0.7702 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.5251, allocations: 0 / 0.7702 GB, free: 7.988 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003905/0.5255, allocations: 43.97 kB / 0.7702 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.5255, allocations: 0 / 0.7702 GB, free: 7.945 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003471/0.5259, allocations: 43.7 kB / 0.7703 GB, free: 7.902 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.917e-05/0.5259, allocations: 12 kB / 0.7703 GB, free: 7.891 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.426e-05/0.526, allocations: 11.94 kB / 0.7703 GB, free: 7.879 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006033/0.5266, allocations: 203.8 kB / 0.7705 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.566e-06/0.5266, allocations: 0 / 0.7705 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.891e-06/0.5266, allocations: 0 / 0.7705 GB, free: 7.68 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003089/0.5269, allocations: 36.08 kB / 0.7705 GB, free: 7.645 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.5269, allocations: 7.938 kB / 0.7705 GB, free: 7.637 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003267/0.5273, allocations: 23.83 kB / 0.7705 GB, free: 7.613 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.316e-05/0.5273, allocations: 8 kB / 0.7705 GB, free: 7.605 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.0001624/0.5275, allocations: 109.7 kB / 0.7706 GB, free: 7.492 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006063/0.5281, allocations: 243.7 kB / 0.7709 GB, free: 7.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.726e-05/0.5282, allocations: 35.61 kB / 0.7709 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001376/0.5284, allocations: 43.05 kB / 0.771 GB, free: 7.172 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.5284, allocations: 4 kB / 0.771 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.5284, allocations: 0 / 0.771 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.5284, allocations: 0 / 0.771 GB, free: 7.168 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007735/0.5292, allocations: 345.9 kB / 0.7713 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.5292, allocations: 0 / 0.7713 GB, free: 6.793 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006345/0.5299, allocations: 39.91 kB / 0.7713 GB, free: 6.754 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.265e-05/0.5299, allocations: 3.953 kB / 0.7713 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.221e-05/0.53, allocations: 0 / 0.7713 GB, free: 6.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.257e-05/0.53, allocations: 8 kB / 0.7713 GB, free: 6.742 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.53, allocations: 3.938 kB / 0.7713 GB, free: 6.738 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001549/0.5316, allocations: 380.6 kB / 0.7717 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003415/0.532, allocations: 136.6 kB / 0.7718 GB, free: 6.195 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000116/0.5321, allocations: 3.953 kB / 0.7718 GB, free: 6.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000474/0.5326, allocations: 24.05 kB / 0.7719 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001283/0.5328, allocations: 15.97 kB / 0.7719 GB, free: 6.152 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-05/0.5329, allocations: 11.98 kB / 0.7719 GB, free: 6.141 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000669/0.5336, allocations: 208.6 kB / 0.7721 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.001e-06/0.5336, allocations: 0 / 0.7721 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001413/0.535, allocations: 115.6 kB / 0.7722 GB, free: 5.824 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.002518/0.5376, allocations: 0.9474 MB / 0.7731 GB, free: 4.848 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.5391, allocations: 419.6 kB / 0.7735 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.5391, allocations: 0 / 0.7735 GB, free: 4.414 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003758/0.5395, allocations: 95.92 kB / 0.7736 GB, free: 4.32 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001192/0.5407, allocations: 75.94 kB / 0.7737 GB, free: 4.246 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002562/0.5433, allocations: 491.4 kB / 0.7742 GB, free: 3.734 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006281/0.544, allocations: 0.7996 MB / 0.7749 GB, free: 2.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0007621/0.5448, allocations: 55.34 kB / 0.775 GB, free: 2.855 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003751/0.5452, allocations: 111.4 kB / 0.7751 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/0.5452, allocations: 0 / 0.7751 GB, free: 2.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6304/1.176, allocations: 6.658 MB / 0.7816 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002623/1.176, allocations: 190.6 kB / 0.7818 GB, free: 140.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.86/4.036, allocations: 2.969 kB / 0.7818 GB, free: 140.5 MB / 0.6511 GB