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 4.859/4.859, allocations: 0.5623 GB / 0.5776 GB, free: 3.398 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002475/0.002475, allocations: 361.5 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.231/4.231, allocations: 410.7 MB / 1.113 GB, free: 6.035 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00182/0.00182, allocations: 184.1 kB / 1.226 GB, free: 6.199 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004791/0.0004793, allocations: 12 kB / 1.349 GB, free: 8.305 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7061/0.7066, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.00149/0.7081, allocations: 1.05 MB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.1652/0.8734, allocations: 134.1 MB / 1.593 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.815e-05/0.8735, allocations: 3.938 kB / 1.593 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.55e-05/0.8735, allocations: 0 / 1.593 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001862/0.8737, allocations: 39.86 kB / 1.593 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009327/0.8747, allocations: 230.9 kB / 1.594 GB, free: 149 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001517/0.8749, allocations: 135.7 kB / 1.594 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 4.276e-05/0.8749, allocations: 7.984 kB / 1.594 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.743e-05/0.875, allocations: 35.84 kB / 1.594 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001306/0.8751, allocations: 55.94 kB / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.8751, allocations: 3.938 kB / 1.594 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007062/0.8758, allocations: 267.4 kB / 1.594 GB, free: 148.5 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.598e-05/0.8759, allocations: 31.97 kB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.876, allocations: 29.7 kB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.000305/0.8763, allocations: 157.8 kB / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.8763, allocations: 0 / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.735e-06/0.8763, allocations: 0 / 1.594 GB, free: 148.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.8763, allocations: 3.938 kB / 1.594 GB, free: 148.2 MB / 0.8542 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.0003904/0.8767, allocations: 379.1 kB / 1.595 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.478e-05/0.8768, allocations: 11.62 kB / 1.595 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.8768, allocations: 11.95 kB / 1.595 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.937e-05/0.8769, allocations: 163 kB / 1.595 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.8769, allocations: 8 kB / 1.595 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.076e-05/0.877, allocations: 0 / 1.595 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002145/0.8772, allocations: 89.66 kB / 1.595 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.8772, allocations: 0 / 1.595 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.675e-05/0.8772, allocations: 4 kB / 1.595 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.702e-05/0.8773, allocations: 19.88 kB / 1.595 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001827/0.8775, allocations: 75.95 kB / 1.595 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005506/0.878, allocations: 340.7 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.8783, allocations: 101.2 kB / 1.595 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001099/0.8784, allocations: 60.83 kB / 1.596 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001136/0.8795, allocations: 487.3 kB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.21e-05/0.8796, allocations: 34.56 kB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 1.933e-06/0.8796, allocations: 0 / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0003256/0.8799, allocations: 117.6 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.301e-05/0.88, allocations: 55.41 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.327e-05/0.88, allocations: 117.8 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.467e-05/0.8801, allocations: 33.7 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.074e-05/0.8801, allocations: 96.17 kB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.018e-05/0.8802, allocations: 39.53 kB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.097e-06/0.8802, allocations: 4 kB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.787e-05/0.8802, allocations: 318.8 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.8803, allocations: 27.98 kB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.8804, allocations: 81.06 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.706e-05/0.8806, allocations: 35.98 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8806, allocations: 7.938 kB / 1.597 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002555/0.8808, allocations: 135.1 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.8809, allocations: 16.11 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.091e-06/0.8809, allocations: 3.938 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.8809, allocations: 4 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.8811, allocations: 27.92 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.8811, allocations: 4 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.488e-05/0.8812, allocations: 11.84 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.436e-05/0.8812, allocations: 8 kB / 1.597 GB, free: 145.1 MB / 0.8542 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 8.11e-05/0.8813, allocations: 121.8 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.464e-05/0.8814, allocations: 7.906 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003084/0.8817, allocations: 127.7 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.8817, allocations: 7.984 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.8817, allocations: 0 / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.275e-05/0.8818, allocations: 89 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.074e-05/0.8818, allocations: 0 / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.095e-05/0.8819, allocations: 8 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.419e-05/0.8819, allocations: 0 / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002081/0.8821, allocations: 186.5 kB / 1.598 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002205/0.8824, allocations: 278.7 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.917e-05/0.8825, allocations: 33.94 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.87e-05/0.8825, allocations: 91.27 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of Backend: time 7.82e-07/0.8825, allocations: 0 / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0008549/0.8834, allocations: 238 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of SimCode: time 0.000425/0.8838, allocations: 0.6328 MB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.006556/0.8904, allocations: 2.122 MB / 1.601 GB, free: 141.1 MB / 0.8542 GB