Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.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_7.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 7.0.1/package.mo): time 2.174/2.174, allocations: 254.9 MB / 269.9 MB, free: 9.633 MB / 218.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.001386/0.001386, allocations: 200.8 kB / 329.5 MB, free: 1.16 MB / 250.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 2.395/2.395, allocations: 225.6 MB / 0.6001 GB, free: 2.246 MB / 426.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.0009182/0.000918, allocations: 101.9 kB / 0.7074 GB, free: 7.977 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004981/0.0004984, allocations: 15.47 kB / 0.8242 GB, free: 124.4 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2345/0.2351, allocations: 109.1 MB / 0.9308 GB, free: 25.11 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity): time 0.001849/0.237, allocations: 1.036 MB / 0.9318 GB, free: 24.06 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.8836/1.121, allocations: 134.3 MB / 1.063 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.464e-05/1.121, allocations: 1.375 kB / 1.063 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 3.713e-05/1.121, allocations: 1.453 kB / 1.063 GB, free: 1.711 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.000193/1.121, allocations: 45.58 kB / 1.063 GB, free: 1.707 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.001187/1.122, allocations: 259.9 kB / 1.063 GB, free: 1.656 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.000251/1.122, allocations: 137.6 kB / 1.063 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/1.122, allocations: 4.984 kB / 1.063 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of NFEvalConstants.evaluate: time 5.722e-05/1.123, allocations: 34.39 kB / 1.063 GB, free: 1.645 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000154/1.123, allocations: 58.56 kB / 1.063 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/1.123, allocations: 1.375 kB / 1.063 GB, free: 1.641 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00116/1.124, allocations: 306.9 kB / 1.064 GB, free: 1.609 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 8.126e-05/1.124, allocations: 28.84 kB / 1.064 GB, free: 1.605 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0001778/1.124, allocations: 34.17 kB / 1.064 GB, free: 17.57 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.0006045/1.125, allocations: 173.2 kB / 1.064 GB, free: 17.56 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.125, allocations: 0.7969 kB / 1.064 GB, free: 17.56 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.114e-06/1.125, allocations: 0 / 1.064 GB, free: 17.56 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.131e-06/1.125, allocations: 1.625 kB / 1.064 GB, free: 17.56 MB / 0.6667 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.0005185/1.125, allocations: 387.2 kB / 1.064 GB, free: 17.17 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.382e-05/1.125, allocations: 9.219 kB / 1.064 GB, free: 17.17 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.714e-05/1.126, allocations: 11.59 kB / 1.064 GB, free: 17.16 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/1.126, allocations: 166.9 kB / 1.065 GB, free: 16.96 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.843e-05/1.126, allocations: 8.891 kB / 1.065 GB, free: 16.96 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.756e-05/1.126, allocations: 2.812 kB / 1.065 GB, free: 16.96 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002584/1.126, allocations: 91.91 kB / 1.065 GB, free: 16.93 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/1.126, allocations: 0 / 1.065 GB, free: 16.93 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.456e-05/1.126, allocations: 0 / 1.065 GB, free: 16.93 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.462e-05/1.126, allocations: 11.8 kB / 1.065 GB, free: 16.93 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/1.126, allocations: 84.8 kB / 1.065 GB, free: 16.92 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/1.127, allocations: 340.7 kB / 1.065 GB, free: 16.65 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002702/1.127, allocations: 98.38 kB / 1.065 GB, free: 16.62 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/1.127, allocations: 51.23 kB / 1.065 GB, free: 16.62 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00133/1.129, allocations: 485.3 kB / 1.066 GB, free: 16.14 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/1.129, allocations: 39.45 kB / 1.066 GB, free: 16.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=11): time 2.375e-06/1.129, allocations: 0 / 1.066 GB, free: 16.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=11): time 0.000427/1.129, allocations: 122.9 kB / 1.066 GB, free: 16.06 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.791e-05/1.129, allocations: 64.08 kB / 1.066 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/1.129, allocations: 110.2 kB / 1.066 GB, free: 15.89 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/1.129, allocations: 29.14 kB / 1.066 GB, free: 15.86 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.253e-05/1.13, allocations: 96.8 kB / 1.066 GB, free: 15.77 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 4.04e-05/1.13, allocations: 42.83 kB / 1.066 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.807e-06/1.13, allocations: 1.062 kB / 1.066 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.13, allocations: 318.4 kB / 1.066 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.7e-05/1.13, allocations: 33.44 kB / 1.066 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001142/1.13, allocations: 80.7 kB / 1.067 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/1.13, allocations: 42.73 kB / 1.067 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/1.13, allocations: 0 / 1.067 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003238/1.13, allocations: 143.2 kB / 1.067 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.13, allocations: 6.016 kB / 1.067 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.749e-06/1.131, allocations: 4 kB / 1.067 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/1.131, allocations: 6.172 kB / 1.067 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/1.131, allocations: 25.3 kB / 1.067 GB, free: 15.32 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/1.131, allocations: 11.34 kB / 1.067 GB, free: 15.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.652e-05/1.131, allocations: 11.31 kB / 1.067 GB, free: 15.3 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.758e-05/1.131, allocations: 5.406 kB / 1.067 GB, free: 15.3 MB / 0.6667 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 0.0001238/1.131, allocations: 126.9 kB / 1.067 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.784e-05/1.131, allocations: 5.047 kB / 1.067 GB, free: 15.18 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003639/1.131, allocations: 130.6 kB / 1.067 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.501e-06/1.131, allocations: 2.734 kB / 1.067 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/1.131, allocations: 3.938 kB / 1.067 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/1.131, allocations: 1.484 kB / 1.067 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002398/1.132, allocations: 176.3 kB / 1.067 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/1.132, allocations: 5 kB / 1.067 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001371/1.132, allocations: 17.31 kB / 1.067 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.549e-06/1.132, allocations: 0 / 1.067 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/1.132, allocations: 3.859 kB / 1.067 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/1.132, allocations: 0.8438 kB / 1.067 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.132, allocations: 9.562 kB / 1.067 GB, free: 14.93 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002603/1.132, allocations: 196.9 kB / 1.067 GB, free: 14.8 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 8.423e-05/1.132, allocations: 93.62 kB / 1.068 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.284e-05/1.132, allocations: 8.156 kB / 1.068 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.251e-05/1.132, allocations: 3.062 kB / 1.068 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.801e-05/1.132, allocations: 11.69 kB / 1.068 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.069e-05/1.133, allocations: 1.5 kB / 1.068 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 6.71e-05/1.133, allocations: 91.2 kB / 1.068 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.81e-07/1.133, allocations: 3.938 kB / 1.068 GB, free: 14.61 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0005299/1.133, allocations: 77.69 kB / 1.068 GB, free: 14.6 MB / 0.6667 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.0004717/1.134, allocations: 185.9 kB / 1.068 GB, free: 14.49 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002743/1.134, allocations: 87.2 kB / 1.068 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.896e-06/1.134, allocations: 0 / 1.068 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 8.42e-05/1.134, allocations: 33.69 kB / 1.068 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/1.134, allocations: 18.73 kB / 1.068 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004633/1.135, allocations: 202.9 kB / 1.068 GB, free: 14.35 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002659/1.135, allocations: 0.6896 MB / 1.069 GB, free: 13.65 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002753/1.135, allocations: 55.12 kB / 1.069 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.96e-05/1.135, allocations: 13.23 kB / 1.069 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of SimCode: time 1.072e-06/1.135, allocations: 1 kB / 1.069 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of Templates: time 0.007224/1.143, allocations: 1.83 MB / 1.071 GB, free: 13.43 MB / 0.6667 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.CoolingTowers.BaseClasses.Functions.Validation.EquivalentHeatCapacity.pipe 2>&1)