Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.624/2.624, allocations: 287.9 MB / 302.9 MB, free: 8.348 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001439/0.001438, allocations: 181.4 kB / 371.4 MB, free: 10.68 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.6301 GB, free: 10.4 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001022, allocations: 99.81 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004694/0.0004697, allocations: 11.53 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1512/0.1517, allocations: 115.3 MB / 0.9788 GB, free: 28.17 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001181/0.1529, allocations: 1.026 MB / 0.9798 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.6928/0.8457, allocations: 125 MB / 1.102 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.822e-05/0.8458, allocations: 1.125 kB / 1.102 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 3.79e-05/0.8459, allocations: 2.156 kB / 1.102 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0001141/0.846, allocations: 28.19 kB / 1.102 GB, free: 2.191 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008559/0.8469, allocations: 241.8 kB / 1.102 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 6.984e-05/0.8469, allocations: 33.22 kB / 1.102 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 4.343e-05/0.847, allocations: 2.469 kB / 1.102 GB, free: 2.176 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.8471, allocations: 26.8 kB / 1.102 GB, free: 2.172 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 9.09e-05/0.8472, allocations: 34.62 kB / 1.102 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 1.388e-05/0.8472, allocations: 2.75 kB / 1.102 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006751/0.8479, allocations: 295.7 kB / 1.102 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 4.291e-05/0.8479, allocations: 19.98 kB / 1.102 GB, free: 2.156 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001006/0.848, allocations: 37.52 kB / 1.103 GB, free: 18.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003488/0.8484, allocations: 150 kB / 1.103 GB, free: 18.11 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.143e-06/0.8484, allocations: 0 / 1.103 GB, free: 18.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.602e-06/0.8484, allocations: 0 / 1.103 GB, free: 18.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.702e-06/0.8484, allocations: 1.375 kB / 1.103 GB, free: 18.11 MB / 0.698 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.0004254/0.8489, allocations: 383.1 kB / 1.103 GB, free: 17.73 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.8489, allocations: 14.27 kB / 1.103 GB, free: 17.72 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.938e-05/0.849, allocations: 13.28 kB / 1.103 GB, free: 17.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.8491, allocations: 165.1 kB / 1.103 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.8492, allocations: 5.438 kB / 1.103 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.8492, allocations: 2.75 kB / 1.103 GB, free: 17.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002101/0.8494, allocations: 95.02 kB / 1.103 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.441e-06/0.8494, allocations: 2.484 kB / 1.103 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.386e-05/0.8495, allocations: 1.031 kB / 1.103 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.8495, allocations: 15.67 kB / 1.103 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001684/0.8497, allocations: 74.44 kB / 1.103 GB, free: 17.48 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005186/0.8502, allocations: 345.3 kB / 1.104 GB, free: 17.2 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.8504, allocations: 102.1 kB / 1.104 GB, free: 17.18 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009848/0.8514, allocations: 486.6 kB / 1.104 GB, free: 16.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.8515, allocations: 32.42 kB / 1.104 GB, free: 16.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=11): time 2.731e-06/0.8515, allocations: 1.594 kB / 1.104 GB, free: 16.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=11): time 0.0003299/0.8518, allocations: 124.4 kB / 1.104 GB, free: 16.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.8519, allocations: 52.88 kB / 1.104 GB, free: 16.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001035/0.852, allocations: 119.7 kB / 1.105 GB, free: 16.46 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.134e-05/0.8521, allocations: 26.89 kB / 1.105 GB, free: 16.43 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.932e-05/0.8521, allocations: 104.1 kB / 1.105 GB, free: 16.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.951e-05/0.8522, allocations: 38.28 kB / 1.105 GB, free: 16.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.802e-06/0.8522, allocations: 0 / 1.105 GB, free: 16.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001492/0.8523, allocations: 321.3 kB / 1.105 GB, free: 15.99 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.502e-05/0.8524, allocations: 26.75 kB / 1.105 GB, free: 15.99 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.267e-05/0.8525, allocations: 76.52 kB / 1.105 GB, free: 15.94 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001024/0.8526, allocations: 46.22 kB / 1.105 GB, free: 15.94 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.697e-06/0.8526, allocations: 1.281 kB / 1.105 GB, free: 15.94 MB / 0.698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002981/0.853, allocations: 137 kB / 1.105 GB, free: 15.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.853, allocations: 7.047 kB / 1.105 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.17e-06/0.853, allocations: 0.9375 kB / 1.105 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.853, allocations: 6.578 kB / 1.105 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001425/0.8532, allocations: 32.23 kB / 1.105 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.8532, allocations: 2.906 kB / 1.105 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.34e-05/0.8533, allocations: 13.64 kB / 1.105 GB, free: 15.88 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.587e-05/0.8533, allocations: 8.406 kB / 1.105 GB, free: 15.88 MB / 0.698 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 0.0001171/0.8535, allocations: 122.2 kB / 1.106 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.255e-05/0.8535, allocations: 9.328 kB / 1.106 GB, free: 15.75 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002997/0.8538, allocations: 127.4 kB / 1.106 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.45e-06/0.8538, allocations: 5.016 kB / 1.106 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.8539, allocations: 1.562 kB / 1.106 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.5e-06/0.8539, allocations: 0.6094 kB / 1.106 GB, free: 15.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002374/0.8541, allocations: 181.4 kB / 1.106 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.409e-06/0.8541, allocations: 4.75 kB / 1.106 GB, free: 15.51 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.294e-05/0.8542, allocations: 28.45 kB / 1.106 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.8543, allocations: 0.6562 kB / 1.106 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.025e-05/0.8543, allocations: 1.062 kB / 1.106 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.583e-06/0.8543, allocations: 1.594 kB / 1.106 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.8543, allocations: 3.953 kB / 1.106 GB, free: 15.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002442/0.8545, allocations: 195 kB / 1.106 GB, free: 15.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.8546, allocations: 92.14 kB / 1.106 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.8547, allocations: 4.719 kB / 1.106 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.187e-05/0.8548, allocations: 8.125 kB / 1.106 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.128e-05/0.8548, allocations: 5.609 kB / 1.106 GB, free: 15.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.8548, allocations: 6.516 kB / 1.106 GB, free: 15.26 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.707e-05/0.8549, allocations: 89.08 kB / 1.106 GB, free: 15.19 MB / 0.698 GB Notification: Performance of sort global known variables: time 6.76e-07/0.8549, allocations: 0 / 1.106 GB, free: 15.19 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004787/0.8554, allocations: 77.06 kB / 1.106 GB, free: 15.17 MB / 0.698 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.0003954/0.8558, allocations: 188.4 kB / 1.107 GB, free: 15.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002138/0.856, allocations: 79.44 kB / 1.107 GB, free: 15.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.921e-06/0.8561, allocations: 1 kB / 1.107 GB, free: 15.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 6.964e-05/0.8561, allocations: 38.47 kB / 1.107 GB, free: 15.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.8564, allocations: 23.36 kB / 1.107 GB, free: 15.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003931/0.8568, allocations: 196.1 kB / 1.107 GB, free: 14.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003661/0.8572, allocations: 0.6929 MB / 1.108 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002202/0.8574, allocations: 54.56 kB / 1.108 GB, free: 14.21 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.041e-05/0.8574, allocations: 13.34 kB / 1.108 GB, free: 14.2 MB / 0.698 GB Notification: Performance of SimCode: time 1.408e-06/0.8575, allocations: 1.031 kB / 1.108 GB, free: 14.2 MB / 0.698 GB Notification: Performance of Templates: time 0.006165/0.8636, allocations: 1.838 MB / 1.109 GB, free: 14.04 MB / 0.698 GB