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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadModel(ModelicaTest): time 2.146/2.146, allocations: 234.9 MB / 250.5 MB, free: 9.539 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000439/0.000439, allocations: 12 kB / 314.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2705, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1321/0.4026, allocations: 89.44 MB / 458.7 MB, free: 1.137 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.403, allocations: 95.92 kB / 458.8 MB, free: 1.043 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03067/0.4337, allocations: 7.83 MB / 466.7 MB, free: 9.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.4337, allocations: 0 / 466.7 MB, free: 9.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.389e-05/0.4337, allocations: 4 kB / 466.7 MB, free: 9.176 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0006978/0.4344, allocations: 496 kB / 467.1 MB, free: 8.645 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.4345, allocations: 8.031 kB / 467.2 MB, free: 8.637 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.513e-05/0.4346, allocations: 27.67 kB / 467.2 MB, free: 8.609 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.4348, allocations: 209.4 kB / 467.4 MB, free: 8.367 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.123e-05/0.4349, allocations: 12 kB / 467.4 MB, free: 8.355 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.232e-05/0.4349, allocations: 27.98 kB / 467.4 MB, free: 8.328 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004685/0.4354, allocations: 202.7 kB / 467.6 MB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.429e-05/0.4354, allocations: 0 / 467.6 MB, free: 8.121 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.426e-05/0.4355, allocations: 19.94 kB / 467.6 MB, free: 8.102 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.704e-05/0.4355, allocations: 7.953 kB / 467.6 MB, free: 8.094 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004061/0.4359, allocations: 152.2 kB / 467.8 MB, free: 7.945 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.437, allocations: 0.5767 MB / 468.4 MB, free: 7.32 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002454/0.4373, allocations: 66.55 kB / 468.4 MB, free: 7.246 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.819e-05/0.4373, allocations: 8.031 kB / 468.4 MB, free: 7.238 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/0.4374, allocations: 34.56 kB / 468.5 MB, free: 7.195 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.159e-06/0.4374, allocations: 0 / 468.5 MB, free: 7.195 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0006765/0.4381, allocations: 307.6 kB / 468.8 MB, free: 6.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/0.4381, allocations: 59.36 kB / 468.8 MB, free: 6.781 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003055/0.4384, allocations: 225.8 kB / 469.1 MB, free: 6.547 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.416e-05/0.4385, allocations: 29.7 kB / 469.1 MB, free: 6.512 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.4386, allocations: 214.2 kB / 469.3 MB, free: 6.301 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.135e-05/0.4387, allocations: 23.64 kB / 469.3 MB, free: 6.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.148e-05/0.4387, allocations: 4 kB / 469.3 MB, free: 6.273 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001516/0.4389, allocations: 314.8 kB / 469.6 MB, free: 5.957 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/0.439, allocations: 43.97 kB / 469.7 MB, free: 5.914 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002497/0.4393, allocations: 136.8 kB / 469.8 MB, free: 5.734 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001948/0.4395, allocations: 59.92 kB / 469.9 MB, free: 5.676 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.124e-06/0.4395, allocations: 0 / 469.9 MB, free: 5.676 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0005426/0.4401, allocations: 193.3 kB / 470.1 MB, free: 5.48 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4401, allocations: 8.438 kB / 470.1 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/0.4402, allocations: 12 kB / 470.1 MB, free: 5.461 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.4402, allocations: 11.98 kB / 470.1 MB, free: 5.449 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001696/0.4404, allocations: 27.98 kB / 470.1 MB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.4404, allocations: 11.89 kB / 470.1 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001963/0.4406, allocations: 43.58 kB / 470.2 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.425e-05/0.4407, allocations: 8 kB / 470.2 MB, free: 5.359 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 (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001485/0.4408, allocations: 125.8 kB / 470.3 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.702e-05/0.4409, allocations: 23.81 kB / 470.3 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005169/0.4414, allocations: 154.7 kB / 470.5 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.8e-06/0.4414, allocations: 0 / 470.5 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.133e-06/0.4415, allocations: 0 / 470.5 MB, free: 5.051 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.363e-06/0.4415, allocations: 3.953 kB / 470.5 MB, free: 5.047 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.4418, allocations: 225.5 kB / 470.7 MB, free: 4.777 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.662e-05/0.4419, allocations: 8.188 kB / 470.7 MB, free: 4.77 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.722e-05/0.4419, allocations: 15.98 kB / 470.7 MB, free: 4.754 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.442, allocations: 4 kB / 470.7 MB, free: 4.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.442, allocations: 4 kB / 470.7 MB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.19e-06/0.442, allocations: 0 / 470.7 MB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.651e-06/0.442, allocations: 0 / 470.7 MB, free: 4.746 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004328/0.4424, allocations: 219.2 kB / 470.9 MB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.462e-05/0.4426, allocations: 96.83 kB / 471 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.599e-05/0.4426, allocations: 0 / 471 MB, free: 4.402 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001547/0.4428, allocations: 7.984 kB / 471 MB, free: 4.395 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.129e-05/0.4428, allocations: 8 kB / 471.1 MB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.337e-05/0.4428, allocations: 4 kB / 471.1 MB, free: 4.383 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002208/0.4431, allocations: 178 kB / 471.2 MB, free: 4.211 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.24e-07/0.4431, allocations: 4 kB / 471.2 MB, free: 4.207 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005576/0.4437, allocations: 79.92 kB / 471.3 MB, free: 4.129 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004275/0.4441, allocations: 207.2 kB / 471.5 MB, free: 3.914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0005961/0.4447, allocations: 183.4 kB / 471.7 MB, free: 3.723 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.444e-06/0.4447, allocations: 0 / 471.7 MB, free: 3.723 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003015/0.445, allocations: 107.9 kB / 471.8 MB, free: 3.605 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.4453, allocations: 20.88 kB / 471.8 MB, free: 3.582 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008551/0.4462, allocations: 446.9 kB / 472.3 MB, free: 3.117 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004177/0.4466, allocations: 0.7362 MB / 473 MB, free: 2.355 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.199e-05/0.4467, allocations: 15.44 kB / 473 MB, free: 2.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.476e-06/0.4467, allocations: 4 kB / 473 MB, free: 2.336 MB / 394.7 MB Notification: Performance of Templates: time 0.246/0.6927, allocations: 4.539 MB / 477.5 MB, free: 96.41 MB / 394.7 MB