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.Channel.kc_evenGapTurbulent.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.Channel.kc_evenGapTurbulent,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|velocity.3.|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|m_flow.1.|m_flow.2.|m_flow.3.|Re_2.1.|Re_2.2.|Re_2.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent") Notification: Performance of loadModel(ModelicaTest): time 2.148/2.148, allocations: 234.9 MB / 250.5 MB, free: 9.531 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0008993/0.0008997, allocations: 8 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3278/0.3287, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1879/0.5166, allocations: 87.01 MB / 456.3 MB, free: 3.566 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000326/0.517, allocations: 95.92 kB / 456.4 MB, free: 3.473 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04038/0.5574, allocations: 9.67 MB / 466.1 MB, free: 9.734 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.65e-06/0.5574, allocations: 0 / 466.1 MB, free: 9.734 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.913e-05/0.5575, allocations: 8 kB / 466.1 MB, free: 9.727 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0009824/0.5585, allocations: 0.5256 MB / 466.6 MB, free: 9.152 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.5585, allocations: 8.031 kB / 466.6 MB, free: 9.145 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.796e-05/0.5586, allocations: 23.72 kB / 466.6 MB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003195/0.5589, allocations: 222.7 kB / 466.9 MB, free: 8.863 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.076e-05/0.559, allocations: 16 kB / 466.9 MB, free: 8.848 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.831e-05/0.559, allocations: 12 kB / 466.9 MB, free: 8.836 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007189/0.5598, allocations: 292.3 kB / 467.2 MB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.5598, allocations: 352 / 467.2 MB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.042e-05/0.5598, allocations: 7.953 kB / 467.2 MB, free: 8.523 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.589e-05/0.5599, allocations: 15.98 kB / 467.2 MB, free: 8.508 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/0.5606, allocations: 247.5 kB / 467.4 MB, free: 8.266 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00145/0.5621, allocations: 0.7773 MB / 468.2 MB, free: 7.43 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007458/0.5629, allocations: 247.7 kB / 468.5 MB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.291e-05/0.5629, allocations: 0 / 468.5 MB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.453e-05/0.563, allocations: 42.56 kB / 468.5 MB, free: 7.109 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 2.25e-06/0.563, allocations: 0 / 468.5 MB, free: 7.109 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001442/0.5644, allocations: 0.5752 MB / 469.1 MB, free: 6.473 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.123e-05/0.5645, allocations: 118.7 kB / 469.2 MB, free: 6.332 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003709/0.5649, allocations: 245.8 kB / 469.4 MB, free: 6.082 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.448e-05/0.565, allocations: 25.7 kB / 469.4 MB, free: 6.051 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.5651, allocations: 194.3 kB / 469.6 MB, free: 5.859 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.639e-05/0.5652, allocations: 51.34 kB / 469.7 MB, free: 5.809 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.462e-05/0.5652, allocations: 0 / 469.7 MB, free: 5.809 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001574/0.5654, allocations: 314.8 kB / 470 MB, free: 5.492 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003425/0.5657, allocations: 95.91 kB / 470.1 MB, free: 5.398 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003738/0.5661, allocations: 145.1 kB / 470.2 MB, free: 5.238 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.5665, allocations: 111.8 kB / 470.3 MB, free: 5.129 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.425e-06/0.5665, allocations: 4 kB / 470.3 MB, free: 5.125 MB / 394.7 MB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0009177/0.5675, allocations: 273.4 kB / 470.6 MB, free: 4.852 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.5675, allocations: 4 kB / 470.6 MB, free: 4.848 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.766e-05/0.5676, allocations: 15.92 kB / 470.6 MB, free: 4.832 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.429e-05/0.5676, allocations: 4 kB / 470.6 MB, free: 4.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002748/0.5679, allocations: 35.97 kB / 470.7 MB, free: 4.793 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.26e-05/0.5679, allocations: 7.938 kB / 470.7 MB, free: 4.785 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/0.5682, allocations: 47.69 kB / 470.7 MB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.272e-05/0.5683, allocations: 8 kB / 470.7 MB, free: 4.73 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 3 (m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002092/0.5685, allocations: 149.8 kB / 470.9 MB, free: 4.574 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001206/0.5686, allocations: 23.8 kB / 470.9 MB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006843/0.5693, allocations: 239.2 kB / 471.1 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/0.5693, allocations: 4 kB / 471.1 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.787e-06/0.5694, allocations: 0 / 471.1 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.914e-06/0.5694, allocations: 96 / 471.1 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005647/0.57, allocations: 265.4 kB / 471.4 MB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.262e-05/0.57, allocations: 15.94 kB / 471.4 MB, free: 3.98 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002384/0.5702, allocations: 39.97 kB / 471.5 MB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.992e-06/0.5703, allocations: 0 / 471.5 MB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.424e-05/0.5703, allocations: 4 kB / 471.5 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.064e-06/0.5703, allocations: 0 / 471.5 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.202e-06/0.5703, allocations: 7.984 kB / 471.5 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009436/0.5713, allocations: 0.5165 MB / 472 MB, free: 3.383 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.5714, allocations: 100.8 kB / 472.1 MB, free: 3.266 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.194e-05/0.5715, allocations: 8 kB / 472.1 MB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003561/0.5718, allocations: 27.97 kB / 472.1 MB, free: 3.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.057e-05/0.5719, allocations: 11.98 kB / 472.1 MB, free: 3.219 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.422e-05/0.572, allocations: 4 kB / 472.1 MB, free: 3.215 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002808/0.5722, allocations: 197.9 kB / 472.3 MB, free: 3.023 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.03e-07/0.5723, allocations: 4 kB / 472.3 MB, free: 3.02 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000649/0.5729, allocations: 83.92 kB / 472.4 MB, free: 2.938 MB / 394.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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004103/0.5733, allocations: 179 kB / 472.6 MB, free: 2.754 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008621/0.5742, allocations: 300.9 kB / 472.9 MB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.5742, allocations: 0 / 472.9 MB, free: 2.441 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004509/0.5747, allocations: 193.3 kB / 473.1 MB, free: 2.234 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004707/0.5752, allocations: 44.81 kB / 473.1 MB, free: 2.191 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001187/0.5764, allocations: 0.5599 MB / 473.7 MB, free: 1.594 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005024/0.5769, allocations: 0.7635 MB / 474.4 MB, free: 0.8047 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.382e-05/0.577, allocations: 23.42 kB / 474.5 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of SimCode: time 1.765e-06/0.577, allocations: 0 / 474.5 MB, free: 0.7812 MB / 394.7 MB Notification: Performance of Templates: time 0.2454/0.8225, allocations: 3.882 MB / 478.3 MB, free: 96.75 MB / 394.7 MB