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.StraightPipe.kc_turbulent_KC.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.StraightPipe.kc_turbulent_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 2.159/2.159, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004466/0.0004467, allocations: 12 kB / 314.4 MB, free: 9.531 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2727, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.126/0.3987, allocations: 85.69 MB / 455 MB, free: 4.887 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.3991, allocations: 103.9 kB / 455.1 MB, free: 4.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05054/0.4497, allocations: 11.84 MB / 466.9 MB, free: 8.848 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.4497, allocations: 0 / 466.9 MB, free: 8.848 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.508e-05/0.4497, allocations: 4 kB / 466.9 MB, free: 8.844 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007795/0.4505, allocations: 0.5084 MB / 467.4 MB, free: 8.289 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.4506, allocations: 8.031 kB / 467.4 MB, free: 8.281 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.656e-05/0.4507, allocations: 35.67 kB / 467.5 MB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003152/0.451, allocations: 226.7 kB / 467.7 MB, free: 7.984 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.152e-05/0.451, allocations: 24.55 kB / 467.7 MB, free: 7.961 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.816e-05/0.4511, allocations: 27.94 kB / 467.8 MB, free: 7.934 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007855/0.4519, allocations: 365.2 kB / 468.1 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.4519, allocations: 0 / 468.1 MB, free: 7.566 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.819e-05/0.452, allocations: 12 kB / 468.1 MB, free: 7.555 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.043e-05/0.452, allocations: 24.61 kB / 468.1 MB, free: 7.531 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008298/0.4529, allocations: 378.3 kB / 468.5 MB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001714/0.4546, allocations: 0.8581 MB / 469.4 MB, free: 6.254 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006356/0.4553, allocations: 269.6 kB / 469.6 MB, free: 5.984 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.225e-05/0.4553, allocations: 3.984 kB / 469.6 MB, free: 5.98 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.4554, allocations: 38.56 kB / 469.7 MB, free: 5.934 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 2.266e-06/0.4554, allocations: 0 / 469.7 MB, free: 5.934 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0009827/0.4564, allocations: 349.4 kB / 470 MB, free: 5.586 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.585e-05/0.4564, allocations: 59.34 kB / 470.1 MB, free: 5.516 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004316/0.4569, allocations: 302.1 kB / 470.4 MB, free: 5.211 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.424e-05/0.4569, allocations: 29.7 kB / 470.4 MB, free: 5.176 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001633/0.4571, allocations: 218.4 kB / 470.6 MB, free: 4.961 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.838e-05/0.4572, allocations: 55.2 kB / 470.7 MB, free: 4.906 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.881e-05/0.4572, allocations: 4 kB / 470.7 MB, free: 4.902 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.4574, allocations: 322.8 kB / 471 MB, free: 4.578 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000291/0.4577, allocations: 108.4 kB / 471.1 MB, free: 4.469 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003647/0.4581, allocations: 191.9 kB / 471.3 MB, free: 4.242 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003422/0.4584, allocations: 131.8 kB / 471.4 MB, free: 4.113 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.868e-06/0.4584, allocations: 4 kB / 471.4 MB, free: 4.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0008403/0.4593, allocations: 335.2 kB / 471.7 MB, free: 3.777 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.963e-05/0.4593, allocations: 8 kB / 471.7 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.429e-06/0.4593, allocations: 0 / 471.7 MB, free: 3.77 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.707e-05/0.4594, allocations: 8 kB / 471.8 MB, free: 3.762 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007681/0.4601, allocations: 128.2 kB / 471.9 MB, free: 3.637 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2422/0.7024, allocations: 3.648 MB / 475.5 MB, free: 98.44 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003739/0.7028, allocations: 38.73 kB / 475.6 MB, free: 98.44 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.654e-05/0.7029, allocations: 16.5 kB / 475.6 MB, free: 98.44 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002541/0.7031, allocations: 175.4 kB / 475.8 MB, free: 98.32 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.641e-05/0.7032, allocations: 26.12 kB / 475.8 MB, free: 98.32 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.7043, allocations: 336.7 kB / 476.1 MB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.742e-06/0.7043, allocations: 5.312 kB / 476.1 MB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.217e-06/0.7043, allocations: 1.172 kB / 476.1 MB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.78e-06/0.7043, allocations: 3.594 kB / 476.1 MB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004688/0.7048, allocations: 291.5 kB / 476.4 MB, free: 98.08 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.136e-06/0.7048, allocations: 0.5 kB / 476.4 MB, free: 98.08 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007787/0.7056, allocations: 107.7 kB / 476.5 MB, free: 98.08 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.952e-06/0.7057, allocations: 1.094 kB / 476.5 MB, free: 98.08 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.807e-05/0.7057, allocations: 6.219 kB / 476.5 MB, free: 98.08 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001668/0.7074, allocations: 3.654 MB / 480.2 MB, free: 94.58 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.681e-06/0.7074, allocations: 0 / 480.2 MB, free: 94.58 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006919/0.7081, allocations: 358.5 kB / 480.5 MB, free: 94.44 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.388e-05/0.7082, allocations: 101.9 kB / 480.6 MB, free: 94.34 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.786e-05/0.7083, allocations: 10.69 kB / 480.6 MB, free: 94.33 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.7085, allocations: 10.92 kB / 480.6 MB, free: 94.33 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.7086, allocations: 17.39 kB / 480.7 MB, free: 94.33 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.7086, allocations: 8.891 kB / 480.7 MB, free: 94.33 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003125/0.709, allocations: 242.9 kB / 480.9 MB, free: 94.25 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.63e-07/0.709, allocations: 3.312 kB / 480.9 MB, free: 94.25 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005594/0.7095, allocations: 81.92 kB / 481 MB, free: 94.24 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 (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002653/0.7098, allocations: 155.9 kB / 481.1 MB, free: 94.16 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00114/0.711, allocations: 302.7 kB / 481.4 MB, free: 94.16 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.31e-06/0.711, allocations: 3.438 kB / 481.4 MB, free: 94.16 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007371/0.7117, allocations: 173.4 kB / 481.6 MB, free: 94.16 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.7122, allocations: 69.09 kB / 481.7 MB, free: 94.15 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.7134, allocations: 0.6489 MB / 482.3 MB, free: 93.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002868/0.7137, allocations: 0.7968 MB / 483.1 MB, free: 93.14 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.807e-05/0.7138, allocations: 24.55 kB / 483.1 MB, free: 93.13 MB / 394.7 MB Notification: Performance of SimCode: time 1.428e-06/0.7138, allocations: 0 / 483.1 MB, free: 93.13 MB / 394.7 MB Notification: Performance of Templates: time 0.01375/0.7275, allocations: 10.57 MB / 493.7 MB, free: 88.66 MB / 394.7 MB