Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.313/2.313, allocations: 234.9 MB / 251.1 MB, free: 9.473 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004341/0.0004342, allocations: 16 kB / 315 MB, free: 9.496 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3351, allocations: 54.86 MB / 369.8 MB, free: 10.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.5271, allocations: 87.43 MB / 457.3 MB, free: 3.16 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003934/0.5276, allocations: 95.94 kB / 457.3 MB, free: 3.066 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03103/0.5586, allocations: 6.796 MB / 464.1 MB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5587, allocations: 0 / 464.1 MB, free: 12.25 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.396e-05/0.5587, allocations: 4 kB / 464.1 MB, free: 12.25 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.0006879/0.5594, allocations: 482.8 kB / 464.6 MB, free: 11.73 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.9e-05/0.5595, allocations: 12.03 kB / 464.6 MB, free: 11.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.917e-05/0.5596, allocations: 27.67 kB / 464.7 MB, free: 11.69 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002681/0.5598, allocations: 215.2 kB / 464.9 MB, free: 11.44 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.537e-05/0.5599, allocations: 20.44 kB / 464.9 MB, free: 11.42 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.032e-05/0.5599, allocations: 20 kB / 464.9 MB, free: 11.4 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000637/0.5606, allocations: 231.2 kB / 465.1 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.5606, allocations: 0 / 465.1 MB, free: 11.17 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.557e-05/0.5606, allocations: 4 kB / 465.1 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.5607, allocations: 8 kB / 465.1 MB, free: 11.16 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007521/0.5614, allocations: 265.5 kB / 465.4 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001387/0.5628, allocations: 0.6196 MB / 466 MB, free: 10.23 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005799/0.5634, allocations: 114.7 kB / 466.1 MB, free: 10.11 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.5635, allocations: 4 kB / 466.1 MB, free: 10.1 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.5635, allocations: 30.56 kB / 466.2 MB, free: 10.06 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 1.673e-06/0.5635, allocations: 3.938 kB / 466.2 MB, free: 10.06 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.000866/0.5644, allocations: 185.3 kB / 466.4 MB, free: 9.871 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.5644, allocations: 59.34 kB / 466.4 MB, free: 9.801 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003667/0.5648, allocations: 263 kB / 466.7 MB, free: 9.531 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/0.5649, allocations: 25.7 kB / 466.7 MB, free: 9.5 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001535/0.565, allocations: 237.7 kB / 466.9 MB, free: 9.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.165e-05/0.5651, allocations: 27.56 kB / 466.9 MB, free: 9.238 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.5651, allocations: 4 kB / 467 MB, free: 9.234 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001302/0.5652, allocations: 322.8 kB / 467.3 MB, free: 8.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002651/0.5655, allocations: 55.89 kB / 467.3 MB, free: 8.855 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.5659, allocations: 144.8 kB / 467.5 MB, free: 8.668 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/0.5662, allocations: 77.09 kB / 467.5 MB, free: 8.594 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.667e-06/0.5662, allocations: 0 / 467.5 MB, free: 8.594 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007772/0.567, allocations: 237.1 kB / 467.8 MB, free: 8.355 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.567, allocations: 4 kB / 467.8 MB, free: 8.352 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.333e-06/0.5671, allocations: 4 kB / 467.8 MB, free: 8.348 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.5671, allocations: 8 kB / 467.8 MB, free: 8.34 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006392/0.5677, allocations: 84.33 kB / 467.9 MB, free: 8.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008792/0.5686, allocations: 1.219 MB / 469.1 MB, free: 6.992 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003301/0.569, allocations: 43.86 kB / 469.1 MB, free: 6.949 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.271e-05/0.569, allocations: 12 kB / 469.1 MB, free: 6.938 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.0001638/0.5692, allocations: 142 kB / 469.3 MB, free: 6.789 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.171e-05/0.5693, allocations: 19.72 kB / 469.3 MB, free: 6.77 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007338/0.57, allocations: 179.6 kB / 469.5 MB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.57, allocations: 0 / 469.5 MB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5701, allocations: 0 / 469.5 MB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.5701, allocations: 8.094 kB / 469.5 MB, free: 6.578 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009789/0.5711, allocations: 467.9 kB / 469.9 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.5711, allocations: 0 / 469.9 MB, free: 6.059 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004799/0.5716, allocations: 64.02 kB / 470 MB, free: 5.996 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.318e-06/0.5716, allocations: 4 kB / 470 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.765e-05/0.5716, allocations: 0 / 470 MB, free: 5.992 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009362/0.5726, allocations: 1.219 MB / 471.2 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/0.5726, allocations: 0 / 471.2 MB, free: 4.727 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006262/0.5732, allocations: 253 kB / 471.5 MB, free: 4.457 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.665e-05/0.5733, allocations: 104.7 kB / 471.6 MB, free: 4.336 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.14e-05/0.5734, allocations: 3.984 kB / 471.6 MB, free: 4.332 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002544/0.5737, allocations: 8 kB / 471.6 MB, free: 4.324 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.358e-05/0.5738, allocations: 15.97 kB / 471.6 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.787e-05/0.5738, allocations: 4 kB / 471.6 MB, free: 4.305 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002698/0.5741, allocations: 186 kB / 471.8 MB, free: 4.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5741, allocations: 4 kB / 471.8 MB, free: 4.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005342/0.5746, allocations: 68 kB / 471.9 MB, free: 4.055 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.0004004/0.575, allocations: 186.5 kB / 472 MB, free: 3.867 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0009106/0.576, allocations: 179.8 kB / 472.2 MB, free: 3.691 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.576, allocations: 0 / 472.2 MB, free: 3.691 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.5765, allocations: 84.89 kB / 472.3 MB, free: 3.609 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.5768, allocations: 36.84 kB / 472.3 MB, free: 3.57 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.5779, allocations: 486.9 kB / 472.8 MB, free: 3.051 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003767/0.5783, allocations: 0.7404 MB / 473.6 MB, free: 2.281 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.778e-05/0.5784, allocations: 19.44 kB / 473.6 MB, free: 2.262 MB / 394.7 MB Notification: Performance of SimCode: time 5.92e-07/0.5784, allocations: 0 / 473.6 MB, free: 2.262 MB / 394.7 MB Notification: Performance of Templates: time 0.2927/0.8711, allocations: 4.434 MB / 478 MB, free: 97.18 MB / 394.7 MB