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.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,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.23/2.23, allocations: 234.9 MB / 250.5 MB, free: 9.457 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004285/0.0004286, allocations: 12 kB / 314.4 MB, free: 9.438 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2736/0.2741, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1294/0.4035, allocations: 87.66 MB / 457 MB, free: 2.922 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000318/0.4039, allocations: 99.86 kB / 457 MB, free: 2.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05708/0.461, allocations: 13.34 MB / 470.4 MB, free: 5.379 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.529e-06/0.461, allocations: 4 kB / 470.4 MB, free: 5.375 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.899e-05/0.4611, allocations: 4 kB / 470.4 MB, free: 5.371 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001027/0.4621, allocations: 0.5767 MB / 471 MB, free: 4.746 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.4622, allocations: 12.03 kB / 471 MB, free: 4.734 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.812e-05/0.4622, allocations: 31.62 kB / 471 MB, free: 4.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003668/0.4626, allocations: 250.5 kB / 471.3 MB, free: 4.418 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.871e-05/0.4627, allocations: 20.56 kB / 471.3 MB, free: 4.398 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.972e-05/0.4627, allocations: 24 kB / 471.3 MB, free: 4.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009979/0.4638, allocations: 445.8 kB / 471.7 MB, free: 3.918 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.4638, allocations: 3.938 kB / 471.7 MB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.336e-05/0.4638, allocations: 15.95 kB / 471.8 MB, free: 3.898 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.91e-05/0.4639, allocations: 16.55 kB / 471.8 MB, free: 3.883 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009496/0.4648, allocations: 349.9 kB / 472.1 MB, free: 3.539 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001998/0.4669, allocations: 1.112 MB / 473.2 MB, free: 2.363 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000682/0.4676, allocations: 259.6 kB / 473.5 MB, free: 2.082 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.239e-05/0.4676, allocations: 7.984 kB / 473.5 MB, free: 2.074 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.524e-05/0.4677, allocations: 34.56 kB / 473.5 MB, free: 2.031 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 4.112e-06/0.4677, allocations: 0 / 473.5 MB, free: 2.031 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001551/0.4693, allocations: 0.6257 MB / 474.1 MB, free: 1.344 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.073e-05/0.4693, allocations: 102.8 kB / 474.2 MB, free: 1.219 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005724/0.4699, allocations: 360.7 kB / 474.6 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.546e-05/0.47, allocations: 33.77 kB / 474.6 MB, free: 0.8164 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001858/0.4702, allocations: 242.2 kB / 474.9 MB, free: 0.5781 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.291e-05/0.4703, allocations: 47.36 kB / 474.9 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.4703, allocations: 96 / 474.9 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001637/0.4705, allocations: 330.8 kB / 475.2 MB, free: 204 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004161/0.4709, allocations: 128.1 kB / 475.4 MB, free: 72 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2429/0.7138, allocations: 240.6 kB / 475.6 MB, free: 97.05 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005689/0.7144, allocations: 160.1 kB / 475.8 MB, free: 97.05 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.755e-06/0.7144, allocations: 1.703 kB / 475.8 MB, free: 97.05 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.00133/0.7158, allocations: 405.8 kB / 476.2 MB, free: 97.02 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.283e-05/0.7158, allocations: 7.375 kB / 476.2 MB, free: 97.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.388e-05/0.7159, allocations: 22.02 kB / 476.2 MB, free: 97.02 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.7159, allocations: 7.156 kB / 476.2 MB, free: 97.02 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003174/0.7163, allocations: 58.75 kB / 476.2 MB, free: 97.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.448e-05/0.7163, allocations: 6.953 kB / 476.3 MB, free: 97.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003895/0.7167, allocations: 58.08 kB / 476.3 MB, free: 97.02 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.447e-05/0.7167, allocations: 16.92 kB / 476.3 MB, free: 97.02 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0002325/0.717, allocations: 182 kB / 476.5 MB, free: 96.91 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001236/0.7171, allocations: 33.48 kB / 476.5 MB, free: 96.91 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001224/0.7184, allocations: 292.8 kB / 476.8 MB, free: 96.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.7184, allocations: 2.719 kB / 476.8 MB, free: 96.85 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.112e-06/0.7184, allocations: 1.188 kB / 476.8 MB, free: 96.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.321e-05/0.7185, allocations: 2.609 kB / 476.8 MB, free: 96.85 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001089/0.7196, allocations: 307.7 kB / 477.1 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001073/0.7197, allocations: 22.83 kB / 477.2 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004281/0.7202, allocations: 30.03 kB / 477.2 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/0.7202, allocations: 6.016 kB / 477.2 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.554e-05/0.7203, allocations: 6.938 kB / 477.2 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.144e-06/0.7203, allocations: 6.484 kB / 477.2 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.145e-06/0.7203, allocations: 0.5312 kB / 477.2 MB, free: 96.66 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.7221, allocations: 0.5534 MB / 477.8 MB, free: 96.34 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001742/0.7223, allocations: 113.7 kB / 477.9 MB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.7224, allocations: 3.156 kB / 477.9 MB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006547/0.7231, allocations: 26.45 kB / 477.9 MB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.7232, allocations: 17.28 kB / 477.9 MB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.667e-05/0.7233, allocations: 6.953 kB / 477.9 MB, free: 96.23 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006338/0.7239, allocations: 291.6 kB / 478.2 MB, free: 96.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 9.96e-07/0.724, allocations: 0 / 478.2 MB, free: 96.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001334/0.7253, allocations: 103.9 kB / 478.3 MB, free: 96.14 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): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0005404/0.7259, allocations: 180.8 kB / 478.5 MB, free: 96.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001586/0.7275, allocations: 452.1 kB / 478.9 MB, free: 95.87 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.7275, allocations: 3.828 kB / 478.9 MB, free: 95.87 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007598/0.7283, allocations: 284.5 kB / 479.2 MB, free: 95.68 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00106/0.7294, allocations: 74.66 kB / 479.3 MB, free: 95.67 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002183/0.7316, allocations: 0.7007 MB / 480 MB, free: 95.33 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000486/0.7321, allocations: 0.7976 MB / 480.8 MB, free: 94.64 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001578/0.7323, allocations: 27.09 kB / 480.8 MB, free: 94.63 MB / 394.7 MB Notification: Performance of SimCode: time 2.087e-06/0.7323, allocations: 0 / 480.8 MB, free: 94.63 MB / 394.7 MB Notification: Performance of Templates: time 0.01677/0.7491, allocations: 5.608 MB / 486.4 MB, free: 94.22 MB / 394.7 MB