Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadModel(ModelicaTest): time 2.324/2.324, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.034e-05/3.042e-05, allocations: 7.984 kB / 309.7 MB, free: 1.305 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3204, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1341/0.4546, allocations: 89.36 MB / 453.9 MB, free: 7.113 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002994/0.4549, allocations: 95.94 kB / 454 MB, free: 7.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03223/0.4872, allocations: 7.825 MB / 461.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.641e-06/0.4872, allocations: 0 / 461.8 MB, free: 15.2 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.4872, allocations: 4 kB / 461.8 MB, free: 15.2 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0007378/0.488, allocations: 461.9 kB / 462.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.488, allocations: 8.031 kB / 462.3 MB, free: 14.7 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.653e-05/0.4881, allocations: 23.72 kB / 462.3 MB, free: 14.67 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002873/0.4884, allocations: 210.6 kB / 462.5 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.342e-05/0.4885, allocations: 12 kB / 462.5 MB, free: 14.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.592e-05/0.4885, allocations: 16.66 kB / 462.6 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/0.4889, allocations: 186.8 kB / 462.7 MB, free: 14.21 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.4889, allocations: 4 kB / 462.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.127e-05/0.489, allocations: 4 kB / 462.7 MB, free: 14.2 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.223e-05/0.489, allocations: 11.94 kB / 462.8 MB, free: 14.19 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002497/0.4893, allocations: 120.3 kB / 462.9 MB, free: 14.07 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.4905, allocations: 0.5792 MB / 463.5 MB, free: 13.44 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001698/0.4907, allocations: 55.97 kB / 463.5 MB, free: 13.38 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.285e-05/0.4908, allocations: 16.92 kB / 463.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.008e-05/0.4908, allocations: 4.047 kB / 463.5 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.123e-05/0.4908, allocations: 34.55 kB / 463.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 3.207e-06/0.4909, allocations: 0 / 463.6 MB, free: 13.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0003162/0.4912, allocations: 89.3 kB / 463.7 MB, free: 13.22 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.4912, allocations: 55.41 kB / 463.7 MB, free: 13.15 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003552/0.4916, allocations: 227 kB / 463.9 MB, free: 12.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.4917, allocations: 29.64 kB / 464 MB, free: 12.88 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001538/0.4918, allocations: 218.2 kB / 464.2 MB, free: 12.67 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.988e-05/0.4919, allocations: 23.73 kB / 464.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.883e-06/0.4919, allocations: 0 / 464.2 MB, free: 12.64 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001642/0.4921, allocations: 318.8 kB / 464.5 MB, free: 12.32 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.753e-05/0.4922, allocations: 23.98 kB / 464.5 MB, free: 12.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001697/0.4924, allocations: 114.3 kB / 464.6 MB, free: 12.14 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001279/0.4925, allocations: 53.78 kB / 464.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.562e-06/0.4925, allocations: 0 / 464.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0004218/0.493, allocations: 161.2 kB / 464.8 MB, free: 11.93 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.335e-05/0.493, allocations: 8 kB / 464.9 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.149e-05/0.4931, allocations: 12 kB / 464.9 MB, free: 11.91 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.4931, allocations: 8.391 kB / 464.9 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.4933, allocations: 39.91 kB / 464.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.445e-05/0.4933, allocations: 4 kB / 464.9 MB, free: 11.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002299/0.4936, allocations: 39.67 kB / 465 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.844e-05/0.4936, allocations: 8 kB / 465 MB, free: 11.81 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001151/0.4938, allocations: 116.9 kB / 465.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.253e-05/0.4938, allocations: 19.72 kB / 465.1 MB, free: 11.67 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003937/0.4942, allocations: 126.7 kB / 465.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.515e-06/0.4943, allocations: 0 / 465.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.78e-06/0.4943, allocations: 3.953 kB / 465.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.454e-06/0.4943, allocations: 0 / 465.2 MB, free: 11.54 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003402/0.4946, allocations: 221.6 kB / 465.4 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.35e-05/0.4947, allocations: 11.98 kB / 465.5 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/0.4948, allocations: 8 kB / 465.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.556e-06/0.4948, allocations: 0 / 465.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.883e-05/0.4948, allocations: 4 kB / 465.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.4948, allocations: 0 / 465.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.411e-06/0.4949, allocations: 3.984 kB / 465.5 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/0.4952, allocations: 191.2 kB / 465.7 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.573e-05/0.4953, allocations: 88.92 kB / 465.7 MB, free: 10.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.924e-05/0.4954, allocations: 4 kB / 465.7 MB, free: 10.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001764/0.4956, allocations: 11.98 kB / 465.8 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.4956, allocations: 7.984 kB / 465.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.088e-05/0.4956, allocations: 4 kB / 465.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002261/0.4959, allocations: 183 kB / 466 MB, free: 10.73 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-07/0.4959, allocations: 0 / 466 MB, free: 10.73 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005815/0.4965, allocations: 87.84 kB / 466 MB, free: 10.65 MB / 394.7 MB 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004553/0.497, allocations: 206.5 kB / 466.2 MB, free: 10.44 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0004468/0.4974, allocations: 148.1 kB / 466.4 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.12e-06/0.4975, allocations: 0 / 466.4 MB, free: 10.29 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002294/0.4977, allocations: 91.27 kB / 466.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.498, allocations: 23.92 kB / 466.5 MB, free: 10.16 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.4987, allocations: 233.1 kB / 466.7 MB, free: 9.902 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004778/0.4992, allocations: 0.7363 MB / 467.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.781e-05/0.4993, allocations: 19.44 kB / 467.5 MB, free: 9.117 MB / 394.7 MB Notification: Performance of SimCode: time 1.942e-06/0.4993, allocations: 0 / 467.5 MB, free: 9.117 MB / 394.7 MB Notification: Performance of Templates: time 0.009143/0.5085, allocations: 4.536 MB / 472 MB, free: 4.582 MB / 394.7 MB