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/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.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.2/2.2, allocations: 235.1 MB / 243 MB, free: 9.496 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.813e-05/1.817e-05, allocations: 0 / 303.2 MB, free: 13.19 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2692/0.2693, allocations: 54.86 MB / 358.1 MB, free: 14.94 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1271/0.3965, allocations: 84.95 MB / 443 MB, free: 9.867 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003006/0.3968, allocations: 91.94 kB / 443.1 MB, free: 9.777 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05047/0.4473, allocations: 11.73 MB / 454.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.09e-06/0.4474, allocations: 0 / 454.8 MB, free: 13.95 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.447e-05/0.4474, allocations: 4 kB / 454.8 MB, free: 13.95 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.0007547/0.4481, allocations: 0.4963 MB / 455.3 MB, free: 13.41 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.265e-05/0.4482, allocations: 8.031 kB / 455.3 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.86e-05/0.4483, allocations: 35.52 kB / 455.4 MB, free: 13.36 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003423/0.4486, allocations: 242.6 kB / 455.6 MB, free: 13.09 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.173e-05/0.4487, allocations: 12 kB / 455.6 MB, free: 13.07 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.855e-05/0.4487, allocations: 16 kB / 455.6 MB, free: 13.06 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000612/0.4494, allocations: 313.1 kB / 455.9 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006239/0.45, allocations: 305 kB / 456.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.45, allocations: 0 / 456.2 MB, free: 12.45 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.104e-05/0.4501, allocations: 7.953 kB / 456.2 MB, free: 12.44 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.464e-05/0.4501, allocations: 20.77 kB / 456.3 MB, free: 12.42 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001659/0.4518, allocations: 0.7448 MB / 457 MB, free: 11.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000491/0.4523, allocations: 242.3 kB / 457.2 MB, free: 11.39 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.4525, allocations: 76.81 kB / 457.3 MB, free: 11.31 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.295e-05/0.4526, allocations: 3.984 kB / 457.3 MB, free: 11.3 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.4526, allocations: 38.56 kB / 457.4 MB, free: 11.26 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 2.897e-06/0.4526, allocations: 0 / 457.4 MB, free: 11.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005416/0.4532, allocations: 200.5 kB / 457.6 MB, free: 11.06 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.304e-05/0.4532, allocations: 51.41 kB / 457.6 MB, free: 11 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000219/0.4534, allocations: 173.3 kB / 457.8 MB, free: 10.82 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.534e-05/0.4535, allocations: 29.7 kB / 457.8 MB, free: 10.79 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.4537, allocations: 238.2 kB / 458 MB, free: 10.55 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.833e-05/0.4538, allocations: 55.25 kB / 458.1 MB, free: 10.5 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.606e-05/0.4538, allocations: 0 / 458.1 MB, free: 10.5 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001689/0.454, allocations: 318.8 kB / 458.4 MB, free: 10.18 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001869/0.4542, allocations: 84.33 kB / 458.5 MB, free: 10.09 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002641/0.4545, allocations: 163.7 kB / 458.7 MB, free: 9.891 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002708/0.4547, allocations: 115.8 kB / 458.8 MB, free: 9.777 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.804e-06/0.4548, allocations: 0 / 458.8 MB, free: 9.777 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006394/0.4554, allocations: 277.3 kB / 459 MB, free: 9.5 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.4554, allocations: 8 kB / 459 MB, free: 9.492 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.4555, allocations: 4 kB / 459 MB, free: 9.488 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4555, allocations: 4 kB / 459.1 MB, free: 9.484 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007707/0.4563, allocations: 119.8 kB / 459.2 MB, free: 9.367 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002956/0.4593, allocations: 3.665 MB / 462.8 MB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002674/0.4595, allocations: 23.83 kB / 462.9 MB, free: 5.539 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.783e-05/0.4596, allocations: 11.98 kB / 462.9 MB, free: 5.527 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 () * 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.0001633/0.4598, allocations: 130.3 kB / 463 MB, free: 5.395 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.617e-05/0.4599, allocations: 15.81 kB / 463 MB, free: 5.379 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007037/0.4606, allocations: 275.3 kB / 463.3 MB, free: 5.105 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.4606, allocations: 7.984 kB / 463.3 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.536e-06/0.4606, allocations: 0 / 463.3 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.4606, allocations: 0 / 463.3 MB, free: 5.098 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004542/0.4611, allocations: 254.1 kB / 463.5 MB, free: 4.812 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.565e-06/0.4611, allocations: 4 kB / 463.5 MB, free: 4.809 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006826/0.4618, allocations: 103.8 kB / 463.6 MB, free: 4.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.4618, allocations: 3.953 kB / 463.6 MB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.626e-05/0.4619, allocations: 8 kB / 463.7 MB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002862/0.4647, allocations: 3.664 MB / 467.3 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.239e-06/0.4648, allocations: 3.984 kB / 467.3 MB, free: 0.8867 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000529/0.4653, allocations: 300.8 kB / 467.6 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.4654, allocations: 92.88 kB / 467.7 MB, free: 480 kB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.4655, allocations: 4.188 kB / 467.7 MB, free: 476 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001991/0.4657, allocations: 11.98 kB / 467.7 MB, free: 464 kB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.027e-05/0.4658, allocations: 15.92 kB / 467.7 MB, free: 448 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-05/0.4658, allocations: 11.98 kB / 467.7 MB, free: 436 kB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0001434/0.466, allocations: 132.2 kB / 467.9 MB, free: 304 kB / 394.7 MB Notification: Performance of sort global known variables: time 2.934e-06/0.466, allocations: 0 / 467.9 MB, free: 304 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005876/0.4666, allocations: 83.69 kB / 468 MB, free: 220 kB / 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 (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.0003042/0.4669, allocations: 154.3 kB / 468.1 MB, free: 56 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.2566/0.7235, allocations: 253.1 kB / 468.4 MB, free: 103.4 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.345e-06/0.7236, allocations: 1.156 kB / 468.4 MB, free: 103.4 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006969/0.7243, allocations: 144.3 kB / 468.5 MB, free: 103.4 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003089/0.7246, allocations: 18.83 kB / 468.5 MB, free: 103.4 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009737/0.7256, allocations: 384.1 kB / 468.9 MB, free: 103.3 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003299/0.726, allocations: 0.7951 MB / 469.7 MB, free: 102.6 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.41e-05/0.726, allocations: 21.53 kB / 469.7 MB, free: 102.6 MB / 394.7 MB Notification: Performance of SimCode: time 1.614e-06/0.7261, allocations: 0 / 469.7 MB, free: 102.6 MB / 394.7 MB Notification: Performance of Templates: time 0.01336/0.7394, allocations: 9.673 MB / 479.4 MB, free: 100 MB / 394.7 MB