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_roundTube_KC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.249/2.249, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.589e-05/1.603e-05, allocations: 0 / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3492/0.3492, allocations: 54.85 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1395/0.4888, allocations: 92.98 MB / 451 MB, free: 1.812 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003115/0.4891, allocations: 91.94 kB / 451.1 MB, free: 1.723 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0462/0.5353, allocations: 11.01 MB / 462.1 MB, free: 6.672 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.055e-06/0.5354, allocations: 0 / 462.1 MB, free: 6.672 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.816e-05/0.5354, allocations: 8 kB / 462.1 MB, free: 6.664 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008316/0.5363, allocations: 0.5761 MB / 462.7 MB, free: 6.039 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.278e-05/0.5363, allocations: 11.97 kB / 462.7 MB, free: 6.027 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.689e-05/0.5364, allocations: 39.53 kB / 462.8 MB, free: 5.988 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000359/0.5368, allocations: 238.5 kB / 463 MB, free: 5.715 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/0.5368, allocations: 12 kB / 463 MB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.873e-05/0.5369, allocations: 20 kB / 463 MB, free: 5.684 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004737/0.5374, allocations: 225.5 kB / 463.3 MB, free: 5.465 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007399/0.5381, allocations: 0.498 MB / 463.8 MB, free: 4.836 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.198e-05/0.5382, allocations: 7.938 kB / 463.8 MB, free: 4.828 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.772e-05/0.5382, allocations: 11.95 kB / 463.8 MB, free: 4.816 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.961e-05/0.5382, allocations: 15.98 kB / 463.8 MB, free: 4.801 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003369/0.5416, allocations: 3.938 MB / 467.7 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003404/0.542, allocations: 86.53 kB / 467.8 MB, free: 0.582 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.723e-05/0.5421, allocations: 28.92 kB / 467.8 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.401e-05/0.5421, allocations: 0 / 467.8 MB, free: 0.5508 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.5422, allocations: 34.56 kB / 467.9 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.019e-06/0.5422, allocations: 0 / 467.9 MB, free: 0.5078 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003312/0.5425, allocations: 97.39 kB / 468 MB, free: 416 kB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.476e-05/0.5426, allocations: 55.34 kB / 468 MB, free: 348 kB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/0.5429, allocations: 230.1 kB / 468.2 MB, free: 116 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.538e-05/0.5429, allocations: 25.7 kB / 468.3 MB, free: 84 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.2409/0.7839, allocations: 318.4 kB / 468.6 MB, free: 98.3 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.784, allocations: 27.77 kB / 468.6 MB, free: 98.29 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.496e-05/0.784, allocations: 0 / 468.6 MB, free: 98.29 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.894e-05/0.7841, allocations: 328.3 kB / 468.9 MB, free: 97.98 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001491/0.7843, allocations: 35.55 kB / 469 MB, free: 97.97 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002167/0.7845, allocations: 235.3 kB / 469.2 MB, free: 97.71 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002157/0.7847, allocations: 77.36 kB / 469.3 MB, free: 97.71 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.247e-06/0.7847, allocations: 4.75 kB / 469.3 MB, free: 97.71 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0007014/0.7854, allocations: 249.1 kB / 469.5 MB, free: 97.68 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.136e-05/0.7855, allocations: 13.56 kB / 469.5 MB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.7855, allocations: 7.125 kB / 469.5 MB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.801e-05/0.7856, allocations: 11.03 kB / 469.5 MB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/0.7862, allocations: 109.5 kB / 469.7 MB, free: 97.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006647/0.7869, allocations: 1.224 MB / 470.9 MB, free: 96.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003517/0.7873, allocations: 37.08 kB / 470.9 MB, free: 96.5 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.7874, allocations: 21.52 kB / 470.9 MB, free: 96.5 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001033/0.7875, allocations: 126.4 kB / 471.1 MB, free: 96.39 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.146e-05/0.7875, allocations: 24.69 kB / 471.1 MB, free: 96.38 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004012/0.788, allocations: 136.7 kB / 471.2 MB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.969e-06/0.788, allocations: 5.969 kB / 471.2 MB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.795e-06/0.788, allocations: 0.875 kB / 471.2 MB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.757e-06/0.788, allocations: 0.5625 kB / 471.2 MB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003673/0.7884, allocations: 244.5 kB / 471.5 MB, free: 96.18 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.58e-06/0.7884, allocations: 0.6094 kB / 471.5 MB, free: 96.18 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000411/0.7888, allocations: 53.75 kB / 471.5 MB, free: 96.18 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.937e-06/0.7889, allocations: 6.156 kB / 471.5 MB, free: 96.17 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.7889, allocations: 4.172 kB / 471.5 MB, free: 96.17 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005782/0.7895, allocations: 1.207 MB / 472.7 MB, free: 95 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.433e-06/0.7895, allocations: 3.953 kB / 472.7 MB, free: 95 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002904/0.7898, allocations: 197.4 kB / 472.9 MB, free: 94.86 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.63e-05/0.7899, allocations: 97.58 kB / 473 MB, free: 94.75 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.803e-05/0.79, allocations: 1.016 kB / 473 MB, free: 94.75 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002256/0.7902, allocations: 8.969 kB / 473 MB, free: 94.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.713e-05/0.7903, allocations: 6.828 kB / 473 MB, free: 94.75 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.022e-05/0.7903, allocations: 8.031 kB / 473.1 MB, free: 94.75 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001927/0.7905, allocations: 164.1 kB / 473.2 MB, free: 94.67 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.552e-06/0.7905, allocations: 3.781 kB / 473.2 MB, free: 94.67 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008755/0.7914, allocations: 137 kB / 473.3 MB, free: 94.66 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 (7): * Single equations (assignments): 5 * 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.0006238/0.792, allocations: 259 kB / 473.6 MB, free: 94.57 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005972/0.7927, allocations: 149.3 kB / 473.7 MB, free: 94.55 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.771e-06/0.7927, allocations: 3.906 kB / 473.8 MB, free: 94.55 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002759/0.793, allocations: 53.02 kB / 473.8 MB, free: 94.55 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.7933, allocations: 16.11 kB / 473.8 MB, free: 94.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007437/0.794, allocations: 306.6 kB / 474.1 MB, free: 94.38 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002564/0.7943, allocations: 0.7759 MB / 474.9 MB, free: 93.68 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.057e-05/0.7944, allocations: 22.45 kB / 474.9 MB, free: 93.67 MB / 394.7 MB Notification: Performance of SimCode: time 1.631e-06/0.7944, allocations: 0 / 474.9 MB, free: 93.67 MB / 394.7 MB Notification: Performance of Templates: time 0.01021/0.8046, allocations: 6.464 MB / 481.4 MB, free: 93.29 MB / 394.7 MB