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.399/2.399, allocations: 253.2 MB / 260.6 MB, free: 7.496 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001436/0.001436, allocations: 187.3 kB / 319.9 MB, free: 3.082 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.09/2.09, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001142/0.001141, allocations: 93.27 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.396e-05/2.392e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2077/0.2078, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.126/7.334, allocations: 2.173 GB / 3.062 GB, free: 175.9 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003432/7.334, allocations: 95.56 kB / 3.062 GB, free: 175.8 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.09389/7.428, allocations: 27.38 MB / 3.089 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.673e-06/7.428, allocations: 0.8438 kB / 3.089 GB, free: 153.4 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 7.614e-06/7.428, allocations: 0 / 3.089 GB, free: 153.4 MB / 0.8698 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.0004464/7.429, allocations: 385.8 kB / 3.089 GB, free: 153 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/7.429, allocations: 12.02 kB / 3.089 GB, free: 153 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/7.429, allocations: 7.906 kB / 3.089 GB, free: 153 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.789e-05/7.429, allocations: 163 kB / 3.089 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.101e-05/7.429, allocations: 8 kB / 3.089 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/7.429, allocations: 0 / 3.089 GB, free: 152.8 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001905/7.429, allocations: 74.53 kB / 3.089 GB, free: 152.7 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001548/7.429, allocations: 91.97 kB / 3.089 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/7.429, allocations: 7.938 kB / 3.089 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.37e-05/7.429, allocations: 0 / 3.089 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/7.429, allocations: 8 kB / 3.089 GB, free: 152.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005022/7.43, allocations: 315.5 kB / 3.09 GB, free: 152.3 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001792/7.43, allocations: 97.28 kB / 3.09 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.267e-05/7.43, allocations: 47.69 kB / 3.09 GB, free: 152.2 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008641/7.431, allocations: 462.8 kB / 3.09 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/7.431, allocations: 34.56 kB / 3.09 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 2.355e-06/7.431, allocations: 0 / 3.09 GB, free: 151.6 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.1506/7.582, allocations: 8.853 MB / 3.099 GB, free: 143.1 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.461e-05/7.582, allocations: 55.41 kB / 3.099 GB, free: 143 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.228e-05/7.582, allocations: 104.7 kB / 3.099 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.284e-05/7.582, allocations: 25.7 kB / 3.099 GB, free: 142.9 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 4.263e-05/7.582, allocations: 96.08 kB / 3.099 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/7.582, allocations: 39.39 kB / 3.099 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.464e-06/7.582, allocations: 0 / 3.099 GB, free: 142.8 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 6.132e-05/7.582, allocations: 322.3 kB / 3.1 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.957e-05/7.582, allocations: 23.94 kB / 3.1 GB, free: 142.4 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.464e-05/7.582, allocations: 64.64 kB / 3.1 GB, free: 142.3 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1504/7.733, allocations: 8.798 MB / 3.108 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/7.733, allocations: 0 / 3.108 GB, free: 133.9 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.151/7.884, allocations: 8.89 MB / 3.117 GB, free: 125.4 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.92e-05/7.884, allocations: 7.953 kB / 3.117 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/7.884, allocations: 0 / 3.117 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/7.884, allocations: 4 kB / 3.117 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/7.884, allocations: 32.08 kB / 3.117 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/7.884, allocations: 4 kB / 3.117 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.031e-05/7.884, allocations: 7.938 kB / 3.117 GB, free: 125.3 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/7.884, allocations: 7.5 kB / 3.117 GB, free: 125.3 MB / 0.8698 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 () * 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 8.838e-05/7.884, allocations: 101 kB / 3.117 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.675e-05/7.884, allocations: 7.906 kB / 3.117 GB, free: 125.2 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1512/8.035, allocations: 8.888 MB / 3.126 GB, free: 116.7 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.105e-06/8.035, allocations: 3.938 kB / 3.126 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/8.036, allocations: 0 / 3.126 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/8.036, allocations: 0 / 3.126 GB, free: 116.6 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/8.036, allocations: 154 kB / 3.126 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.925e-06/8.036, allocations: 0 / 3.126 GB, free: 116.5 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001338/8.036, allocations: 16 kB / 3.126 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.804e-06/8.036, allocations: 3.984 kB / 3.126 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.155e-05/8.036, allocations: 4.188 kB / 3.126 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/8.036, allocations: 4 kB / 3.126 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.93e-06/8.036, allocations: 11.95 kB / 3.126 GB, free: 116.4 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1509/8.187, allocations: 8.949 MB / 3.135 GB, free: 107.8 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.959e-05/8.187, allocations: 85.09 kB / 3.135 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.42e-05/8.187, allocations: 0 / 3.135 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.482e-05/8.187, allocations: 4 kB / 3.135 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.846e-05/8.187, allocations: 3.984 kB / 3.135 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.38e-05/8.187, allocations: 15.83 kB / 3.135 GB, free: 107.7 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.724e-05/8.187, allocations: 91.27 kB / 3.135 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of sort global known variables: time 4.31e-07/8.187, allocations: 0 / 3.135 GB, free: 107.6 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005812/8.188, allocations: 105.9 kB / 3.135 GB, free: 107.5 MB / 0.8698 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 () * 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.001138/8.189, allocations: 0.7258 MB / 3.136 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0002162/8.189, allocations: 70.86 kB / 3.136 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/8.189, allocations: 0 / 3.136 GB, free: 106.8 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.925e-05/8.189, allocations: 31.61 kB / 3.136 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002786/8.19, allocations: 19.48 kB / 3.136 GB, free: 106.7 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/8.19, allocations: 108.5 kB / 3.136 GB, free: 106.6 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001584/8.19, allocations: 0.6923 MB / 3.137 GB, free: 105.9 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0002251/8.19, allocations: 56.97 kB / 3.137 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.654e-05/8.19, allocations: 15.44 kB / 3.137 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of SimCode: time 6.81e-07/8.19, allocations: 0 / 3.137 GB, free: 105.8 MB / 0.8698 GB Notification: Performance of Templates: time 0.0128/8.203, allocations: 4.834 MB / 3.141 GB, free: 101 MB / 0.8698 GB