Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.006/2.006, allocations: 209.3 MB / 224.8 MB, free: 1.207 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000434/0.000434, allocations: 8 kB / 282.6 MB, free: 9.695 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08706/0.08752, allocations: 48.71 MB / 331.3 MB, free: 8.898 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3465/0.4341, allocations: 81.07 MB / 412.4 MB, free: 4.07 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005112/0.4346, allocations: 91.94 kB / 412.5 MB, free: 3.98 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03333/0.468, allocations: 6.779 MB / 419.2 MB, free: 13.2 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.3e-06/0.4681, allocations: 4 kB / 419.2 MB, free: 13.19 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.578e-05/0.4681, allocations: 4 kB / 419.2 MB, free: 13.19 MB / 346.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.0006711/0.4688, allocations: 486.9 kB / 419.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.4688, allocations: 8.031 kB / 419.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.983e-05/0.4689, allocations: 27.62 kB / 419.8 MB, free: 12.63 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.4692, allocations: 206.7 kB / 420 MB, free: 12.39 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.4692, allocations: 16.44 kB / 420 MB, free: 12.37 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.347e-05/0.4693, allocations: 20 kB / 420 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005365/0.4698, allocations: 235.2 kB / 420.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.234e-05/0.4699, allocations: 0 / 420.2 MB, free: 12.12 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.905e-05/0.4699, allocations: 11.94 kB / 420.2 MB, free: 12.11 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.4699, allocations: 8 kB / 420.2 MB, free: 12.1 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000597/0.4705, allocations: 257.6 kB / 420.5 MB, free: 11.85 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001286/0.4718, allocations: 0.6235 MB / 421.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004871/0.4723, allocations: 118.6 kB / 421.2 MB, free: 11.05 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.044e-05/0.4724, allocations: 4.062 kB / 421.2 MB, free: 11.04 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.4724, allocations: 30.56 kB / 421.3 MB, free: 11 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 2.959e-06/0.4724, allocations: 0 / 421.3 MB, free: 11 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0007092/0.4732, allocations: 181.5 kB / 421.4 MB, free: 10.82 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.4732, allocations: 55.41 kB / 421.5 MB, free: 10.75 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003311/0.4736, allocations: 234.1 kB / 421.7 MB, free: 10.52 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.99e-05/0.4736, allocations: 33.7 kB / 421.8 MB, free: 10.48 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.4738, allocations: 221.8 kB / 422 MB, free: 10.26 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.203e-05/0.4739, allocations: 35.48 kB / 422 MB, free: 10.23 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.68e-05/0.4739, allocations: 8 kB / 422 MB, free: 10.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4741, allocations: 318.8 kB / 422.3 MB, free: 9.898 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002079/0.4743, allocations: 47.97 kB / 422.4 MB, free: 9.852 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002928/0.4746, allocations: 158.7 kB / 422.5 MB, free: 9.652 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002591/0.4749, allocations: 73.11 kB / 422.6 MB, free: 9.582 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.369e-06/0.4749, allocations: 7.953 kB / 422.6 MB, free: 9.574 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0006637/0.4756, allocations: 229.3 kB / 422.8 MB, free: 9.344 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.4756, allocations: 8 kB / 422.8 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.244e-05/0.4756, allocations: 7.984 kB / 422.8 MB, free: 9.328 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.4757, allocations: 4 kB / 422.9 MB, free: 9.324 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004945/0.4762, allocations: 88.2 kB / 422.9 MB, free: 9.238 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001042/0.4772, allocations: 1.223 MB / 424.2 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002814/0.4775, allocations: 31.69 kB / 424.2 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.138e-05/0.4776, allocations: 20.17 kB / 424.2 MB, free: 7.918 MB / 346.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.0001806/0.4778, allocations: 133.2 kB / 424.3 MB, free: 7.781 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.97e-05/0.4779, allocations: 27.7 kB / 424.4 MB, free: 7.754 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006097/0.4785, allocations: 183.5 kB / 424.5 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.559e-06/0.4785, allocations: 7.953 kB / 424.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.416e-06/0.4785, allocations: 0 / 424.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.199e-06/0.4785, allocations: 0 / 424.6 MB, free: 7.562 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009304/0.4795, allocations: 456 kB / 425 MB, free: 7.055 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.509e-06/0.4795, allocations: 4 kB / 425 MB, free: 7.051 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003802/0.4799, allocations: 71.97 kB / 425.1 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.538e-06/0.4799, allocations: 0 / 425.1 MB, free: 6.98 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.02e-05/0.4799, allocations: 4 kB / 425.1 MB, free: 6.977 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009825/0.4809, allocations: 1.203 MB / 426.3 MB, free: 5.727 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/0.481, allocations: 8.141 kB / 426.3 MB, free: 5.719 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005512/0.4815, allocations: 280.3 kB / 426.6 MB, free: 5.41 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.4816, allocations: 100.7 kB / 426.7 MB, free: 5.293 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.475e-05/0.4817, allocations: 4 kB / 426.7 MB, free: 5.289 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.4819, allocations: 15.98 kB / 426.7 MB, free: 5.273 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.845e-05/0.482, allocations: 11.92 kB / 426.7 MB, free: 5.262 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.834e-05/0.482, allocations: 4 kB / 426.7 MB, free: 5.258 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0002455/0.4823, allocations: 186 kB / 426.9 MB, free: 5.074 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.98e-07/0.4823, allocations: 0 / 426.9 MB, free: 5.074 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005612/0.4829, allocations: 68 kB / 426.9 MB, free: 5.008 MB / 346.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.0003741/0.4833, allocations: 187.2 kB / 427.1 MB, free: 4.812 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0007207/0.484, allocations: 171.7 kB / 427.3 MB, free: 4.645 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.966e-06/0.484, allocations: 0 / 427.3 MB, free: 4.645 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003948/0.4844, allocations: 80.83 kB / 427.4 MB, free: 4.566 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002953/0.4847, allocations: 28.88 kB / 427.4 MB, free: 4.535 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001004/0.4858, allocations: 483.3 kB / 427.9 MB, free: 4.023 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004358/0.4862, allocations: 0.7443 MB / 428.6 MB, free: 3.254 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.4863, allocations: 23.44 kB / 428.6 MB, free: 3.23 MB / 346.7 MB Notification: Performance of SimCode: time 1.562e-06/0.4863, allocations: 0 / 428.6 MB, free: 3.23 MB / 346.7 MB Notification: Performance of Templates: time 0.00856/0.4949, allocations: 4.435 MB / 433.1 MB, free: 14.8 MB / 362.7 MB