Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.316/2.316, allocations: 234.9 MB / 251.1 MB, free: 9.477 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004265, allocations: 12 kB / 315 MB, free: 9.504 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3386/0.3391, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1687/0.5078, allocations: 93.72 MB / 463.5 MB, free: 12.88 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004015/0.5083, allocations: 103.9 kB / 463.6 MB, free: 12.77 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07171/0.58, allocations: 11.26 MB / 474.9 MB, free: 1.457 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.786e-06/0.5801, allocations: 0 / 474.9 MB, free: 1.457 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.134e-05/0.5801, allocations: 4 kB / 474.9 MB, free: 1.453 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.001356/0.5815, allocations: 0.6003 MB / 475.5 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/0.5816, allocations: 8.031 kB / 475.5 MB, free: 0.7969 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.5817, allocations: 43.52 kB / 475.6 MB, free: 0.7539 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005037/0.5823, allocations: 238.5 kB / 475.8 MB, free: 492 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.536e-05/0.5823, allocations: 28.94 kB / 475.8 MB, free: 464 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.477e-05/0.5824, allocations: 32 kB / 475.9 MB, free: 432 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2952/0.8777, allocations: 0.5725 MB / 476.4 MB, free: 94.12 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.157e-05/0.8778, allocations: 5.625 kB / 476.4 MB, free: 94.12 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.592e-05/0.8779, allocations: 17.84 kB / 476.4 MB, free: 94.12 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.8779, allocations: 11.61 kB / 476.5 MB, free: 94.12 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001158/0.8791, allocations: 345.5 kB / 476.8 MB, free: 94.12 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003048/0.8822, allocations: 4.045 MB / 480.8 MB, free: 90.48 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006459/0.8829, allocations: 107.3 kB / 480.9 MB, free: 90.46 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/0.8829, allocations: 5.859 kB / 481 MB, free: 90.46 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.329e-05/0.883, allocations: 32.8 kB / 481 MB, free: 90.42 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 2.455e-06/0.883, allocations: 0 / 481 MB, free: 90.42 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.001058/0.8841, allocations: 180.3 kB / 481.2 MB, free: 90.37 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.335e-05/0.8841, allocations: 56.64 kB / 481.2 MB, free: 90.3 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009217/0.8851, allocations: 409.9 kB / 481.6 MB, free: 90.18 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.8851, allocations: 29.64 kB / 481.6 MB, free: 90.15 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001694/0.8853, allocations: 294.6 kB / 481.9 MB, free: 89.95 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.142e-05/0.8854, allocations: 28.17 kB / 482 MB, free: 89.93 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.871e-05/0.8854, allocations: 11.38 kB / 482 MB, free: 89.93 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 7.079e-05/0.8855, allocations: 323.6 kB / 482.3 MB, free: 89.62 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003281/0.8858, allocations: 59.12 kB / 482.3 MB, free: 89.62 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003815/0.8862, allocations: 266.2 kB / 482.6 MB, free: 89.35 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003649/0.8866, allocations: 101.8 kB / 482.7 MB, free: 89.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.325e-06/0.8866, allocations: 2.125 kB / 482.7 MB, free: 89.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0009959/0.8876, allocations: 330.2 kB / 483 MB, free: 89.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.02e-05/0.8877, allocations: 11.95 kB / 483 MB, free: 89.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.644e-05/0.8877, allocations: 6.781 kB / 483 MB, free: 89.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.398e-05/0.8878, allocations: 11.95 kB / 483.1 MB, free: 89.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007398/0.8885, allocations: 116 kB / 483.2 MB, free: 89.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007165/0.8893, allocations: 1.22 MB / 484.4 MB, free: 88.08 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005604/0.8898, allocations: 67.7 kB / 484.5 MB, free: 88.06 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.8899, allocations: 21.23 kB / 484.5 MB, free: 88.06 MB / 394.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 () * Number of clocked 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.0002117/0.8901, allocations: 155.1 kB / 484.6 MB, free: 87.94 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.058e-05/0.8902, allocations: 34.81 kB / 484.7 MB, free: 87.92 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007663/0.891, allocations: 183.8 kB / 484.8 MB, free: 87.86 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.961e-06/0.891, allocations: 2.406 kB / 484.8 MB, free: 87.86 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/0.891, allocations: 0 / 484.8 MB, free: 87.86 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.94e-06/0.8911, allocations: 4.078 kB / 484.9 MB, free: 87.86 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004571/0.8915, allocations: 276.4 kB / 485.1 MB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.657e-06/0.8915, allocations: 5.719 kB / 485.1 MB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000468/0.892, allocations: 54.28 kB / 485.2 MB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.892, allocations: 0 / 485.2 MB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.088e-05/0.8921, allocations: 7.016 kB / 485.2 MB, free: 87.67 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006229/0.8927, allocations: 1.204 MB / 486.4 MB, free: 86.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.8927, allocations: 2.938 kB / 486.4 MB, free: 86.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005925/0.8933, allocations: 246.4 kB / 486.6 MB, free: 86.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.8935, allocations: 108.5 kB / 486.7 MB, free: 86.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.189e-05/0.8936, allocations: 5.953 kB / 486.7 MB, free: 86.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003215/0.8939, allocations: 12.05 kB / 486.8 MB, free: 86.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.758e-05/0.894, allocations: 10.3 kB / 486.8 MB, free: 86.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.845e-05/0.894, allocations: 4.844 kB / 486.8 MB, free: 86.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004415/0.8945, allocations: 274.2 kB / 487 MB, free: 86.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.8945, allocations: 0 / 487 MB, free: 86.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009266/0.8954, allocations: 128.4 kB / 487.2 MB, free: 86.14 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 (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.0007061/0.8961, allocations: 260.3 kB / 487.4 MB, free: 86.04 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001107/0.8973, allocations: 216.1 kB / 487.6 MB, free: 86.01 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8973, allocations: 4 kB / 487.6 MB, free: 86.01 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005326/0.8978, allocations: 84.78 kB / 487.7 MB, free: 86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004672/0.8983, allocations: 40.53 kB / 487.8 MB, free: 86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001291/0.8996, allocations: 0.5998 MB / 488.4 MB, free: 85.64 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.8999, allocations: 0.7802 MB / 489.1 MB, free: 84.94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000121/0.9001, allocations: 24.72 kB / 489.2 MB, free: 84.93 MB / 394.7 MB Notification: Performance of SimCode: time 1.142e-06/0.9001, allocations: 0 / 489.2 MB, free: 84.93 MB / 394.7 MB Notification: Performance of Templates: time 0.01428/0.9144, allocations: 7.024 MB / 496.2 MB, free: 84.48 MB / 394.7 MB