Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 297.4 MB / 312.6 MB, free: 2.949 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.0009727/0.0009726, allocations: 192.7 kB / 382.3 MB, free: 14.84 MB / 314.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.282/1.282, allocations: 225.7 MB / 0.6617 GB, free: 7.227 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.0007952/0.0007954, allocations: 94.59 kB / 0.7789 GB, free: 46.84 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003024/0.0003025, allocations: 11.98 kB / 0.9059 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5113/0.5116, allocations: 119.2 MB / 1.022 GB, free: 57.89 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001258/0.5129, allocations: 1.054 MB / 1.023 GB, free: 57.37 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.1225/0.6354, allocations: 136.8 MB / 1.157 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.239e-05/0.6355, allocations: 0 / 1.157 GB, free: 7.043 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 3.102e-05/0.6355, allocations: 8.344 kB / 1.157 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.6357, allocations: 43.14 kB / 1.157 GB, free: 7.027 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009969/0.6367, allocations: 319.6 kB / 1.157 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001806/0.6369, allocations: 188.5 kB / 1.157 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 2.682e-05/0.6369, allocations: 5.953 kB / 1.157 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.466e-05/0.637, allocations: 29.2 kB / 1.157 GB, free: 6.824 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001081/0.6371, allocations: 59.16 kB / 1.157 GB, free: 6.812 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.6371, allocations: 6.688 kB / 1.158 GB, free: 6.809 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007872/0.6379, allocations: 430.1 kB / 1.158 GB, free: 6.672 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.015e-05/0.638, allocations: 30.34 kB / 1.158 GB, free: 6.664 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.238e-05/0.638, allocations: 46.86 kB / 1.158 GB, free: 6.625 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0005188/0.6386, allocations: 291.2 kB / 1.158 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.6386, allocations: 0 / 1.158 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.143e-06/0.6386, allocations: 0 / 1.158 GB, free: 6.543 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.6386, allocations: 1.219 kB / 1.158 GB, free: 6.543 MB / 0.7448 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.0003748/0.639, allocations: 395.1 kB / 1.159 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.639, allocations: 10.62 kB / 1.159 GB, free: 6.141 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.639, allocations: 6.656 kB / 1.159 GB, free: 6.137 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.496e-05/0.6391, allocations: 173.2 kB / 1.159 GB, free: 5.934 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.253e-05/0.6392, allocations: 9 kB / 1.159 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.101e-05/0.6392, allocations: 2.281 kB / 1.159 GB, free: 5.926 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.6393, allocations: 95.36 kB / 1.159 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.6393, allocations: 0 / 1.159 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.348e-06/0.6394, allocations: 5.281 kB / 1.159 GB, free: 5.875 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.112e-05/0.6394, allocations: 16.59 kB / 1.159 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001205/0.6395, allocations: 80.95 kB / 1.159 GB, free: 5.852 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003825/0.6399, allocations: 338.5 kB / 1.159 GB, free: 5.551 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001464/0.6401, allocations: 98.22 kB / 1.159 GB, free: 5.512 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.17e-05/0.6402, allocations: 53.34 kB / 1.159 GB, free: 5.492 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007909/0.641, allocations: 480.4 kB / 1.16 GB, free: 5.016 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.983e-05/0.641, allocations: 39.12 kB / 1.16 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=11): time 1.213e-06/0.641, allocations: 0 / 1.16 GB, free: 4.973 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11): time 0.0002296/0.6412, allocations: 124.5 kB / 1.16 GB, free: 4.914 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/0.6413, allocations: 58.03 kB / 1.16 GB, free: 4.848 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.009e-05/0.6414, allocations: 119.4 kB / 1.16 GB, free: 4.738 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.6414, allocations: 30.69 kB / 1.16 GB, free: 4.707 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.183e-05/0.6414, allocations: 94.03 kB / 1.16 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.898e-05/0.6415, allocations: 43.91 kB / 1.16 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.548e-06/0.6415, allocations: 0 / 1.16 GB, free: 4.578 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001017/0.6416, allocations: 320.4 kB / 1.161 GB, free: 4.262 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.008e-05/0.6416, allocations: 30.72 kB / 1.161 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.628e-05/0.6417, allocations: 74.61 kB / 1.161 GB, free: 4.195 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.6419, allocations: 123.7 kB / 1.161 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.245e-06/0.6419, allocations: 1.094 kB / 1.161 GB, free: 4.113 MB / 0.7448 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001963/0.6421, allocations: 132.3 kB / 1.161 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.6421, allocations: 9.469 kB / 1.161 GB, free: 4.051 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.6421, allocations: 5 kB / 1.161 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.6421, allocations: 2.188 kB / 1.161 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.732e-05/0.6422, allocations: 25.56 kB / 1.161 GB, free: 4.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/0.6422, allocations: 6.312 kB / 1.161 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.206e-05/0.6423, allocations: 15.66 kB / 1.161 GB, free: 4.031 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.897e-05/0.6423, allocations: 15.98 kB / 1.161 GB, free: 4.023 MB / 0.7448 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 7.819e-05/0.6424, allocations: 117 kB / 1.161 GB, free: 3.906 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.598e-05/0.6425, allocations: 7.844 kB / 1.161 GB, free: 3.902 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002103/0.6427, allocations: 130.4 kB / 1.161 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.817e-06/0.6427, allocations: 1.219 kB / 1.161 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.6427, allocations: 0 / 1.161 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.6427, allocations: 4.75 kB / 1.161 GB, free: 3.832 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001754/0.6429, allocations: 174.1 kB / 1.162 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.325e-06/0.6429, allocations: 1.062 kB / 1.162 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.193e-05/0.643, allocations: 14.22 kB / 1.162 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.643, allocations: 8.516 kB / 1.162 GB, free: 3.633 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.643, allocations: 5.062 kB / 1.162 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.605e-06/0.643, allocations: 3.75 kB / 1.162 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.643, allocations: 1.406 kB / 1.162 GB, free: 3.629 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001796/0.6432, allocations: 200.5 kB / 1.162 GB, free: 3.469 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.97e-05/0.6432, allocations: 102 kB / 1.162 GB, free: 3.363 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.788e-05/0.6433, allocations: 5.031 kB / 1.162 GB, free: 3.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.543e-05/0.6433, allocations: 5.125 kB / 1.162 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.081e-05/0.6434, allocations: 3.156 kB / 1.162 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.6434, allocations: 5.484 kB / 1.162 GB, free: 3.355 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.613e-05/0.6434, allocations: 87.84 kB / 1.162 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6434, allocations: 4 kB / 1.162 GB, free: 3.273 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003487/0.6438, allocations: 75.91 kB / 1.162 GB, free: 3.254 MB / 0.7448 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.0003574/0.6441, allocations: 192.1 kB / 1.162 GB, free: 3.137 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001547/0.6443, allocations: 84.67 kB / 1.162 GB, free: 3.117 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.6443, allocations: 4.062 kB / 1.162 GB, free: 3.113 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.277e-05/0.6444, allocations: 39.45 kB / 1.162 GB, free: 3.105 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.6446, allocations: 17.55 kB / 1.162 GB, free: 3.102 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003316/0.645, allocations: 199.8 kB / 1.163 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002026/0.6452, allocations: 0.6981 MB / 1.163 GB, free: 2.258 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001369/0.6453, allocations: 46.83 kB / 1.163 GB, free: 2.254 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.401e-05/0.6454, allocations: 24.98 kB / 1.163 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of SimCode: time 7.51e-07/0.6454, allocations: 0 / 1.163 GB, free: 2.238 MB / 0.7448 GB Notification: Performance of Templates: time 0.005283/0.6507, allocations: 1.842 MB / 1.165 GB, free: 2.043 MB / 0.7448 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)