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.StraightPipe.kc_turbulent_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.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.361/2.361, allocations: 234.9 MB / 251.1 MB, free: 10.67 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004197/0.0004199, allocations: 8 kB / 315 MB, free: 10.71 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3446/0.3451, allocations: 54.88 MB / 369.8 MB, free: 10.89 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1587/0.5038, allocations: 85.68 MB / 455.5 MB, free: 5.082 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003921/0.5043, allocations: 107.9 kB / 455.6 MB, free: 4.977 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05714/0.5614, allocations: 11.83 MB / 467.5 MB, free: 9.051 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5615, allocations: 0 / 467.5 MB, free: 9.051 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.828e-05/0.5615, allocations: 8 kB / 467.5 MB, free: 9.043 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.001031/0.5625, allocations: 0.507 MB / 468 MB, free: 8.488 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.516e-05/0.5626, allocations: 8.031 kB / 468 MB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.125e-05/0.5627, allocations: 31.67 kB / 468 MB, free: 8.449 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003903/0.5631, allocations: 239.3 kB / 468.2 MB, free: 8.176 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.391e-05/0.5631, allocations: 20.56 kB / 468.3 MB, free: 8.156 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.067e-05/0.5632, allocations: 24 kB / 468.3 MB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/0.5642, allocations: 373.2 kB / 468.6 MB, free: 7.758 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.5643, allocations: 3.938 kB / 468.7 MB, free: 7.754 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.913e-05/0.5643, allocations: 8 kB / 468.7 MB, free: 7.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.895e-05/0.5644, allocations: 24.59 kB / 468.7 MB, free: 7.723 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001109/0.5655, allocations: 386.3 kB / 469.1 MB, free: 7.344 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00212/0.5677, allocations: 0.8386 MB / 469.9 MB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008216/0.5685, allocations: 272.2 kB / 470.2 MB, free: 6.184 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.5686, allocations: 4 kB / 470.2 MB, free: 6.18 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.155e-05/0.5686, allocations: 38.55 kB / 470.2 MB, free: 6.133 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 5.019e-06/0.5686, allocations: 0 / 470.2 MB, free: 6.133 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.001318/0.57, allocations: 349 kB / 470.5 MB, free: 5.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.855e-05/0.57, allocations: 55.41 kB / 470.6 MB, free: 5.719 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005782/0.5706, allocations: 338.9 kB / 470.9 MB, free: 5.379 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.123e-05/0.5707, allocations: 29.7 kB / 471 MB, free: 5.344 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001809/0.5709, allocations: 222.4 kB / 471.2 MB, free: 5.125 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.465e-05/0.571, allocations: 59.19 kB / 471.2 MB, free: 5.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.543e-05/0.571, allocations: 8 kB / 471.2 MB, free: 5.059 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001544/0.5712, allocations: 326.8 kB / 471.6 MB, free: 4.73 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.5716, allocations: 96.38 kB / 471.7 MB, free: 4.633 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004636/0.572, allocations: 196 kB / 471.8 MB, free: 4.402 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000449/0.5725, allocations: 133.7 kB / 472 MB, free: 4.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.707e-06/0.5725, allocations: 0 / 472 MB, free: 4.273 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001099/0.5736, allocations: 337.4 kB / 472.3 MB, free: 3.938 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.52e-05/0.5737, allocations: 4 kB / 472.3 MB, free: 3.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/0.5737, allocations: 7.938 kB / 472.3 MB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.359e-05/0.5737, allocations: 4 kB / 472.3 MB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00107/0.5748, allocations: 127.8 kB / 472.4 MB, free: 3.797 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002818/0.5777, allocations: 3.645 MB / 476.1 MB, free: 12 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3215/0.8992, allocations: 37.84 kB / 476.1 MB, free: 99.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.839e-05/0.8993, allocations: 13.78 kB / 476.1 MB, free: 99.14 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.0003431/0.8997, allocations: 178.5 kB / 476.3 MB, free: 99.02 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.552e-05/0.8998, allocations: 23.12 kB / 476.3 MB, free: 99.02 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001346/0.9012, allocations: 332.3 kB / 476.7 MB, free: 98.97 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.297e-06/0.9012, allocations: 2.578 kB / 476.7 MB, free: 98.97 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.653e-06/0.9012, allocations: 0.5938 kB / 476.7 MB, free: 98.97 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.923e-06/0.9012, allocations: 4.312 kB / 476.7 MB, free: 98.97 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006518/0.9019, allocations: 298.1 kB / 477 MB, free: 98.78 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/0.9019, allocations: 1.5 kB / 477 MB, free: 98.78 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009372/0.9029, allocations: 108.4 kB / 477.1 MB, free: 98.78 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.773e-06/0.9029, allocations: 0 / 477.1 MB, free: 98.78 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.984e-05/0.9029, allocations: 7.156 kB / 477.1 MB, free: 98.78 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001884/0.9048, allocations: 3.654 MB / 480.7 MB, free: 95.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.461e-06/0.9049, allocations: 1.25 kB / 480.7 MB, free: 95.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.906, allocations: 362 kB / 481.1 MB, free: 95.14 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001208/0.9061, allocations: 103.1 kB / 481.2 MB, free: 95.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.611e-05/0.9062, allocations: 4.078 kB / 481.2 MB, free: 95.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.9065, allocations: 18.7 kB / 481.2 MB, free: 95.04 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.076e-05/0.9066, allocations: 17.19 kB / 481.2 MB, free: 95.04 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.171e-05/0.9066, allocations: 7.984 kB / 481.2 MB, free: 95.04 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004032/0.907, allocations: 243.8 kB / 481.5 MB, free: 94.95 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.9071, allocations: 0 / 481.5 MB, free: 94.95 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000568/0.9076, allocations: 81.36 kB / 481.6 MB, free: 94.95 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.0003283/0.908, allocations: 154.4 kB / 481.7 MB, free: 94.86 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001629/0.9096, allocations: 331 kB / 482 MB, free: 94.86 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.9097, allocations: 0 / 482 MB, free: 94.86 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001081/0.9107, allocations: 194.9 kB / 482.2 MB, free: 94.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005497/0.9113, allocations: 60.94 kB / 482.3 MB, free: 94.86 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00145/0.9128, allocations: 0.657 MB / 482.9 MB, free: 94.55 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003172/0.9131, allocations: 0.7924 MB / 483.7 MB, free: 93.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.9133, allocations: 25.86 kB / 483.8 MB, free: 93.84 MB / 394.7 MB Notification: Performance of SimCode: time 1.163e-06/0.9133, allocations: 0 / 483.8 MB, free: 93.84 MB / 394.7 MB Notification: Performance of Templates: time 0.01835/0.9317, allocations: 10.58 MB / 494.3 MB, free: 89.17 MB / 394.7 MB