Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001427/0.001427, allocations: 85.41 kB / 20.83 MB, free: 3.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001168/0.001168, allocations: 169 kB / 24.25 MB, free: 208 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.926/0.926, allocations: 177.1 MB / 204.7 MB, free: 5.461 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.851/1.851, allocations: 389.6 MB / 0.6355 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.462e-06/1.462e-06, allocations: 0 / 0.7754 GB, free: 5.242 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.143e-05/2.289e-05, allocations: 3.375 kB / 0.7754 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001956/0.001979, allocations: 1.437 MB / 0.7768 GB, free: 3.816 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.1268/0.1288, allocations: 143.1 MB / 0.9165 GB, free: 4.367 MB / 0.8698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.484e-05/0.1288, allocations: 4 kB / 0.9166 GB, free: 4.363 MB / 0.8698 GB Notification: Performance of NFTyping.typeComponents: time 4.212e-05/0.1289, allocations: 7.922 kB / 0.9166 GB, free: 4.355 MB / 0.8698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.129, allocations: 35.88 kB / 0.9166 GB, free: 4.32 MB / 0.8698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008632/0.1299, allocations: 366.2 kB / 0.9169 GB, free: 3.961 MB / 0.8698 GB Notification: Performance of NFFlatten.flatten: time 9.169e-05/0.13, allocations: 67.75 kB / 0.917 GB, free: 3.895 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.567e-05/0.13, allocations: 8.109 kB / 0.917 GB, free: 3.887 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.115e-05/0.1301, allocations: 39.89 kB / 0.9171 GB, free: 3.848 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.162e-05/0.1302, allocations: 47.94 kB / 0.9171 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 1.142e-05/0.1302, allocations: 0 / 0.9171 GB, free: 3.801 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005048/0.1307, allocations: 386.9 kB / 0.9175 GB, free: 3.422 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 4.553e-05/0.1307, allocations: 23.97 kB / 0.9175 GB, free: 3.398 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002723/0.131, allocations: 23.94 kB / 0.9175 GB, free: 3.375 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.0003275/0.1313, allocations: 295.2 kB / 0.9178 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.1313, allocations: 0 / 0.9178 GB, free: 3.086 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1313, allocations: 4 kB / 0.9178 GB, free: 3.082 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.1313, allocations: 0 / 0.9178 GB, free: 3.082 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.0002654/0.1316, allocations: 300.2 kB / 0.9181 GB, free: 2.766 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 3.384e-05/0.1316, allocations: 9.344 kB / 0.9181 GB, free: 2.758 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.638e-05/0.1317, allocations: 8.938 kB / 0.9181 GB, free: 2.75 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.274e-05/0.1317, allocations: 125.4 kB / 0.9182 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1317, allocations: 0 / 0.9182 GB, free: 2.602 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.255e-06/0.1317, allocations: 4 kB / 0.9182 GB, free: 2.598 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.068e-05/0.1318, allocations: 60.48 kB / 0.9183 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.1318, allocations: 0 / 0.9183 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.853e-06/0.1318, allocations: 0 / 0.9183 GB, free: 2.531 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.031e-05/0.1319, allocations: 15.98 kB / 0.9183 GB, free: 2.516 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.23e-05/0.1319, allocations: 19.94 kB / 0.9183 GB, free: 2.496 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002216/0.1321, allocations: 213.8 kB / 0.9185 GB, free: 2.27 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.922e-05/0.1322, allocations: 58.47 kB / 0.9186 GB, free: 2.203 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.781e-05/0.1322, allocations: 28.84 kB / 0.9186 GB, free: 2.172 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002835/0.1325, allocations: 79.91 kB / 0.9187 GB, free: 2.094 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.1325, allocations: 42.48 kB / 0.9187 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=11): time 1.272e-06/0.1325, allocations: 0 / 0.9187 GB, free: 2.043 MB / 0.8698 GB Notification: Performance of matching and sorting (n=11): time 0.0001136/0.1326, allocations: 77.53 kB / 0.9188 GB, free: 1.961 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.1327, allocations: 51.41 kB / 0.9188 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.682e-05/0.1327, allocations: 110.7 kB / 0.919 GB, free: 1.777 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.058e-05/0.1327, allocations: 33.7 kB / 0.919 GB, free: 1.738 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 3.788e-05/0.1328, allocations: 100.3 kB / 0.9191 GB, free: 1.637 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.74e-05/0.1328, allocations: 35.69 kB / 0.9191 GB, free: 1.602 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.299e-05/0.1328, allocations: 29.7 kB / 0.9191 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.1329, allocations: 326.8 kB / 0.9195 GB, free: 1.238 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.333e-05/0.1329, allocations: 8 kB / 0.9195 GB, free: 1.23 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.604e-05/0.133, allocations: 61.25 kB / 0.9195 GB, free: 1.152 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.032e-05/0.133, allocations: 75.88 kB / 0.9196 GB, free: 1.059 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.133, allocations: 8 kB / 0.9196 GB, free: 1.051 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 9.122e-05/0.1331, allocations: 89.47 kB / 0.9197 GB, free: 0.957 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.1331, allocations: 8 kB / 0.9197 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.1331, allocations: 0 / 0.9197 GB, free: 0.9492 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.145e-06/0.1331, allocations: 4 kB / 0.9197 GB, free: 0.9453 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.866e-05/0.1332, allocations: 27.92 kB / 0.9197 GB, free: 0.918 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.1332, allocations: 4 kB / 0.9197 GB, free: 0.9141 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.741e-05/0.1332, allocations: 20.05 kB / 0.9197 GB, free: 0.8945 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-06/0.1332, allocations: 4 kB / 0.9197 GB, free: 0.8906 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.395e-05/0.1333, allocations: 112.7 kB / 0.9199 GB, free: 0.7695 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.852e-05/0.1333, allocations: 19.92 kB / 0.9199 GB, free: 0.75 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001089/0.1334, allocations: 82.47 kB / 0.92 GB, free: 0.6602 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.1334, allocations: 4 kB / 0.92 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.173e-06/0.1334, allocations: 0 / 0.92 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.1334, allocations: 0 / 0.92 GB, free: 0.6562 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.447e-05/0.1335, allocations: 85.77 kB / 0.92 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1335, allocations: 0 / 0.92 GB, free: 0.5547 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.592e-05/0.1336, allocations: 23.98 kB / 0.9201 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.1336, allocations: 0 / 0.9201 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.719e-06/0.1336, allocations: 0 / 0.9201 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1336, allocations: 0 / 0.9201 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1336, allocations: 0 / 0.9201 GB, free: 0.5312 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.921e-05/0.1336, allocations: 163.4 kB / 0.9202 GB, free: 364 kB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.966e-05/0.1337, allocations: 15.89 kB / 0.9202 GB, free: 348 kB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.626e-06/0.1337, allocations: 7.984 kB / 0.9202 GB, free: 340 kB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.1337, allocations: 4 kB / 0.9202 GB, free: 336 kB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.212e-05/0.1337, allocations: 8 kB / 0.9203 GB, free: 328 kB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.118e-06/0.1337, allocations: 3.984 kB / 0.9203 GB, free: 324 kB / 0.8698 GB Notification: Performance of sorting global known variables: time 1.134e-05/0.1337, allocations: 12.84 kB / 0.9203 GB, free: 308 kB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.1337, allocations: 0 / 0.9203 GB, free: 308 kB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001948/0.1339, allocations: 83.73 kB / 0.9203 GB, free: 224 kB / 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 () * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002453/0.1342, allocations: 172.2 kB / 0.9205 GB, free: 44 kB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.727e-05/0.1342, allocations: 56.8 kB / 0.9206 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.1343, allocations: 0 / 0.9206 GB, free: 15.98 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.565e-05/0.1343, allocations: 24.8 kB / 0.9206 GB, free: 15.96 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000139/0.1344, allocations: 27.84 kB / 0.9206 GB, free: 15.93 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000377/0.1348, allocations: 174.3 kB / 0.9208 GB, free: 15.73 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.474e-05/0.1348, allocations: 67.34 kB / 0.9208 GB, free: 15.64 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.18e-05/0.1349, allocations: 16.42 kB / 0.9209 GB, free: 15.63 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.083e-05/0.1349, allocations: 67.31 kB / 0.9209 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of SimCode: time 8.22e-07/0.1349, allocations: 0 / 0.9209 GB, free: 15.56 MB / 0.8855 GB Notification: Performance of Templates: time 0.003712/0.1386, allocations: 2.34 MB / 0.9232 GB, free: 13.29 MB / 0.8855 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.886204197071493]