Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadModel(ModelicaTest): time 1.952/1.952, allocations: 209.3 MB / 222.4 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.601e-05/2.616e-05, allocations: 4 kB / 277.9 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08734/0.0874, allocations: 48.7 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3937/0.4812, allocations: 80.97 MB / 407.5 MB, free: 8.594 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002923/0.4815, allocations: 91.09 kB / 407.6 MB, free: 8.578 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02556/0.5071, allocations: 6.775 MB / 414.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5071, allocations: 0 / 414.4 MB, free: 4.719 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.301e-05/0.5072, allocations: 4 kB / 414.4 MB, free: 4.715 MB / 314.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.0004586/0.5076, allocations: 467.3 kB / 414.9 MB, free: 4.23 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.5077, allocations: 8.031 kB / 414.9 MB, free: 4.223 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.623e-05/0.5077, allocations: 23.72 kB / 414.9 MB, free: 4.199 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001903/0.5079, allocations: 213.6 kB / 415.1 MB, free: 3.957 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.508, allocations: 27.14 kB / 415.1 MB, free: 3.938 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.557e-05/0.508, allocations: 19.12 kB / 415.1 MB, free: 3.926 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003727/0.5084, allocations: 210.3 kB / 415.3 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.5084, allocations: 0 / 415.3 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.302e-05/0.5085, allocations: 6.562 kB / 415.3 MB, free: 3.781 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.623e-06/0.5085, allocations: 8 kB / 415.4 MB, free: 3.773 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003514/0.5089, allocations: 217.7 kB / 415.6 MB, free: 3.645 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/0.5099, allocations: 0.6268 MB / 416.2 MB, free: 3.059 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003836/0.5103, allocations: 100.8 kB / 416.3 MB, free: 2.965 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.644e-05/0.5104, allocations: 27.61 kB / 416.3 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.645e-05/0.5105, allocations: 0 / 416.3 MB, free: 2.941 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.5105, allocations: 42 kB / 416.4 MB, free: 2.895 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 2.326e-06/0.5105, allocations: 0 / 416.4 MB, free: 2.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003309/0.5109, allocations: 107.5 kB / 416.5 MB, free: 2.793 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.5109, allocations: 51.41 kB / 416.5 MB, free: 2.73 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002495/0.5112, allocations: 236.1 kB / 416.7 MB, free: 2.535 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.583e-05/0.5112, allocations: 25.7 kB / 416.8 MB, free: 2.504 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.594e-05/0.5113, allocations: 232.8 kB / 417 MB, free: 2.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.942e-05/0.5113, allocations: 31 kB / 417 MB, free: 2.273 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.368e-05/0.5114, allocations: 7.625 kB / 417 MB, free: 2.27 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.531e-05/0.5114, allocations: 322.7 kB / 417.4 MB, free: 1.949 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.5115, allocations: 35.38 kB / 417.4 MB, free: 1.922 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001478/0.5117, allocations: 129.8 kB / 417.5 MB, free: 1.766 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.5119, allocations: 59.09 kB / 417.6 MB, free: 1.715 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.5119, allocations: 0 / 417.6 MB, free: 1.715 MB / 314.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004249/0.5123, allocations: 207.4 kB / 417.8 MB, free: 1.535 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.838e-05/0.5123, allocations: 4 kB / 417.8 MB, free: 1.531 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.654e-06/0.5124, allocations: 4 kB / 417.8 MB, free: 1.527 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/0.5124, allocations: 4 kB / 417.8 MB, free: 1.523 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004868/0.5129, allocations: 83.89 kB / 417.9 MB, free: 1.441 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006203/0.5135, allocations: 1.221 MB / 419.1 MB, free: 200 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002929/0.5138, allocations: 42.05 kB / 419.1 MB, free: 160 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.5139, allocations: 8 kB / 419.1 MB, free: 152 kB / 314.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 8.113e-05/0.514, allocations: 115.4 kB / 419.3 MB, free: 36 kB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.514, allocations: 23.72 kB / 419.3 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004974/0.5145, allocations: 152 kB / 419.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.426e-06/0.5146, allocations: 7.953 kB / 419.4 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.435e-06/0.5146, allocations: 0 / 419.4 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.244e-06/0.5146, allocations: 4 kB / 419.4 MB, free: 15.87 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007592/0.5154, allocations: 422.4 kB / 419.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.976e-06/0.5154, allocations: 0 / 419.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003953/0.5158, allocations: 59.72 kB / 419.9 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.526e-05/0.5158, allocations: 11.95 kB / 419.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.664e-05/0.5159, allocations: 0 / 419.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001006/0.5169, allocations: 1.217 MB / 421.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.375e-06/0.5169, allocations: 7.891 kB / 421.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003842/0.5173, allocations: 243 kB / 421.4 MB, free: 13.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001261/0.5175, allocations: 104.8 kB / 421.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.556e-05/0.5175, allocations: 3.953 kB / 421.5 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002212/0.5178, allocations: 11.19 kB / 421.5 MB, free: 13.72 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.804e-05/0.5178, allocations: 7.984 kB / 421.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.5179, allocations: 8 kB / 421.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002529/0.5181, allocations: 187.5 kB / 421.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.323e-06/0.5181, allocations: 0 / 421.7 MB, free: 13.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005553/0.5187, allocations: 71.38 kB / 421.8 MB, free: 13.48 MB / 330.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.0003907/0.5191, allocations: 188.9 kB / 421.9 MB, free: 13.3 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0005889/0.5197, allocations: 131 kB / 422.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.457e-06/0.5197, allocations: 0 / 422.1 MB, free: 13.18 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003228/0.5201, allocations: 63.16 kB / 422.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000325/0.5204, allocations: 20.39 kB / 422.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007084/0.5211, allocations: 265.5 kB / 422.4 MB, free: 12.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004657/0.5216, allocations: 0.7363 MB / 423.2 MB, free: 12.08 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.94e-05/0.5217, allocations: 19.53 kB / 423.2 MB, free: 12.06 MB / 330.7 MB Notification: Performance of SimCode: time 1.865e-06/0.5217, allocations: 3.938 kB / 423.2 MB, free: 12.05 MB / 330.7 MB Notification: Performance of Templates: time 0.008893/0.5306, allocations: 4.419 MB / 427.6 MB, free: 7.648 MB / 330.7 MB