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_roundTube_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.014/2.014, allocations: 209.4 MB / 217.3 MB, free: 4.176 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.655e-05/1.66e-05, allocations: 0 / 271.3 MB, free: 14.12 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3827/0.3828, allocations: 48.69 MB / 320 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1347/0.5175, allocations: 86.36 MB / 406.4 MB, free: 10.08 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003034/0.5179, allocations: 95.92 kB / 406.5 MB, free: 9.988 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04619/0.5641, allocations: 10.9 MB / 417.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.849e-06/0.5641, allocations: 0 / 417.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.634e-05/0.5642, allocations: 4 kB / 417.4 MB, free: 15.05 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008456/0.565, allocations: 0.5684 MB / 418 MB, free: 14.44 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.5651, allocations: 8.031 kB / 418 MB, free: 14.43 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.102e-05/0.5652, allocations: 39.53 kB / 418 MB, free: 14.39 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/0.5656, allocations: 246.4 kB / 418.2 MB, free: 14.11 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.973e-05/0.5656, allocations: 15.98 kB / 418.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.169e-05/0.5657, allocations: 20 kB / 418.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004917/0.5662, allocations: 225.5 kB / 418.5 MB, free: 13.85 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008168/0.567, allocations: 0.5019 MB / 419 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.035e-05/0.5671, allocations: 3.938 kB / 419 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.891e-05/0.5671, allocations: 4 kB / 419 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.712e-05/0.5672, allocations: 12 kB / 419 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003804/0.571, allocations: 3.949 MB / 423 MB, free: 9.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003843/0.5714, allocations: 86.55 kB / 423.1 MB, free: 8.965 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.403e-05/0.5715, allocations: 20.98 kB / 423.1 MB, free: 8.941 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.211e-05/0.5715, allocations: 7.938 kB / 423.1 MB, free: 8.934 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.188e-05/0.5716, allocations: 34.52 kB / 423.1 MB, free: 8.891 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.326e-06/0.5716, allocations: 0 / 423.1 MB, free: 8.891 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.000369/0.572, allocations: 93.39 kB / 423.2 MB, free: 8.793 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/0.572, allocations: 59.34 kB / 423.3 MB, free: 8.723 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003043/0.5724, allocations: 226.2 kB / 423.5 MB, free: 8.5 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.438e-05/0.5724, allocations: 25.7 kB / 423.5 MB, free: 8.469 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.5727, allocations: 317.1 kB / 423.8 MB, free: 8.156 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.5727, allocations: 35.55 kB / 423.9 MB, free: 8.121 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.334e-05/0.5727, allocations: 0 / 423.9 MB, free: 8.121 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5729, allocations: 326.8 kB / 424.2 MB, free: 7.793 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001248/0.5731, allocations: 36.64 kB / 424.2 MB, free: 7.754 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002894/0.5734, allocations: 234.1 kB / 424.4 MB, free: 7.422 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.5736, allocations: 83.97 kB / 424.5 MB, free: 7.34 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.636e-06/0.5736, allocations: 4 kB / 424.5 MB, free: 7.336 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000621/0.5742, allocations: 249.7 kB / 424.8 MB, free: 7.086 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.5743, allocations: 8.781 kB / 424.8 MB, free: 7.078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.5743, allocations: 8 kB / 424.8 MB, free: 7.07 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.5743, allocations: 11.95 kB / 424.8 MB, free: 7.059 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.5749, allocations: 111.8 kB / 424.9 MB, free: 6.949 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001057/0.576, allocations: 1.219 MB / 426.1 MB, free: 5.684 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000374/0.5764, allocations: 43.52 kB / 426.2 MB, free: 5.641 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.227e-05/0.5765, allocations: 27.95 kB / 426.2 MB, free: 5.613 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * 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.0001395/0.5766, allocations: 120.9 kB / 426.3 MB, free: 5.488 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.696e-05/0.5767, allocations: 27.72 kB / 426.3 MB, free: 5.461 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004095/0.5771, allocations: 131.5 kB / 426.5 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.09e-06/0.5771, allocations: 0 / 426.5 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5772, allocations: 0 / 426.5 MB, free: 5.324 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.966e-06/0.5772, allocations: 4 kB / 426.5 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004098/0.5776, allocations: 246.1 kB / 426.7 MB, free: 5.043 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.11e-06/0.5776, allocations: 4 kB / 426.7 MB, free: 5.039 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.578, allocations: 51.95 kB / 426.8 MB, free: 4.988 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.701e-06/0.578, allocations: 3.938 kB / 426.8 MB, free: 4.984 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.733e-05/0.578, allocations: 4 kB / 426.8 MB, free: 4.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001022/0.5791, allocations: 1.211 MB / 428 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.757e-06/0.5791, allocations: 0 / 428 MB, free: 3.723 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003377/0.5794, allocations: 195.5 kB / 428.2 MB, free: 3.516 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001137/0.5796, allocations: 96.83 kB / 428.3 MB, free: 3.402 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.599e-05/0.5796, allocations: 3.953 kB / 428.3 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.5799, allocations: 7.984 kB / 428.3 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.86e-05/0.5799, allocations: 7.984 kB / 428.3 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.58, allocations: 4 kB / 428.3 MB, free: 3.379 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002111/0.5802, allocations: 158 kB / 428.5 MB, free: 3.223 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.5802, allocations: 4 kB / 428.5 MB, free: 3.219 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008334/0.581, allocations: 127.6 kB / 428.6 MB, free: 3.094 MB / 362.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 (7): * Single equations (assignments): 5 * 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.0006098/0.5817, allocations: 272 kB / 428.8 MB, free: 2.824 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007075/0.5824, allocations: 149.7 kB / 429 MB, free: 2.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.5824, allocations: 0 / 429 MB, free: 2.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002989/0.5827, allocations: 55.91 kB / 429 MB, free: 2.625 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.583, allocations: 20.56 kB / 429.1 MB, free: 2.602 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008148/0.5839, allocations: 307.6 kB / 429.4 MB, free: 2.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004942/0.5844, allocations: 0.775 MB / 430.1 MB, free: 1.469 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.815e-05/0.5845, allocations: 23.44 kB / 430.2 MB, free: 1.445 MB / 362.7 MB Notification: Performance of SimCode: time 1.79e-06/0.5845, allocations: 0 / 430.2 MB, free: 1.445 MB / 362.7 MB Notification: Performance of Templates: time 0.01232/0.5968, allocations: 6.437 MB / 436.6 MB, free: 11 MB / 378.7 MB