Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 1.973/1.973, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004395, allocations: 16 kB / 283.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3631, allocations: 48.7 MB / 331.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.151/0.5141, allocations: 81.33 MB / 413.2 MB, free: 13.11 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003895/0.5146, allocations: 103.9 kB / 413.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06521/0.5798, allocations: 13.35 MB / 426.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.5799, allocations: 0 / 426.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.249e-05/0.5799, allocations: 4 kB / 426.6 MB, free: 15.54 MB / 362.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.00146/0.5814, allocations: 0.5807 MB / 427.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.724e-05/0.5814, allocations: 8.031 kB / 427.2 MB, free: 14.91 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.5816, allocations: 35.53 kB / 427.2 MB, free: 14.87 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004606/0.582, allocations: 250.6 kB / 427.5 MB, free: 14.59 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.738e-05/0.5821, allocations: 28.5 kB / 427.5 MB, free: 14.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.657e-05/0.5822, allocations: 24 kB / 427.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001312/0.5835, allocations: 449.8 kB / 428 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.5835, allocations: 0 / 428 MB, free: 14.08 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.932e-05/0.5836, allocations: 12 kB / 428 MB, free: 14.07 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.958e-05/0.5837, allocations: 16.55 kB / 428 MB, free: 14.05 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001364/0.585, allocations: 345.9 kB / 428.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002624/0.5877, allocations: 1.112 MB / 429.4 MB, free: 12.54 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009207/0.5887, allocations: 259.7 kB / 429.7 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.766e-05/0.5888, allocations: 8 kB / 429.7 MB, free: 12.25 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.562e-05/0.5888, allocations: 34.56 kB / 429.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 3.086e-06/0.5888, allocations: 0 / 429.7 MB, free: 12.21 MB / 362.7 MB Notification: Performance of matching and sorting (n=14): time 0.00206/0.5909, allocations: 0.6176 MB / 430.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.591, allocations: 102.8 kB / 430.5 MB, free: 11.4 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007634/0.5918, allocations: 401.5 kB / 430.9 MB, free: 11 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.443e-05/0.5919, allocations: 29.7 kB / 430.9 MB, free: 10.97 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002371/0.5921, allocations: 242.2 kB / 431.1 MB, free: 10.73 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.99e-05/0.5922, allocations: 51.34 kB / 431.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.929e-05/0.5923, allocations: 4 kB / 431.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001531/0.5924, allocations: 334.7 kB / 431.5 MB, free: 10.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006054/0.593, allocations: 124.2 kB / 431.6 MB, free: 10.21 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006781/0.5937, allocations: 255.7 kB / 431.9 MB, free: 9.91 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006595/0.5944, allocations: 164.1 kB / 432 MB, free: 9.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.63e-06/0.5945, allocations: 0 / 432 MB, free: 9.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001615/0.5961, allocations: 409.2 kB / 432.4 MB, free: 9.344 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.957e-05/0.5961, allocations: 8 kB / 432.4 MB, free: 9.336 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.576e-05/0.5962, allocations: 19.98 kB / 432.5 MB, free: 9.316 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.047e-05/0.5963, allocations: 11.98 kB / 432.5 MB, free: 9.305 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004396/0.5967, allocations: 47.91 kB / 432.5 MB, free: 9.258 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/0.5968, allocations: 15.92 kB / 432.5 MB, free: 9.242 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000536/0.5973, allocations: 55.73 kB / 432.6 MB, free: 9.188 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.89e-05/0.5974, allocations: 23.98 kB / 432.6 MB, free: 9.164 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 () * 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.0003135/0.5977, allocations: 177.6 kB / 432.8 MB, free: 8.98 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001379/0.5979, allocations: 31.61 kB / 432.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001128/0.599, allocations: 304 kB / 433.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.599, allocations: 0 / 433.1 MB, free: 8.641 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.5991, allocations: 8 kB / 433.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.5991, allocations: 0 / 433.1 MB, free: 8.633 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007476/0.5998, allocations: 301.4 kB / 433.4 MB, free: 8.289 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.869e-05/0.5999, allocations: 19.98 kB / 433.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003324/0.6003, allocations: 31.91 kB / 433.5 MB, free: 8.238 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/0.6003, allocations: 4 kB / 433.5 MB, free: 8.234 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.019e-05/0.6003, allocations: 12 kB / 433.5 MB, free: 8.223 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.194e-06/0.6004, allocations: 3.984 kB / 433.5 MB, free: 8.219 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.6004, allocations: 4 kB / 433.5 MB, free: 8.215 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001371/0.6017, allocations: 0.5173 MB / 434 MB, free: 7.68 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002712/0.6021, allocations: 140.6 kB / 434.1 MB, free: 7.523 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.876e-05/0.6022, allocations: 4 kB / 434.1 MB, free: 7.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004595/0.6026, allocations: 27.92 kB / 434.2 MB, free: 7.492 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.6028, allocations: 19.97 kB / 434.2 MB, free: 7.473 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.348e-05/0.6028, allocations: 4 kB / 434.2 MB, free: 7.469 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005206/0.6033, allocations: 291.1 kB / 434.5 MB, free: 7.184 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.81e-07/0.6034, allocations: 0 / 434.5 MB, free: 7.184 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008325/0.6042, allocations: 99.84 kB / 434.6 MB, free: 7.086 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 () * 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.0004803/0.6047, allocations: 183.8 kB / 434.8 MB, free: 6.898 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001493/0.6062, allocations: 454.6 kB / 435.2 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6062, allocations: 0 / 435.2 MB, free: 6.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006852/0.6069, allocations: 290.3 kB / 435.5 MB, free: 6.098 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007198/0.6077, allocations: 65.34 kB / 435.5 MB, free: 6.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001905/0.6096, allocations: 0.712 MB / 436.3 MB, free: 5.285 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005256/0.6102, allocations: 0.7989 MB / 437.1 MB, free: 4.461 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001424/0.6103, allocations: 23.44 kB / 437.1 MB, free: 4.438 MB / 362.7 MB Notification: Performance of SimCode: time 3.276e-06/0.6104, allocations: 4 kB / 437.1 MB, free: 4.434 MB / 362.7 MB Notification: Performance of Templates: time 0.0149/0.6253, allocations: 5.595 MB / 442.7 MB, free: 14.86 MB / 378.7 MB