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.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,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.465/2.465, allocations: 234.9 MB / 251.1 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006071/0.0006073, allocations: 12 kB / 315 MB, free: 9.578 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3847/0.3853, allocations: 54.86 MB / 369.8 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1609/0.5463, allocations: 87.64 MB / 457.5 MB, free: 2.961 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003969/0.5467, allocations: 99.94 kB / 457.6 MB, free: 2.863 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06325/0.61, allocations: 13.35 MB / 470.9 MB, free: 5.41 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.399e-06/0.61, allocations: 3.984 kB / 470.9 MB, free: 5.406 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.36e-05/0.6101, allocations: 4 kB / 470.9 MB, free: 5.402 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.001319/0.6114, allocations: 0.5844 MB / 471.5 MB, free: 4.77 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.6115, allocations: 8.031 kB / 471.5 MB, free: 4.762 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.444e-05/0.6116, allocations: 35.62 kB / 471.5 MB, free: 4.727 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003976/0.612, allocations: 242.6 kB / 471.8 MB, free: 4.449 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.612, allocations: 20.56 kB / 471.8 MB, free: 4.43 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.825e-05/0.6121, allocations: 27.94 kB / 471.8 MB, free: 4.402 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/0.6133, allocations: 445.8 kB / 472.3 MB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6133, allocations: 0 / 472.3 MB, free: 3.945 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.6134, allocations: 15.95 kB / 472.3 MB, free: 3.93 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.28e-05/0.6135, allocations: 16.55 kB / 472.3 MB, free: 3.914 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.6148, allocations: 353.9 kB / 472.6 MB, free: 3.566 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002389/0.6172, allocations: 1.112 MB / 473.8 MB, free: 2.391 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008541/0.6181, allocations: 255.7 kB / 474 MB, free: 2.113 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.075e-05/0.6181, allocations: 7.984 kB / 474 MB, free: 2.105 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.33e-05/0.6182, allocations: 34.55 kB / 474 MB, free: 2.062 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.055e-06/0.6182, allocations: 0 / 474 MB, free: 2.062 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.001976/0.6202, allocations: 0.6254 MB / 474.7 MB, free: 1.375 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.822e-05/0.6203, allocations: 106.8 kB / 474.8 MB, free: 1.246 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007372/0.621, allocations: 397.5 kB / 475.2 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.679e-05/0.6211, allocations: 33.77 kB / 475.2 MB, free: 0.8086 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001984/0.6213, allocations: 242.1 kB / 475.4 MB, free: 0.5703 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.789e-05/0.6214, allocations: 47.34 kB / 475.5 MB, free: 0.5234 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.723e-05/0.6215, allocations: 8 kB / 475.5 MB, free: 0.5156 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6216, allocations: 318.8 kB / 475.8 MB, free: 200 kB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006104/0.6222, allocations: 132.1 kB / 475.9 MB, free: 64 kB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2945/0.9167, allocations: 235.6 kB / 476.2 MB, free: 97.17 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000752/0.9175, allocations: 159 kB / 476.3 MB, free: 97.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.9176, allocations: 2.75 kB / 476.3 MB, free: 97.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001725/0.9193, allocations: 404.2 kB / 476.7 MB, free: 97.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.557e-05/0.9194, allocations: 6.312 kB / 476.7 MB, free: 97.14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-05/0.9195, allocations: 22.88 kB / 476.7 MB, free: 97.14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.9195, allocations: 6.375 kB / 476.7 MB, free: 97.14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004478/0.92, allocations: 59.98 kB / 476.8 MB, free: 97.14 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.797e-05/0.92, allocations: 10.36 kB / 476.8 MB, free: 97.14 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/0.9205, allocations: 58.59 kB / 476.9 MB, free: 97.14 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.372e-05/0.9206, allocations: 16.66 kB / 476.9 MB, free: 97.14 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.000312/0.9209, allocations: 182.5 kB / 477.1 MB, free: 97.03 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.9211, allocations: 30 kB / 477.1 MB, free: 97.03 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001187/0.9223, allocations: 297.9 kB / 477.4 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.368e-05/0.9223, allocations: 3.109 kB / 477.4 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.9223, allocations: 1.281 kB / 477.4 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.9223, allocations: 1.297 kB / 477.4 MB, free: 96.98 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007921/0.9231, allocations: 308.4 kB / 477.7 MB, free: 96.79 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.633e-05/0.9232, allocations: 20.77 kB / 477.7 MB, free: 96.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003078/0.9236, allocations: 30.25 kB / 477.7 MB, free: 96.79 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.9236, allocations: 0.7969 kB / 477.7 MB, free: 96.79 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.358e-05/0.9236, allocations: 8.594 kB / 477.8 MB, free: 96.79 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.96e-06/0.9236, allocations: 4.156 kB / 477.8 MB, free: 96.79 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.9236, allocations: 4.875 kB / 477.8 MB, free: 96.79 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.9249, allocations: 0.5276 MB / 478.3 MB, free: 96.51 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001389/0.9251, allocations: 117.7 kB / 478.4 MB, free: 96.4 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.742e-05/0.9252, allocations: 3.375 kB / 478.4 MB, free: 96.4 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004593/0.9256, allocations: 28.08 kB / 478.4 MB, free: 96.4 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.356e-05/0.9257, allocations: 17.02 kB / 478.5 MB, free: 96.4 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.495e-05/0.9258, allocations: 8.406 kB / 478.5 MB, free: 96.4 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005125/0.9263, allocations: 286.1 kB / 478.7 MB, free: 96.31 MB / 394.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.9263, allocations: 1.344 kB / 478.7 MB, free: 96.31 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008466/0.9272, allocations: 99.5 kB / 478.8 MB, free: 96.31 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.0004135/0.9276, allocations: 180.1 kB / 479 MB, free: 96.22 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001393/0.929, allocations: 455.2 kB / 479.5 MB, free: 96.03 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.9291, allocations: 0 / 479.5 MB, free: 96.03 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006162/0.9297, allocations: 286.6 kB / 479.7 MB, free: 95.84 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007679/0.9305, allocations: 84.69 kB / 479.8 MB, free: 95.83 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001761/0.9322, allocations: 0.7012 MB / 480.5 MB, free: 95.49 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.9327, allocations: 0.8013 MB / 481.3 MB, free: 94.79 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001347/0.9328, allocations: 25.17 kB / 481.4 MB, free: 94.79 MB / 394.7 MB Notification: Performance of SimCode: time 1.062e-06/0.9328, allocations: 0 / 481.4 MB, free: 94.79 MB / 394.7 MB Notification: Performance of Templates: time 0.01331/0.9461, allocations: 5.603 MB / 487 MB, free: 94.37 MB / 394.7 MB