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.571/4.571, allocations: 0.5623 GB / 0.5769 GB, free: 3.328 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.002399/0.002399, allocations: 359.9 kB / 0.644 GB, free: 185.6 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 3.918/3.918, allocations: 410.7 MB / 1.112 GB, free: 5.973 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.001755/0.001755, allocations: 187.8 kB / 1.225 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004896/0.0004898, allocations: 16 kB / 1.348 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.576/0.5765, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001189/0.5777, allocations: 1.053 MB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.129/0.7067, allocations: 134.1 MB / 1.593 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.969e-05/0.7068, allocations: 0 / 1.593 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/0.7069, allocations: 0 / 1.593 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0001327/0.707, allocations: 39.86 kB / 1.593 GB, free: 149.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007556/0.7078, allocations: 234.9 kB / 1.593 GB, free: 148.9 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.7079, allocations: 135.7 kB / 1.593 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 3.542e-05/0.708, allocations: 7.938 kB / 1.593 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 4.202e-05/0.708, allocations: 27.92 kB / 1.593 GB, free: 148.8 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001057/0.7081, allocations: 59.88 kB / 1.593 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.7081, allocations: 0 / 1.593 GB, free: 148.7 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000564/0.7087, allocations: 275.4 kB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 4.11e-05/0.7088, allocations: 31.94 kB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.333e-05/0.7088, allocations: 29.7 kB / 1.594 GB, free: 148.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0002535/0.7091, allocations: 149.8 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.922e-06/0.7091, allocations: 0 / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.688e-06/0.7091, allocations: 3.938 kB / 1.594 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.03e-05/0.7091, allocations: 0 / 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.0002968/0.7094, allocations: 379.2 kB / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.7095, allocations: 15.62 kB / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.338e-05/0.7095, allocations: 3.953 kB / 1.594 GB, free: 147.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.376e-05/0.7096, allocations: 172.6 kB / 1.594 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.7096, allocations: 7.984 kB / 1.594 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.655e-05/0.7096, allocations: 4 kB / 1.594 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001708/0.7098, allocations: 89.64 kB / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.7098, allocations: 0 / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.7099, allocations: 3.938 kB / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.153e-05/0.7099, allocations: 19.95 kB / 1.594 GB, free: 147.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001442/0.7101, allocations: 75.95 kB / 1.594 GB, free: 147.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003965/0.7105, allocations: 340.7 kB / 1.595 GB, free: 147 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001688/0.7107, allocations: 98.53 kB / 1.595 GB, free: 146.9 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.7108, allocations: 60.81 kB / 1.595 GB, free: 146.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007785/0.7115, allocations: 481.4 kB / 1.595 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.972e-05/0.7116, allocations: 34.56 kB / 1.595 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=11): time 2.062e-06/0.7116, allocations: 0 / 1.595 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11): time 0.0002771/0.7119, allocations: 119.7 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.331e-05/0.7119, allocations: 55.41 kB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.742e-05/0.712, allocations: 113.8 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.033e-05/0.712, allocations: 25.7 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.263e-05/0.7121, allocations: 112.1 kB / 1.596 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.7121, allocations: 31.55 kB / 1.596 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.981e-06/0.7121, allocations: 4 kB / 1.596 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 4.891e-05/0.7122, allocations: 314.8 kB / 1.596 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.874e-05/0.7122, allocations: 35.92 kB / 1.596 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.66e-05/0.7123, allocations: 73.12 kB / 1.596 GB, free: 145.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.885e-05/0.7124, allocations: 47.92 kB / 1.596 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.616e-06/0.7124, allocations: 0 / 1.596 GB, free: 145.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002255/0.7127, allocations: 147.5 kB / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.7127, allocations: 7.594 kB / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.378e-06/0.7127, allocations: 0 / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.7127, allocations: 4 kB / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.7129, allocations: 31.86 kB / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.395e-06/0.7129, allocations: 4.25 kB / 1.596 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.383e-05/0.713, allocations: 15.83 kB / 1.597 GB, free: 145 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/0.713, allocations: 12 kB / 1.597 GB, free: 145 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 7.162e-05/0.7131, allocations: 121.8 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.976e-05/0.7131, allocations: 15.89 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002408/0.7134, allocations: 122 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.519e-06/0.7134, allocations: 0 / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7134, allocations: 0 / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.062e-06/0.7134, allocations: 0 / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000181/0.7136, allocations: 181.6 kB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-06/0.7136, allocations: 0 / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.087e-05/0.7137, allocations: 21.78 kB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.225e-06/0.7137, allocations: 7.984 kB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.096e-05/0.7137, allocations: 3.953 kB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.561e-06/0.7138, allocations: 3.938 kB / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/0.7138, allocations: 0 / 1.597 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001825/0.714, allocations: 195.4 kB / 1.597 GB, free: 144.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.033e-05/0.714, allocations: 97 kB / 1.597 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.7141, allocations: 0 / 1.597 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.288e-05/0.7141, allocations: 3.953 kB / 1.597 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.961e-05/0.7142, allocations: 15.98 kB / 1.597 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.109e-06/0.7142, allocations: 4 kB / 1.597 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.648e-05/0.7142, allocations: 83.27 kB / 1.597 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.58e-07/0.7143, allocations: 4 kB / 1.597 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004161/0.7147, allocations: 71.94 kB / 1.597 GB, free: 144 MB / 0.8542 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.0003287/0.715, allocations: 198.9 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001718/0.7152, allocations: 75.91 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.472e-06/0.7152, allocations: 0 / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.928e-05/0.7153, allocations: 42 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003347/0.7156, allocations: 19.92 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003179/0.716, allocations: 199.5 kB / 1.598 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.7161, allocations: 0.6926 MB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.000206/0.7163, allocations: 56.3 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.577e-05/0.7164, allocations: 11.44 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.373e-06/0.7164, allocations: 0 / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.005262/0.7216, allocations: 1.837 MB / 1.6 GB, free: 140.9 MB / 0.8542 GB