Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.605/1.605, allocations: 289.9 MB / 297.4 MB, free: 6.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001064/0.001064, allocations: 180.8 kB / 366.7 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.665/1.665, allocations: 205.3 MB / 0.626 GB, free: 7.156 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009644/0.0009643, allocations: 91.66 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.377e-05/2.362e-05, allocations: 8 kB / 0.8597 GB, free: 13.03 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7388/0.7389, allocations: 116.3 MB / 0.9733 GB, free: 76.26 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.793/5.532, allocations: 2.055 GB / 3.029 GB, free: 75.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002743/5.532, allocations: 97.22 kB / 3.029 GB, free: 75.21 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.05332/5.585, allocations: 27.69 MB / 3.056 GB, free: 47.43 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.345e-06/5.585, allocations: 0 / 3.056 GB, free: 47.43 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.614e-06/5.585, allocations: 7.938 kB / 3.056 GB, free: 47.43 MB / 0.948 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.0003839/5.586, allocations: 385.2 kB / 3.056 GB, free: 47.01 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/5.586, allocations: 12.03 kB / 3.056 GB, free: 47 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.377e-05/5.586, allocations: 7.953 kB / 3.056 GB, free: 46.99 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.615e-05/5.586, allocations: 171.1 kB / 3.056 GB, free: 46.78 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.468e-05/5.586, allocations: 3.938 kB / 3.056 GB, free: 46.78 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/5.586, allocations: 4 kB / 3.056 GB, free: 46.77 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001455/5.586, allocations: 65.91 kB / 3.056 GB, free: 46.71 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/5.586, allocations: 85.67 kB / 3.057 GB, free: 46.62 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/5.586, allocations: 0 / 3.057 GB, free: 46.62 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/5.586, allocations: 0 / 3.057 GB, free: 46.62 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.012e-05/5.586, allocations: 15.94 kB / 3.057 GB, free: 46.61 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003545/5.587, allocations: 321.2 kB / 3.057 GB, free: 46.25 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001148/5.587, allocations: 94.47 kB / 3.057 GB, free: 46.15 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.882e-05/5.587, allocations: 48.91 kB / 3.057 GB, free: 46.1 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005577/5.587, allocations: 459 kB / 3.057 GB, free: 45.56 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.46e-05/5.587, allocations: 34.56 kB / 3.057 GB, free: 45.52 MB / 0.948 GB Notification: Performance of pre-optimization done (n=11): time 1.442e-06/5.587, allocations: 0 / 3.057 GB, free: 45.52 MB / 0.948 GB Notification: Performance of matching and sorting (n=11): time 0.07221/5.66, allocations: 8.85 MB / 3.066 GB, free: 36.65 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.383e-05/5.66, allocations: 53.09 kB / 3.066 GB, free: 36.59 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.884e-05/5.66, allocations: 105 kB / 3.066 GB, free: 36.48 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.245e-05/5.66, allocations: 25.7 kB / 3.066 GB, free: 36.45 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.195e-05/5.66, allocations: 108.2 kB / 3.066 GB, free: 36.34 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.45e-05/5.66, allocations: 35.55 kB / 3.066 GB, free: 36.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.079e-06/5.66, allocations: 0 / 3.066 GB, free: 36.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 5.366e-05/5.66, allocations: 310.9 kB / 3.067 GB, free: 35.99 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.012e-05/5.66, allocations: 35.92 kB / 3.067 GB, free: 35.95 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.057e-05/5.66, allocations: 67.25 kB / 3.067 GB, free: 35.87 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.06993/5.73, allocations: 8.798 MB / 3.075 GB, free: 27.06 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.52e-06/5.73, allocations: 0 / 3.075 GB, free: 27.06 MB / 0.948 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.07031/5.8, allocations: 8.886 MB / 3.084 GB, free: 18.16 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.754e-05/5.8, allocations: 8.156 kB / 3.084 GB, free: 18.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/5.8, allocations: 5.562 kB / 3.084 GB, free: 18.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/5.8, allocations: 0 / 3.084 GB, free: 18.15 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001145/5.801, allocations: 31.94 kB / 3.084 GB, free: 18.12 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/5.801, allocations: 0 / 3.084 GB, free: 18.12 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.064e-05/5.801, allocations: 15.78 kB / 3.084 GB, free: 18.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.269e-05/5.801, allocations: 11.28 kB / 3.084 GB, free: 18.09 MB / 0.948 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 6.317e-05/5.801, allocations: 105 kB / 3.084 GB, free: 17.98 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.406e-05/5.801, allocations: 3.906 kB / 3.084 GB, free: 17.98 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.07472/5.876, allocations: 8.884 MB / 3.093 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/5.876, allocations: 0 / 3.093 GB, free: 9.082 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/5.876, allocations: 3.953 kB / 3.093 GB, free: 9.078 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/5.876, allocations: 3.984 kB / 3.093 GB, free: 9.074 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001554/5.876, allocations: 150.2 kB / 3.093 GB, free: 8.891 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/5.876, allocations: 4 kB / 3.093 GB, free: 8.887 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.16e-05/5.876, allocations: 19.92 kB / 3.093 GB, free: 8.871 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.04e-06/5.876, allocations: 4 kB / 3.093 GB, free: 8.867 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/5.876, allocations: 4 kB / 3.093 GB, free: 8.863 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.284e-06/5.876, allocations: 0 / 3.093 GB, free: 8.863 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/5.876, allocations: 0 / 3.093 GB, free: 8.863 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.6055/6.481, allocations: 8.942 MB / 3.102 GB, free: 336.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 7.504e-05/6.482, allocations: 91.52 kB / 3.102 GB, free: 336.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.214e-05/6.482, allocations: 0.5156 kB / 3.102 GB, free: 336.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.885e-05/6.482, allocations: 9.156 kB / 3.102 GB, free: 336.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.697e-05/6.482, allocations: 6.109 kB / 3.102 GB, free: 336.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/6.482, allocations: 5.203 kB / 3.102 GB, free: 336.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 4.738e-05/6.482, allocations: 86.75 kB / 3.102 GB, free: 336.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.51e-07/6.482, allocations: 0.7188 kB / 3.102 GB, free: 336.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006246/6.482, allocations: 106.8 kB / 3.102 GB, free: 336.3 MB / 0.948 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.001146/6.484, allocations: 0.7186 MB / 3.103 GB, free: 336.2 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0001942/6.484, allocations: 75.95 kB / 3.103 GB, free: 336.2 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/6.484, allocations: 0 / 3.103 GB, free: 336.2 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 7.671e-05/6.484, allocations: 34.25 kB / 3.103 GB, free: 336.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002101/6.484, allocations: 17.44 kB / 3.103 GB, free: 336.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002761/6.484, allocations: 108.3 kB / 3.103 GB, free: 336.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001328/6.485, allocations: 0.6938 MB / 3.104 GB, free: 335.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0001577/6.485, allocations: 53.48 kB / 3.104 GB, free: 335.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.46e-05/6.485, allocations: 14.94 kB / 3.104 GB, free: 335.4 MB / 0.948 GB Notification: Performance of SimCode: time 2.3e-07/6.485, allocations: 0 / 3.104 GB, free: 335.4 MB / 0.948 GB Notification: Performance of Templates: time 0.0104/6.495, allocations: 4.825 MB / 3.108 GB, free: 335 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)