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/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_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.244/2.244, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.253e-05/1.256e-05, allocations: 0 / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2694, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1316/0.4011, allocations: 86.68 MB / 444.7 MB, free: 8.125 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003192/0.4015, allocations: 95.92 kB / 444.8 MB, free: 8.031 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02682/0.4283, allocations: 6.657 MB / 451.5 MB, free: 1.355 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.185e-06/0.4284, allocations: 0 / 451.5 MB, free: 1.355 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.224e-05/0.4284, allocations: 4 kB / 451.5 MB, free: 1.352 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.0006214/0.429, allocations: 467.9 kB / 452 MB, free: 0.8516 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.4291, allocations: 11.97 kB / 452 MB, free: 0.8398 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.43e-05/0.4292, allocations: 31.67 kB / 452 MB, free: 0.8086 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.4295, allocations: 211.2 kB / 452.2 MB, free: 0.5625 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.946e-05/0.4295, allocations: 8 kB / 452.2 MB, free: 0.5547 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.462e-05/0.4295, allocations: 12 kB / 452.2 MB, free: 0.543 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004564/0.43, allocations: 208.8 kB / 452.4 MB, free: 344 kB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003581/0.4304, allocations: 174.4 kB / 452.6 MB, free: 168 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.111e-05/0.4304, allocations: 4 kB / 452.6 MB, free: 164 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.219e-05/0.4304, allocations: 4 kB / 452.6 MB, free: 160 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.129e-05/0.4305, allocations: 7.953 kB / 452.6 MB, free: 152 kB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001207/0.4317, allocations: 0.5648 MB / 453.2 MB, free: 15.54 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003612/0.4321, allocations: 94.66 kB / 453.3 MB, free: 15.44 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.733e-05/0.4322, allocations: 32.86 kB / 453.3 MB, free: 15.41 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.606e-05/0.4322, allocations: 4 kB / 453.3 MB, free: 15.4 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.86e-05/0.4322, allocations: 30.56 kB / 453.3 MB, free: 15.36 MB / 394.7 MB Notification: Performance of pre-optimization done (n=9): time 2.409e-06/0.4323, allocations: 0 / 453.3 MB, free: 15.36 MB / 394.7 MB Notification: Performance of matching and sorting (n=9): time 0.0003444/0.4326, allocations: 97.61 kB / 453.4 MB, free: 15.26 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.264e-05/0.4327, allocations: 55.41 kB / 453.5 MB, free: 15.2 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002074/0.4329, allocations: 167 kB / 453.6 MB, free: 15.02 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.949e-05/0.4329, allocations: 25.7 kB / 453.7 MB, free: 14.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001682/0.4331, allocations: 238 kB / 453.9 MB, free: 14.76 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.157e-05/0.4332, allocations: 35.64 kB / 453.9 MB, free: 14.72 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.238e-05/0.4332, allocations: 0 / 453.9 MB, free: 14.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.4334, allocations: 322.8 kB / 454.3 MB, free: 14.4 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000111/0.4335, allocations: 35.94 kB / 454.3 MB, free: 14.36 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001977/0.4337, allocations: 122.1 kB / 454.4 MB, free: 14.2 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001539/0.4339, allocations: 59.84 kB / 454.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.791e-06/0.4339, allocations: 0 / 454.5 MB, free: 14.14 MB / 394.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004461/0.4343, allocations: 173.6 kB / 454.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.496e-05/0.4344, allocations: 8 kB / 454.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.4344, allocations: 4 kB / 454.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.4344, allocations: 7.984 kB / 454.7 MB, free: 13.95 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004963/0.4349, allocations: 87.89 kB / 454.7 MB, free: 13.86 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001038/0.436, allocations: 1.223 MB / 456 MB, free: 12.59 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.4363, allocations: 23.78 kB / 456 MB, free: 12.57 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.151e-05/0.4363, allocations: 12 kB / 456 MB, free: 12.55 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.000128/0.4365, allocations: 112.9 kB / 456.1 MB, free: 12.44 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.428e-05/0.4365, allocations: 19.77 kB / 456.1 MB, free: 12.42 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004173/0.437, allocations: 143.4 kB / 456.3 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.441e-06/0.437, allocations: 3.938 kB / 456.3 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.437, allocations: 0 / 456.3 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.966e-06/0.437, allocations: 0 / 456.3 MB, free: 12.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007048/0.4377, allocations: 396.7 kB / 456.7 MB, free: 11.83 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.72e-06/0.4378, allocations: 4 kB / 456.7 MB, free: 11.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003698/0.4381, allocations: 51.97 kB / 456.7 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.866e-06/0.4382, allocations: 0 / 456.7 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.4382, allocations: 7.984 kB / 456.7 MB, free: 11.77 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009916/0.4392, allocations: 1.219 MB / 457.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.4392, allocations: 0 / 457.9 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003651/0.4396, allocations: 236.6 kB / 458.2 MB, free: 10.23 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.022e-05/0.4397, allocations: 92.94 kB / 458.3 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.854e-05/0.4397, allocations: 4 kB / 458.3 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002045/0.44, allocations: 4 kB / 458.3 MB, free: 10.12 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.386e-05/0.44, allocations: 11.98 kB / 458.3 MB, free: 10.11 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.993e-05/0.4401, allocations: 8 kB / 458.3 MB, free: 10.1 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001501/0.4402, allocations: 129.5 kB / 458.4 MB, free: 9.973 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.28e-07/0.4402, allocations: 0 / 458.4 MB, free: 9.973 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005501/0.4408, allocations: 71.75 kB / 458.5 MB, free: 9.902 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.0003878/0.4412, allocations: 194.4 kB / 458.7 MB, free: 9.707 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005588/0.4418, allocations: 120.5 kB / 458.8 MB, free: 9.59 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/0.4418, allocations: 4.312 kB / 458.8 MB, free: 9.586 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003042/0.4421, allocations: 63.84 kB / 458.9 MB, free: 9.523 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002528/0.4424, allocations: 16.56 kB / 458.9 MB, free: 9.508 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006693/0.4431, allocations: 248.8 kB / 459.1 MB, free: 9.223 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004183/0.4435, allocations: 0.7357 MB / 459.9 MB, free: 8.461 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.065e-05/0.4436, allocations: 15.44 kB / 459.9 MB, free: 8.445 MB / 394.7 MB Notification: Performance of SimCode: time 1.826e-06/0.4436, allocations: 0 / 459.9 MB, free: 8.445 MB / 394.7 MB Notification: Performance of Templates: time 0.007997/0.4516, allocations: 4.143 MB / 464 MB, free: 4.301 MB / 394.7 MB