Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.72/1.72, allocations: 291.7 MB / 306.8 MB, free: 7.691 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009472/0.000947, allocations: 186.4 kB / 375.4 MB, free: 5.137 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 225.7 MB / 0.6538 GB, free: 13.68 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007646/0.0007646, allocations: 97.62 kB / 0.7699 GB, free: 50.24 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003466/0.0003466, allocations: 12 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5674/0.5678, allocations: 118.1 MB / 1.011 GB, free: 57.26 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001201/0.569, allocations: 1.049 MB / 1.012 GB, free: 57.23 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.1348/0.7038, allocations: 134.3 MB / 1.143 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.139e-05/0.7039, allocations: 0 / 1.143 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.269e-05/0.704, allocations: 3.516 kB / 1.143 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.7041, allocations: 40.91 kB / 1.143 GB, free: 15.34 MB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009587/0.7051, allocations: 261 kB / 1.143 GB, free: 15.21 MB / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 0.0001318/0.7053, allocations: 141.7 kB / 1.144 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of NFFlatten.resolveConnections: time 3.686e-05/0.7053, allocations: 0 / 1.144 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of NFEvalConstants.evaluate: time 3.936e-05/0.7053, allocations: 30.05 kB / 1.144 GB, free: 15.17 MB / 0.7605 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.7055, allocations: 59.59 kB / 1.144 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of NFPackage.collectConstants: time 1.463e-05/0.7055, allocations: 2.875 kB / 1.144 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005947/0.7061, allocations: 307 kB / 1.144 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 4.909e-05/0.7061, allocations: 30.88 kB / 1.144 GB, free: 15.06 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/0.7062, allocations: 31.8 kB / 1.144 GB, free: 15.03 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.0002455/0.7064, allocations: 171.5 kB / 1.144 GB, free: 14.99 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7065, allocations: 4 kB / 1.144 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of FrontEnd: time 1.743e-06/0.7065, allocations: 0 / 1.144 GB, free: 14.98 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.7065, allocations: 0 / 1.144 GB, free: 14.98 MB / 0.7605 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.0003778/0.7069, allocations: 389.2 kB / 1.144 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.7069, allocations: 13.72 kB / 1.145 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.977e-05/0.7069, allocations: 5.172 kB / 1.145 GB, free: 14.59 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001146/0.707, allocations: 178.2 kB / 1.145 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.7071, allocations: 2.062 kB / 1.145 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.7071, allocations: 3.25 kB / 1.145 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.7073, allocations: 97.25 kB / 1.145 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.7073, allocations: 0 / 1.145 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.047e-06/0.7073, allocations: 0 / 1.145 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.948e-05/0.7073, allocations: 19.31 kB / 1.145 GB, free: 14.32 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001126/0.7074, allocations: 84.16 kB / 1.145 GB, free: 14.3 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.7078, allocations: 329.7 kB / 1.145 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.708, allocations: 104.1 kB / 1.145 GB, free: 13.96 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.831e-05/0.7081, allocations: 53.58 kB / 1.145 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007994/0.7089, allocations: 486.5 kB / 1.146 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.278e-05/0.7089, allocations: 33.34 kB / 1.146 GB, free: 13.43 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=11): time 1.183e-06/0.7089, allocations: 3.938 kB / 1.146 GB, free: 13.42 MB / 0.7605 GB Notification: Performance of matching and sorting (n=11): time 0.0002328/0.7092, allocations: 120.5 kB / 1.146 GB, free: 13.37 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.333e-05/0.7092, allocations: 51.41 kB / 1.146 GB, free: 13.3 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.83e-05/0.7093, allocations: 124.3 kB / 1.146 GB, free: 13.19 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.261e-05/0.7093, allocations: 28.8 kB / 1.146 GB, free: 13.16 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 3.974e-05/0.7094, allocations: 92.19 kB / 1.146 GB, free: 13.07 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 2.882e-05/0.7094, allocations: 44.66 kB / 1.146 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.859e-06/0.7094, allocations: 2.875 kB / 1.146 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.7095, allocations: 318.2 kB / 1.147 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.421e-05/0.7096, allocations: 29.94 kB / 1.147 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.614e-05/0.7096, allocations: 72.14 kB / 1.147 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.7098, allocations: 121.3 kB / 1.147 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7098, allocations: 3.938 kB / 1.147 GB, free: 12.57 MB / 0.7605 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001687/0.71, allocations: 137.7 kB / 1.147 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.71, allocations: 6.344 kB / 1.147 GB, free: 12.51 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.71, allocations: 9.219 kB / 1.147 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.71, allocations: 0 / 1.147 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.965e-05/0.7101, allocations: 30.81 kB / 1.147 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.7101, allocations: 0.6562 kB / 1.147 GB, free: 12.5 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.203e-05/0.7102, allocations: 17.39 kB / 1.147 GB, free: 12.49 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.059e-05/0.7102, allocations: 7 kB / 1.147 GB, free: 12.49 MB / 0.7605 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.269e-05/0.7103, allocations: 118.9 kB / 1.147 GB, free: 12.37 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.63e-05/0.7103, allocations: 10.94 kB / 1.147 GB, free: 12.36 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/0.7105, allocations: 126 kB / 1.147 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.7105, allocations: 0 / 1.147 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.7105, allocations: 4.219 kB / 1.147 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.7106, allocations: 0 / 1.147 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001683/0.7107, allocations: 179.4 kB / 1.147 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7107, allocations: 0 / 1.147 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.03e-05/0.7108, allocations: 22.98 kB / 1.147 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.7108, allocations: 4 kB / 1.147 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.014e-05/0.7108, allocations: 6.844 kB / 1.147 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.7108, allocations: 1.875 kB / 1.147 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.7108, allocations: 1.938 kB / 1.147 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001611/0.711, allocations: 199.5 kB / 1.148 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 5.529e-05/0.7111, allocations: 98.27 kB / 1.148 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.7111, allocations: 7.219 kB / 1.148 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.076e-05/0.7111, allocations: 4 kB / 1.148 GB, free: 11.82 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.901e-05/0.7112, allocations: 10.67 kB / 1.148 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.7112, allocations: 3.25 kB / 1.148 GB, free: 11.81 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 4.615e-05/0.7112, allocations: 84.61 kB / 1.148 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7112, allocations: 0 / 1.148 GB, free: 11.74 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0002969/0.7115, allocations: 77.09 kB / 1.148 GB, free: 11.71 MB / 0.7605 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.0002869/0.7118, allocations: 184.5 kB / 1.148 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0001487/0.712, allocations: 87.98 kB / 1.148 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.712, allocations: 0 / 1.148 GB, free: 11.59 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 4.376e-05/0.712, allocations: 38.94 kB / 1.148 GB, free: 11.58 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.7123, allocations: 10.81 kB / 1.148 GB, free: 11.57 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.7126, allocations: 203.8 kB / 1.148 GB, free: 11.43 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002452/0.7129, allocations: 0.6882 MB / 1.149 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0001295/0.713, allocations: 53.19 kB / 1.149 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.713, allocations: 13.41 kB / 1.149 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of SimCode: time 2.2e-07/0.713, allocations: 3.781 kB / 1.149 GB, free: 10.72 MB / 0.7605 GB Notification: Performance of Templates: time 0.003909/0.717, allocations: 1.84 MB / 1.151 GB, free: 10.54 MB / 0.7605 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)