Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.208/2.208, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001522/0.001522, allocations: 177.3 kB / 325.6 MB, free: 2.816 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.384/2.384, allocations: 205.4 MB / 0.5766 GB, free: 20.72 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001082/0.001082, allocations: 102.4 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.000457, allocations: 16.98 kB / 0.7952 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2006/0.2011, allocations: 106.3 MB / 0.8989 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.259/6.461, allocations: 2.173 GB / 3.072 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003645/6.461, allocations: 96.94 kB / 3.072 GB, free: 12.08 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.7749/7.236, allocations: 27.98 MB / 3.099 GB, free: 329.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.054e-06/7.236, allocations: 0.9062 kB / 3.099 GB, free: 329.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.365e-06/7.236, allocations: 0.8125 kB / 3.099 GB, free: 329.3 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.000561/7.237, allocations: 390.8 kB / 3.1 GB, free: 329 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.459e-05/7.237, allocations: 12.72 kB / 3.1 GB, free: 328.9 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/7.237, allocations: 8.453 kB / 3.1 GB, free: 328.9 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.562e-05/7.237, allocations: 167.6 kB / 3.1 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/7.237, allocations: 5.922 kB / 3.1 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.264e-05/7.237, allocations: 2.094 kB / 3.1 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000282/7.237, allocations: 93.17 kB / 3.1 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/7.237, allocations: 4.625 kB / 3.1 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.714e-05/7.237, allocations: 4.156 kB / 3.1 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-05/7.237, allocations: 11.16 kB / 3.1 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002428/7.238, allocations: 87.08 kB / 3.1 GB, free: 328.7 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000619/7.238, allocations: 332.6 kB / 3.1 GB, free: 328.4 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002858/7.238, allocations: 107.9 kB / 3.101 GB, free: 328.4 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000979/7.239, allocations: 456.7 kB / 3.101 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/7.239, allocations: 32.59 kB / 3.101 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=11): time 2.996e-06/7.24, allocations: 0 / 3.101 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of matching and sorting (n=11): time 0.0004175/7.24, allocations: 125.5 kB / 3.101 GB, free: 327.9 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/7.24, allocations: 52.81 kB / 3.101 GB, free: 327.8 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.994e-05/7.24, allocations: 108.5 kB / 3.101 GB, free: 327.7 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/7.24, allocations: 25.7 kB / 3.101 GB, free: 327.7 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.68e-05/7.24, allocations: 95.77 kB / 3.101 GB, free: 327.6 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.399e-05/7.24, allocations: 50.36 kB / 3.101 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.988e-06/7.24, allocations: 0.9375 kB / 3.101 GB, free: 327.5 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/7.24, allocations: 326.6 kB / 3.102 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.962e-05/7.24, allocations: 28.23 kB / 3.102 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001237/7.241, allocations: 70.22 kB / 3.102 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/7.241, allocations: 47.91 kB / 3.102 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/7.241, allocations: 0.9062 kB / 3.102 GB, free: 327.2 MB / 0.8855 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003338/7.241, allocations: 145.5 kB / 3.102 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/7.241, allocations: 5.625 kB / 3.102 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.208e-06/7.241, allocations: 1.031 kB / 3.102 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/7.241, allocations: 4.75 kB / 3.102 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002233/7.241, allocations: 31.62 kB / 3.102 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.658e-06/7.241, allocations: 1.625 kB / 3.102 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.554e-05/7.242, allocations: 11.56 kB / 3.102 GB, free: 327.1 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.76e-05/7.242, allocations: 4.062 kB / 3.102 GB, free: 327.1 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 16 * 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 9.812e-05/7.242, allocations: 128.2 kB / 3.102 GB, free: 327 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.944e-05/7.242, allocations: 10.75 kB / 3.102 GB, free: 327 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003599/7.242, allocations: 117.4 kB / 3.102 GB, free: 327 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.99e-06/7.242, allocations: 1 kB / 3.102 GB, free: 327 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/7.242, allocations: 5.156 kB / 3.102 GB, free: 327 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/7.242, allocations: 0 / 3.102 GB, free: 327 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002226/7.242, allocations: 191.5 kB / 3.103 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/7.242, allocations: 0 / 3.103 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001286/7.242, allocations: 21.7 kB / 3.103 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.039e-06/7.243, allocations: 0.9062 kB / 3.103 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/7.243, allocations: 0.875 kB / 3.103 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/7.243, allocations: 0.8438 kB / 3.103 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.525e-06/7.243, allocations: 4.812 kB / 3.103 GB, free: 326.8 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000259/7.243, allocations: 203.1 kB / 3.103 GB, free: 326.6 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.357e-05/7.243, allocations: 94.58 kB / 3.103 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/7.243, allocations: 0.8125 kB / 3.103 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.368e-05/7.243, allocations: 4.625 kB / 3.103 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.594e-05/7.243, allocations: 7.359 kB / 3.103 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/7.243, allocations: 2.531 kB / 3.103 GB, free: 326.5 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 5.172e-05/7.243, allocations: 86.88 kB / 3.103 GB, free: 326.4 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.743e-06/7.243, allocations: 4 kB / 3.103 GB, free: 326.4 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0007631/7.244, allocations: 118.8 kB / 3.103 GB, free: 326.4 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 11 * 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 Backend phase and start with SimCode phase: time 0.001262/7.245, allocations: 0.6307 MB / 3.104 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0002984/7.246, allocations: 79.3 kB / 3.104 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/7.246, allocations: 0 / 3.104 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 8.485e-05/7.246, allocations: 39.88 kB / 3.104 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/7.246, allocations: 23.98 kB / 3.104 GB, free: 326.2 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004362/7.246, allocations: 191.7 kB / 3.104 GB, free: 326.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001701/7.247, allocations: 0.6949 MB / 3.105 GB, free: 325.4 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0002373/7.247, allocations: 53.92 kB / 3.105 GB, free: 325.4 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.748e-05/7.247, allocations: 14.66 kB / 3.105 GB, free: 325.4 MB / 0.8855 GB Notification: Performance of SimCode: time 8.41e-07/7.247, allocations: 0 / 3.105 GB, free: 325.4 MB / 0.8855 GB Notification: Performance of Templates: time 0.02164/7.269, allocations: 8.814 MB / 3.113 GB, free: 324.5 MB / 0.8855 GB