Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.121/2.121, allocations: 209.4 MB / 217.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.751e-05/1.759e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3569/0.3569, allocations: 48.69 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1542/0.5112, allocations: 80.58 MB / 400.6 MB, free: 15.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003091/0.5116, allocations: 87.94 kB / 400.7 MB, free: 15.79 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05583/0.5674, allocations: 13.24 MB / 413.9 MB, free: 2.438 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.579e-06/0.5675, allocations: 0 / 413.9 MB, free: 2.438 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.666e-05/0.5675, allocations: 4 kB / 413.9 MB, free: 2.434 MB / 346.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.001028/0.5685, allocations: 0.5595 MB / 414.5 MB, free: 1.832 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.5686, allocations: 8.031 kB / 414.5 MB, free: 1.824 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.138e-05/0.5687, allocations: 31.62 kB / 414.5 MB, free: 1.793 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004/0.5691, allocations: 250.6 kB / 414.8 MB, free: 1.508 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.5692, allocations: 8 kB / 414.8 MB, free: 1.5 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.837e-05/0.5692, allocations: 16 kB / 414.8 MB, free: 1.484 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005379/0.5698, allocations: 237.2 kB / 415 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00071/0.5705, allocations: 365.6 kB / 415.4 MB, free: 0.8789 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.654e-05/0.5705, allocations: 3.984 kB / 415.4 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.625e-05/0.5706, allocations: 0 / 415.4 MB, free: 0.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-05/0.5706, allocations: 24.48 kB / 415.4 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00194/0.5726, allocations: 1.01 MB / 416.4 MB, free: 15.79 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/0.5731, allocations: 203.8 kB / 416.6 MB, free: 15.57 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.5732, allocations: 86.52 kB / 416.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.169e-05/0.5733, allocations: 11.97 kB / 416.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.5734, allocations: 34.56 kB / 416.8 MB, free: 15.42 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.204e-06/0.5734, allocations: 4 kB / 416.8 MB, free: 15.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006033/0.574, allocations: 189.2 kB / 417 MB, free: 15.22 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.88e-05/0.5741, allocations: 102.8 kB / 417.1 MB, free: 15.1 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.5744, allocations: 212 kB / 417.3 MB, free: 14.88 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.417e-05/0.5744, allocations: 25.7 kB / 417.3 MB, free: 14.85 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.5746, allocations: 269.9 kB / 417.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.432e-05/0.5747, allocations: 47.3 kB / 417.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.935e-05/0.5747, allocations: 4.062 kB / 417.6 MB, free: 14.54 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000166/0.5749, allocations: 322.8 kB / 417.9 MB, free: 14.21 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002122/0.5751, allocations: 84.16 kB / 418 MB, free: 14.12 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000302/0.5755, allocations: 196.4 kB / 418.2 MB, free: 13.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002738/0.5757, allocations: 115.9 kB / 418.3 MB, free: 13.77 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.503e-06/0.5758, allocations: 11.89 kB / 418.3 MB, free: 13.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007233/0.5765, allocations: 289.1 kB / 418.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.5765, allocations: 8 kB / 418.6 MB, free: 13.46 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-05/0.5766, allocations: 23.97 kB / 418.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.372e-05/0.5767, allocations: 8.188 kB / 418.6 MB, free: 13.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003446/0.577, allocations: 60.44 kB / 418.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.551e-05/0.577, allocations: 15.86 kB / 418.7 MB, free: 13.35 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003341/0.5774, allocations: 31.83 kB / 418.7 MB, free: 13.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-05/0.5775, allocations: 19.98 kB / 418.8 MB, free: 13.3 MB / 362.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 () * 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.0001422/0.5776, allocations: 118.5 kB / 418.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001245/0.5778, allocations: 27.67 kB / 418.9 MB, free: 13.15 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006385/0.5784, allocations: 247.1 kB / 419.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.908e-06/0.5784, allocations: 0 / 419.1 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.632e-06/0.5784, allocations: 4 kB / 419.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.908e-06/0.5785, allocations: 0 / 419.2 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005913/0.5791, allocations: 262 kB / 419.4 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.851e-05/0.5791, allocations: 23.98 kB / 419.4 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/0.5794, allocations: 28.06 kB / 419.5 MB, free: 12.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.251e-05/0.5794, allocations: 11.89 kB / 419.5 MB, free: 12.55 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.139e-05/0.5795, allocations: 7.984 kB / 419.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.236e-06/0.5795, allocations: 0 / 419.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.495e-06/0.5795, allocations: 0 / 419.5 MB, free: 12.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006873/0.5802, allocations: 474.2 kB / 419.9 MB, free: 12.05 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000199/0.5804, allocations: 124.8 kB / 420.1 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.701e-05/0.5805, allocations: 7.984 kB / 420.1 MB, free: 11.9 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003578/0.5808, allocations: 27.92 kB / 420.1 MB, free: 11.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.591e-05/0.5809, allocations: 19.97 kB / 420.1 MB, free: 11.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-05/0.581, allocations: 8 kB / 420.1 MB, free: 11.85 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002212/0.5812, allocations: 164.5 kB / 420.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.5812, allocations: 0 / 420.3 MB, free: 11.69 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007672/0.582, allocations: 107.7 kB / 420.4 MB, free: 11.58 MB / 362.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 () * 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.0003849/0.5824, allocations: 179.1 kB / 420.6 MB, free: 11.39 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006487/0.5831, allocations: 362.5 kB / 420.9 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.144e-06/0.5831, allocations: 384 / 420.9 MB, free: 11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003183/0.5834, allocations: 250.1 kB / 421.2 MB, free: 10.72 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004497/0.5839, allocations: 31.8 kB / 421.2 MB, free: 10.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.5851, allocations: 428.5 kB / 421.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.5857, allocations: 0.8062 MB / 422.4 MB, free: 9.414 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.84e-05/0.5858, allocations: 15.44 kB / 422.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of SimCode: time 1.794e-06/0.5858, allocations: 384 / 422.4 MB, free: 9.398 MB / 362.7 MB Notification: Performance of Templates: time 0.0102/0.596, allocations: 4.705 MB / 427.1 MB, free: 4.691 MB / 362.7 MB