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_KC.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_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.064/2.064, allocations: 234.9 MB / 250.5 MB, free: 9.523 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009006/0.0009008, allocations: 8 kB / 314.4 MB, free: 9.516 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2853/0.2862, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1317/0.418, allocations: 87.44 MB / 456.7 MB, free: 3.129 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000324/0.4183, allocations: 95.94 kB / 456.8 MB, free: 3.035 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02744/0.4458, allocations: 6.773 MB / 463.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.341e-06/0.4458, allocations: 0 / 463.6 MB, free: 12.23 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.45e-05/0.4459, allocations: 4 kB / 463.6 MB, free: 12.23 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0006728/0.4465, allocations: 494.8 kB / 464.1 MB, free: 11.7 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.4466, allocations: 8.031 kB / 464.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.551e-05/0.4467, allocations: 27.67 kB / 464.1 MB, free: 11.66 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.4469, allocations: 214.5 kB / 464.3 MB, free: 11.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.032e-05/0.447, allocations: 16.44 kB / 464.3 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.635e-05/0.447, allocations: 16 kB / 464.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005396/0.4476, allocations: 235.2 kB / 464.6 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.174e-05/0.4476, allocations: 0 / 464.6 MB, free: 11.15 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.644e-05/0.4477, allocations: 8 kB / 464.6 MB, free: 11.14 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.31e-05/0.4477, allocations: 15.94 kB / 464.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006131/0.4483, allocations: 261.6 kB / 464.9 MB, free: 10.87 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001251/0.4496, allocations: 0.6234 MB / 465.5 MB, free: 10.2 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005202/0.4501, allocations: 114.7 kB / 465.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.418e-05/0.4502, allocations: 4 kB / 465.6 MB, free: 10.07 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.039e-05/0.4502, allocations: 30.56 kB / 465.6 MB, free: 10.03 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.458e-06/0.4502, allocations: 0 / 465.6 MB, free: 10.03 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0006991/0.4509, allocations: 181.5 kB / 465.8 MB, free: 9.848 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.032e-05/0.451, allocations: 55.41 kB / 465.9 MB, free: 9.781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003309/0.4513, allocations: 238.1 kB / 466.1 MB, free: 9.539 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.896e-05/0.4514, allocations: 29.7 kB / 466.1 MB, free: 9.504 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.4516, allocations: 233.7 kB / 466.4 MB, free: 9.273 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.4516, allocations: 31.56 kB / 466.4 MB, free: 9.242 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.243e-05/0.4516, allocations: 0 / 466.4 MB, free: 9.242 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001636/0.4518, allocations: 322.8 kB / 466.7 MB, free: 8.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.452, allocations: 51.95 kB / 466.8 MB, free: 8.867 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002922/0.4523, allocations: 152.8 kB / 466.9 MB, free: 8.672 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002432/0.4526, allocations: 73.11 kB / 467 MB, free: 8.602 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.476e-06/0.4526, allocations: 4 kB / 467 MB, free: 8.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006546/0.4533, allocations: 229.5 kB / 467.2 MB, free: 8.367 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.074e-05/0.4533, allocations: 8 kB / 467.2 MB, free: 8.359 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.563e-06/0.4533, allocations: 4 kB / 467.2 MB, free: 8.355 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.4534, allocations: 7.984 kB / 467.2 MB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.4539, allocations: 87.89 kB / 467.3 MB, free: 8.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00103/0.4549, allocations: 1.223 MB / 468.5 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002656/0.4552, allocations: 31.69 kB / 468.6 MB, free: 6.961 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.424e-05/0.4553, allocations: 15.98 kB / 468.6 MB, free: 6.945 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001752/0.4554, allocations: 137.9 kB / 468.7 MB, free: 6.801 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.932e-05/0.4555, allocations: 27.66 kB / 468.7 MB, free: 6.773 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006068/0.4561, allocations: 183.5 kB / 468.9 MB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.031e-06/0.4562, allocations: 4 kB / 468.9 MB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.294e-06/0.4562, allocations: 0 / 468.9 MB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/0.4562, allocations: 0 / 468.9 MB, free: 6.582 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008956/0.4571, allocations: 464 kB / 469.4 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.123e-06/0.4571, allocations: 0 / 469.4 MB, free: 6.066 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003856/0.4575, allocations: 67.89 kB / 469.4 MB, free: 6 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.059e-06/0.4575, allocations: 64 / 469.4 MB, free: 6 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.4576, allocations: 8 kB / 469.5 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009633/0.4586, allocations: 1.207 MB / 470.7 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.53e-06/0.4586, allocations: 0 / 470.7 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005564/0.4591, allocations: 288.5 kB / 470.9 MB, free: 4.422 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.575e-05/0.4593, allocations: 96.77 kB / 471 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.4593, allocations: 4 kB / 471 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002101/0.4595, allocations: 11.98 kB / 471.1 MB, free: 4.293 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.4596, allocations: 11.98 kB / 471.1 MB, free: 4.281 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.824e-05/0.4596, allocations: 4 kB / 471.1 MB, free: 4.277 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002414/0.4599, allocations: 182 kB / 471.2 MB, free: 4.102 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.54e-07/0.4599, allocations: 4 kB / 471.3 MB, free: 4.098 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005362/0.4604, allocations: 72 kB / 471.3 MB, free: 4.027 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003634/0.4608, allocations: 183.2 kB / 471.5 MB, free: 3.84 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0007201/0.4616, allocations: 171.7 kB / 471.7 MB, free: 3.672 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4616, allocations: 0 / 471.7 MB, free: 3.672 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003942/0.462, allocations: 76.89 kB / 471.7 MB, free: 3.598 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003068/0.4623, allocations: 38.7 kB / 471.8 MB, free: 3.559 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009782/0.4633, allocations: 482.9 kB / 472.3 MB, free: 3.043 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004364/0.4638, allocations: 0.7404 MB / 473 MB, free: 2.273 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.779e-05/0.4638, allocations: 19.44 kB / 473 MB, free: 2.254 MB / 394.7 MB Notification: Performance of SimCode: time 1.31e-06/0.4639, allocations: 0 / 473 MB, free: 2.254 MB / 394.7 MB Notification: Performance of Templates: time 0.2448/0.7087, allocations: 4.441 MB / 477.5 MB, free: 97.16 MB / 394.7 MB