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/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,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.422/2.422, allocations: 235.1 MB / 243 MB, free: 9.492 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.626e-05/1.641e-05, allocations: 0 / 303.2 MB, free: 13.18 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2731/0.2732, allocations: 54.86 MB / 358.1 MB, free: 14.93 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1397/0.413, allocations: 88.69 MB / 446.8 MB, free: 6.109 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003079/0.4133, allocations: 91.94 kB / 446.8 MB, free: 6.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03035/0.4437, allocations: 7.664 MB / 454.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.171e-06/0.4437, allocations: 0 / 454.5 MB, free: 14.33 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.681e-05/0.4438, allocations: 4 kB / 454.5 MB, free: 14.33 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.0006751/0.4444, allocations: 465.8 kB / 455 MB, free: 13.83 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/0.4445, allocations: 12.03 kB / 455 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.142e-05/0.4446, allocations: 27.61 kB / 455 MB, free: 13.79 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002603/0.4449, allocations: 211.2 kB / 455.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.4449, allocations: 8 kB / 455.2 MB, free: 13.54 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.929e-05/0.4449, allocations: 8 kB / 455.2 MB, free: 13.53 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002571/0.4452, allocations: 108.3 kB / 455.3 MB, free: 13.42 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003091/0.4455, allocations: 158.8 kB / 455.5 MB, free: 13.26 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.4456, allocations: 11.94 kB / 455.5 MB, free: 13.25 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.951e-05/0.4456, allocations: 7.891 kB / 455.5 MB, free: 13.24 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.981e-06/0.4456, allocations: 4 kB / 455.5 MB, free: 13.23 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009871/0.4466, allocations: 0.5068 MB / 456 MB, free: 12.69 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.4468, allocations: 58.56 kB / 456.1 MB, free: 12.62 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.182e-05/0.4468, allocations: 20.91 kB / 456.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.812e-05/0.4469, allocations: 0 / 456.1 MB, free: 12.6 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.106e-05/0.4469, allocations: 34.56 kB / 456.1 MB, free: 12.56 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 2.187e-06/0.4469, allocations: 0 / 456.1 MB, free: 12.56 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.0002618/0.4472, allocations: 69.55 kB / 456.2 MB, free: 12.48 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.4473, allocations: 59.34 kB / 456.3 MB, free: 12.41 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.4475, allocations: 151.1 kB / 456.4 MB, free: 12.26 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.4475, allocations: 29.7 kB / 456.4 MB, free: 12.23 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001617/0.4477, allocations: 237.9 kB / 456.7 MB, free: 11.99 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.727e-05/0.4477, allocations: 19.66 kB / 456.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.859e-06/0.4477, allocations: 0 / 456.7 MB, free: 11.97 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4479, allocations: 326.8 kB / 457 MB, free: 11.64 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.13e-05/0.448, allocations: 20 kB / 457 MB, free: 11.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001511/0.4482, allocations: 110.6 kB / 457.1 MB, free: 11.47 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.4483, allocations: 43.92 kB / 457.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.489e-06/0.4483, allocations: 0 / 457.2 MB, free: 11.43 MB / 394.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0003575/0.4487, allocations: 141.5 kB / 457.3 MB, free: 11.28 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.161e-05/0.4487, allocations: 8 kB / 457.3 MB, free: 11.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.841e-05/0.4487, allocations: 15.98 kB / 457.3 MB, free: 11.26 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.4488, allocations: 4 kB / 457.3 MB, free: 11.25 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001704/0.449, allocations: 31.92 kB / 457.4 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.52e-06/0.449, allocations: 4 kB / 457.4 MB, free: 11.22 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001762/0.4492, allocations: 36.06 kB / 457.4 MB, free: 11.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/0.4492, allocations: 15.94 kB / 457.4 MB, free: 11.17 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 (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.0001029/0.4493, allocations: 112.9 kB / 457.5 MB, free: 11.05 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.178e-05/0.4494, allocations: 11.91 kB / 457.5 MB, free: 11.04 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003318/0.4497, allocations: 111.1 kB / 457.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.796e-06/0.4498, allocations: 7.875 kB / 457.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.304e-06/0.4498, allocations: 0 / 457.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.059e-06/0.4498, allocations: 0 / 457.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/0.4501, allocations: 202.1 kB / 457.9 MB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/0.4501, allocations: 11.98 kB / 457.9 MB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.438e-05/0.4502, allocations: 8 kB / 457.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.541e-06/0.4502, allocations: 4 kB / 457.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.4503, allocations: 0 / 457.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.18e-06/0.4503, allocations: 0 / 457.9 MB, free: 10.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.396e-06/0.4503, allocations: 4 kB / 457.9 MB, free: 10.65 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.4506, allocations: 179.3 kB / 458.1 MB, free: 10.46 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.303e-05/0.4506, allocations: 81.02 kB / 458.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.751e-05/0.4507, allocations: 4 kB / 458.1 MB, free: 10.36 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.4508, allocations: 11.98 kB / 458.2 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.4509, allocations: 4 kB / 458.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.4509, allocations: 4 kB / 458.2 MB, free: 10.34 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001218/0.451, allocations: 127.1 kB / 458.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.15e-07/0.4511, allocations: 0 / 458.3 MB, free: 10.21 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005585/0.4516, allocations: 83.78 kB / 458.4 MB, free: 10.13 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 (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.0004417/0.4521, allocations: 218.4 kB / 458.6 MB, free: 9.914 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0003857/0.4525, allocations: 135.2 kB / 458.7 MB, free: 9.77 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.4525, allocations: 0 / 458.7 MB, free: 9.77 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002174/0.4527, allocations: 92.48 kB / 458.8 MB, free: 9.668 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002307/0.453, allocations: 15.81 kB / 458.8 MB, free: 9.652 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005899/0.4536, allocations: 227 kB / 459 MB, free: 9.402 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.454, allocations: 0.7357 MB / 459.8 MB, free: 8.641 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.666e-05/0.4541, allocations: 15.44 kB / 459.8 MB, free: 8.625 MB / 394.7 MB Notification: Performance of SimCode: time 1.662e-06/0.4541, allocations: 0 / 459.8 MB, free: 8.625 MB / 394.7 MB Notification: Performance of Templates: time 0.008423/0.4625, allocations: 4.251 MB / 464 MB, free: 4.367 MB / 394.7 MB