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.197/2.197, allocations: 235 MB / 248.1 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.869e-05/2.876e-05, allocations: 4 kB / 309.7 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3227, allocations: 54.86 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.4545, allocations: 87.36 MB / 451.9 MB, free: 9.086 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.4549, allocations: 95.94 kB / 452 MB, free: 8.992 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02817/0.4831, allocations: 6.775 MB / 458.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.118e-06/0.4831, allocations: 0 / 458.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.644e-05/0.4832, allocations: 4 kB / 458.8 MB, free: 2.227 MB / 378.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.0006459/0.4838, allocations: 466.3 kB / 459.2 MB, free: 1.727 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.4839, allocations: 12.03 kB / 459.3 MB, free: 1.715 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.069e-05/0.484, allocations: 27.67 kB / 459.3 MB, free: 1.688 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002832/0.4843, allocations: 214.5 kB / 459.5 MB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.439e-05/0.4843, allocations: 12.44 kB / 459.5 MB, free: 1.426 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.065e-05/0.4843, allocations: 24 kB / 459.5 MB, free: 1.402 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004503/0.4848, allocations: 211.3 kB / 459.7 MB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4848, allocations: 0 / 459.7 MB, free: 1.191 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.765e-05/0.4849, allocations: 8 kB / 459.7 MB, free: 1.184 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.57e-06/0.4849, allocations: 4.75 kB / 459.7 MB, free: 1.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000452/0.4853, allocations: 225.6 kB / 460 MB, free: 0.957 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001295/0.4867, allocations: 0.6158 MB / 460.6 MB, free: 300 kB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003957/0.4871, allocations: 106.6 kB / 460.7 MB, free: 184 kB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001098/0.4872, allocations: 28.86 kB / 460.7 MB, free: 152 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.108e-05/0.4873, allocations: 7.984 kB / 460.7 MB, free: 144 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.191e-05/0.4873, allocations: 35.59 kB / 460.8 MB, free: 100 kB / 378.7 MB Notification: Performance of pre-optimization done (n=9): time 2.599e-06/0.4873, allocations: 0 / 460.8 MB, free: 100 kB / 378.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003887/0.4877, allocations: 109.6 kB / 460.9 MB, free: 15.98 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.4878, allocations: 55.36 kB / 460.9 MB, free: 15.91 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003322/0.4881, allocations: 235.3 kB / 461.1 MB, free: 15.67 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.211e-05/0.4882, allocations: 30.73 kB / 461.2 MB, free: 15.64 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001655/0.4883, allocations: 229.8 kB / 461.4 MB, free: 15.41 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.953e-05/0.4884, allocations: 27.56 kB / 461.4 MB, free: 15.38 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.632e-05/0.4884, allocations: 4 kB / 461.4 MB, free: 15.38 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.4886, allocations: 322.8 kB / 461.7 MB, free: 15.05 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.4887, allocations: 32 kB / 461.8 MB, free: 15.02 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002136/0.489, allocations: 136.8 kB / 461.9 MB, free: 14.84 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.4891, allocations: 51.91 kB / 462 MB, free: 14.79 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.551e-06/0.4892, allocations: 4 kB / 462 MB, free: 14.79 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005117/0.4897, allocations: 201.2 kB / 462.2 MB, free: 14.59 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.188e-05/0.4897, allocations: 9.406 kB / 462.2 MB, free: 14.58 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.4897, allocations: 4.938 kB / 462.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.996e-05/0.4898, allocations: 4 kB / 462.2 MB, free: 14.57 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005484/0.4903, allocations: 87.89 kB / 462.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001074/0.4914, allocations: 1.219 MB / 463.5 MB, free: 13.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.4918, allocations: 43.52 kB / 463.5 MB, free: 13.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.945e-05/0.4918, allocations: 12 kB / 463.5 MB, free: 13.16 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 (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.0001298/0.492, allocations: 121.1 kB / 463.7 MB, free: 13.04 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.694e-05/0.492, allocations: 19.81 kB / 463.7 MB, free: 13.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004675/0.4925, allocations: 155.3 kB / 463.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.753e-06/0.4925, allocations: 0 / 463.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.53e-06/0.4925, allocations: 0 / 463.8 MB, free: 12.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.725e-06/0.4926, allocations: 7.984 kB / 463.8 MB, free: 12.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000776/0.4933, allocations: 424 kB / 464.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.093e-06/0.4934, allocations: 0 / 464.3 MB, free: 12.38 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003923/0.4938, allocations: 59.91 kB / 464.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.321e-06/0.4938, allocations: 4.062 kB / 464.3 MB, free: 12.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2e-05/0.4938, allocations: 4 kB / 464.3 MB, free: 12.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.4949, allocations: 1.215 MB / 465.5 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.008e-06/0.4949, allocations: 4.031 kB / 465.5 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003864/0.4953, allocations: 244.6 kB / 465.8 MB, free: 10.77 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001095/0.4954, allocations: 100.8 kB / 465.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.153e-05/0.4955, allocations: 4 kB / 465.9 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.4957, allocations: 12 kB / 465.9 MB, free: 10.64 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.859e-05/0.4958, allocations: 11.98 kB / 465.9 MB, free: 10.63 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.4958, allocations: 4 kB / 465.9 MB, free: 10.62 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002485/0.4961, allocations: 183.1 kB / 466.1 MB, free: 10.45 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.42e-07/0.4961, allocations: 0 / 466.1 MB, free: 10.45 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005554/0.4966, allocations: 75.86 kB / 466.2 MB, free: 10.38 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 () * 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.0003779/0.497, allocations: 197.6 kB / 466.3 MB, free: 10.18 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005787/0.4976, allocations: 131.8 kB / 466.5 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.739e-06/0.4977, allocations: 0 / 466.5 MB, free: 10.05 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003273/0.498, allocations: 67.91 kB / 466.5 MB, free: 9.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003124/0.4983, allocations: 17.89 kB / 466.6 MB, free: 9.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007143/0.4991, allocations: 266.7 kB / 466.8 MB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/0.4995, allocations: 0.7363 MB / 467.6 MB, free: 8.902 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.4996, allocations: 23.42 kB / 467.6 MB, free: 8.879 MB / 394.7 MB Notification: Performance of SimCode: time 1.665e-06/0.4996, allocations: 0 / 467.6 MB, free: 8.879 MB / 394.7 MB Notification: Performance of Templates: time 0.008608/0.5082, allocations: 4.416 MB / 472 MB, free: 4.469 MB / 394.7 MB