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.154/2.154, allocations: 235 MB / 248.1 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.731e-05/2.744e-05, allocations: 4 kB / 309.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3122/0.3123, allocations: 54.86 MB / 364.6 MB, free: 5.535 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.4435, allocations: 87.57 MB / 452.1 MB, free: 8.879 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000312/0.4438, allocations: 95.92 kB / 452.2 MB, free: 8.785 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05851/0.5024, allocations: 13.35 MB / 465.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.5024, allocations: 4 kB / 465.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.503e-05/0.5025, allocations: 4 kB / 465.6 MB, free: 11.36 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.0009622/0.5034, allocations: 0.5567 MB / 466.1 MB, free: 10.75 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.5035, allocations: 12.03 kB / 466.2 MB, free: 10.74 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.651e-05/0.5036, allocations: 31.62 kB / 466.2 MB, free: 10.71 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003755/0.504, allocations: 251.9 kB / 466.4 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.923e-05/0.504, allocations: 16.56 kB / 466.4 MB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.096e-05/0.5041, allocations: 28 kB / 466.5 MB, free: 10.38 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007779/0.5049, allocations: 404.2 kB / 466.9 MB, free: 9.969 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.573e-05/0.5049, allocations: 3.953 kB / 466.9 MB, free: 9.965 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.429e-05/0.505, allocations: 16 kB / 466.9 MB, free: 9.949 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.951e-05/0.505, allocations: 16.55 kB / 466.9 MB, free: 9.934 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005827/0.5056, allocations: 266 kB / 467.2 MB, free: 9.672 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.5076, allocations: 1.116 MB / 468.3 MB, free: 8.492 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004696/0.5081, allocations: 211.8 kB / 468.5 MB, free: 8.258 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001996/0.5083, allocations: 82.53 kB / 468.6 MB, free: 8.168 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.767e-05/0.5084, allocations: 4 kB / 468.6 MB, free: 8.164 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.5084, allocations: 42.55 kB / 468.6 MB, free: 8.113 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.21e-06/0.5084, allocations: 0 / 468.6 MB, free: 8.113 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0006324/0.5091, allocations: 205.2 kB / 468.8 MB, free: 7.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.722e-05/0.5092, allocations: 110.9 kB / 468.9 MB, free: 7.773 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005462/0.5097, allocations: 363.5 kB / 469.3 MB, free: 7.406 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.397e-05/0.5098, allocations: 29.64 kB / 469.3 MB, free: 7.371 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001772/0.51, allocations: 238.3 kB / 469.5 MB, free: 7.137 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.415e-05/0.51, allocations: 50.41 kB / 469.6 MB, free: 7.09 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-05/0.5101, allocations: 8 kB / 469.6 MB, free: 7.082 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001551/0.5102, allocations: 318.8 kB / 469.9 MB, free: 6.762 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002362/0.5105, allocations: 92.16 kB / 470 MB, free: 6.668 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003347/0.5108, allocations: 203.8 kB / 470.2 MB, free: 6.414 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002851/0.5111, allocations: 123.8 kB / 470.3 MB, free: 6.293 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.046e-06/0.5112, allocations: 0 / 470.3 MB, free: 6.293 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007753/0.5119, allocations: 325.2 kB / 470.6 MB, free: 5.969 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.512, allocations: 9.875 kB / 470.6 MB, free: 5.961 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.54e-05/0.5121, allocations: 19.98 kB / 470.7 MB, free: 5.941 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.309e-05/0.5121, allocations: 11.95 kB / 470.7 MB, free: 5.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003319/0.5124, allocations: 51.89 kB / 470.7 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.5125, allocations: 8.281 kB / 470.7 MB, free: 5.871 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003931/0.5129, allocations: 63.5 kB / 470.8 MB, free: 5.809 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.637e-05/0.5129, allocations: 23.94 kB / 470.8 MB, free: 5.785 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 () * 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.0001347/0.5131, allocations: 112.9 kB / 470.9 MB, free: 5.668 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001325/0.5132, allocations: 31.62 kB / 471 MB, free: 5.637 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000669/0.5139, allocations: 268.2 kB / 471.2 MB, free: 5.367 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.07e-05/0.5139, allocations: 4 kB / 471.2 MB, free: 5.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.532e-06/0.514, allocations: 3.953 kB / 471.2 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.216e-06/0.514, allocations: 3.984 kB / 471.2 MB, free: 5.355 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000629/0.5146, allocations: 293.4 kB / 471.5 MB, free: 5.02 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.335e-05/0.5147, allocations: 23.97 kB / 471.5 MB, free: 4.996 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002243/0.5149, allocations: 39.91 kB / 471.6 MB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.234e-06/0.5149, allocations: 4 kB / 471.6 MB, free: 4.953 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.89e-05/0.515, allocations: 8 kB / 471.6 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.713e-06/0.515, allocations: 0 / 471.6 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.991e-06/0.515, allocations: 0 / 471.6 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006657/0.5157, allocations: 485 kB / 472.1 MB, free: 4.441 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/0.5158, allocations: 108.7 kB / 472.2 MB, free: 4.316 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.955e-05/0.5159, allocations: 11.94 kB / 472.2 MB, free: 4.305 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00038/0.5163, allocations: 19.98 kB / 472.2 MB, free: 4.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.085e-05/0.5164, allocations: 23.92 kB / 472.2 MB, free: 4.262 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.103e-05/0.5164, allocations: 15.92 kB / 472.2 MB, free: 4.246 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004053/0.5169, allocations: 278.1 kB / 472.5 MB, free: 3.98 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.62e-07/0.5169, allocations: 0 / 472.5 MB, free: 3.98 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000724/0.5176, allocations: 95.94 kB / 472.6 MB, free: 3.887 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 () * 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.0003707/0.518, allocations: 183.2 kB / 472.8 MB, free: 3.699 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006826/0.5187, allocations: 374.6 kB / 473.2 MB, free: 3.297 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.5187, allocations: 256 / 473.2 MB, free: 3.297 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003496/0.5191, allocations: 246.1 kB / 473.4 MB, free: 3.02 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005726/0.5197, allocations: 65.17 kB / 473.5 MB, free: 2.957 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001165/0.5208, allocations: 454.8 kB / 473.9 MB, free: 2.477 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005331/0.5214, allocations: 0.8028 MB / 474.7 MB, free: 1.645 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.55e-05/0.5215, allocations: 23.44 kB / 474.7 MB, free: 1.621 MB / 394.7 MB Notification: Performance of SimCode: time 1.547e-06/0.5215, allocations: 4 kB / 474.7 MB, free: 1.617 MB / 394.7 MB Notification: Performance of Templates: time 0.01069/0.5322, allocations: 5.599 MB / 480.3 MB, free: 12.05 MB / 410.7 MB