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_KC.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_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|kc.1.|kc.2.|kc.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 2.28/2.28, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.894e-05/2.914e-05, allocations: 4 kB / 309.7 MB, free: 1.297 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3203/0.3203, allocations: 54.85 MB / 364.6 MB, free: 5.391 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1281/0.4484, allocations: 85.62 MB / 450.2 MB, free: 10.72 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000313/0.4488, allocations: 95.92 kB / 450.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05205/0.5009, allocations: 11.85 MB / 462.1 MB, free: 14.72 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.755e-06/0.5009, allocations: 4 kB / 462.1 MB, free: 14.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.787e-05/0.5009, allocations: 4 kB / 462.1 MB, free: 14.71 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.0007721/0.5017, allocations: 498.6 kB / 462.6 MB, free: 14.18 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.5018, allocations: 8.031 kB / 462.6 MB, free: 14.17 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.192e-05/0.5019, allocations: 35.58 kB / 462.7 MB, free: 14.14 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003344/0.5022, allocations: 230.6 kB / 462.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.15e-05/0.5023, allocations: 24.56 kB / 462.9 MB, free: 13.85 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.441e-05/0.5023, allocations: 27.98 kB / 462.9 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007065/0.5031, allocations: 346.1 kB / 463.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.223e-05/0.5031, allocations: 0 / 463.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.123e-05/0.5031, allocations: 16.7 kB / 463.3 MB, free: 13.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.476e-05/0.5032, allocations: 24.7 kB / 463.3 MB, free: 13.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006704/0.5039, allocations: 342.9 kB / 463.6 MB, free: 13.1 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001735/0.5056, allocations: 0.8586 MB / 464.5 MB, free: 12.19 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005452/0.5062, allocations: 238.4 kB / 464.7 MB, free: 11.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001866/0.5064, allocations: 82.55 kB / 464.8 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.388e-05/0.5064, allocations: 3.984 kB / 464.8 MB, free: 11.86 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.5065, allocations: 38.56 kB / 464.9 MB, free: 11.81 MB / 394.7 MB Notification: Performance of pre-optimization done (n=16): time 5.19e-06/0.5065, allocations: 0.8438 kB / 464.9 MB, free: 11.81 MB / 394.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005744/0.5071, allocations: 221.6 kB / 465.1 MB, free: 11.59 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.092e-05/0.5071, allocations: 51.41 kB / 465.1 MB, free: 11.53 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004552/0.5076, allocations: 303.3 kB / 465.4 MB, free: 11.23 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.472e-05/0.5077, allocations: 29.7 kB / 465.5 MB, free: 11.19 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001609/0.5078, allocations: 218.4 kB / 465.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.589e-05/0.5079, allocations: 59.19 kB / 465.7 MB, free: 10.92 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.948e-05/0.508, allocations: 11.94 kB / 465.7 MB, free: 10.91 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001703/0.5082, allocations: 326.8 kB / 466.1 MB, free: 10.58 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.5084, allocations: 85.81 kB / 466.1 MB, free: 10.49 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002811/0.5087, allocations: 172 kB / 466.3 MB, free: 10.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000261/0.5089, allocations: 116.5 kB / 466.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.397e-06/0.509, allocations: 4 kB / 466.4 MB, free: 10.17 MB / 394.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0006931/0.5097, allocations: 289.8 kB / 466.7 MB, free: 9.879 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.505e-05/0.5097, allocations: 8.375 kB / 466.7 MB, free: 9.871 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.797e-06/0.5097, allocations: 8 kB / 466.7 MB, free: 9.863 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.5098, allocations: 4 kB / 466.7 MB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008215/0.5106, allocations: 127.8 kB / 466.9 MB, free: 9.734 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002901/0.5135, allocations: 3.657 MB / 470.5 MB, free: 5.938 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003507/0.5139, allocations: 35.59 kB / 470.5 MB, free: 5.902 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.116e-05/0.514, allocations: 15.98 kB / 470.6 MB, free: 5.887 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (28): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001663/0.5141, allocations: 128.8 kB / 470.7 MB, free: 5.754 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.698e-05/0.5142, allocations: 23.72 kB / 470.7 MB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007615/0.515, allocations: 299.4 kB / 471 MB, free: 5.43 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.894e-06/0.515, allocations: 4 kB / 471 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.536e-06/0.515, allocations: 0 / 471 MB, free: 5.426 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.389e-06/0.5151, allocations: 3.984 kB / 471 MB, free: 5.422 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000515/0.5156, allocations: 297.4 kB / 471.3 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.096e-06/0.5156, allocations: 0 / 471.3 MB, free: 5.082 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007113/0.5163, allocations: 111.8 kB / 471.4 MB, free: 4.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.476e-06/0.5164, allocations: 4 kB / 471.4 MB, free: 4.969 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.877e-05/0.5164, allocations: 11.98 kB / 471.4 MB, free: 4.957 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002794/0.5192, allocations: 3.645 MB / 475.1 MB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.5192, allocations: 0 / 475.1 MB, free: 1.172 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005951/0.5198, allocations: 326.5 kB / 475.4 MB, free: 0.8398 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000145/0.52, allocations: 108.8 kB / 475.5 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.214e-05/0.5201, allocations: 0 / 475.5 MB, free: 0.7148 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.5203, allocations: 15.98 kB / 475.5 MB, free: 0.6992 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.485e-05/0.5204, allocations: 12.08 kB / 475.5 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.5204, allocations: 11.98 kB / 475.5 MB, free: 0.6758 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003493/0.5208, allocations: 239.1 kB / 475.8 MB, free: 456 kB / 394.7 MB Notification: Performance of sort global known variables: time 7.46e-07/0.5208, allocations: 0 / 475.8 MB, free: 456 kB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005455/0.5214, allocations: 75.91 kB / 475.8 MB, free: 380 kB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003109/0.5217, allocations: 159.6 kB / 476 MB, free: 212 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001019/0.5227, allocations: 265.7 kB / 476.3 MB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.299e-06/0.5227, allocations: 4.688 kB / 476.3 MB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006806/0.5234, allocations: 155.8 kB / 476.4 MB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004272/0.5239, allocations: 56.81 kB / 476.5 MB, free: 15.73 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009618/0.5249, allocations: 426.5 kB / 476.9 MB, free: 15.29 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005212/0.5254, allocations: 0.7917 MB / 477.7 MB, free: 14.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.906e-05/0.5255, allocations: 27.42 kB / 477.7 MB, free: 14.44 MB / 410.7 MB Notification: Performance of SimCode: time 1.724e-06/0.5255, allocations: 0 / 477.7 MB, free: 14.44 MB / 410.7 MB Notification: Performance of Templates: time 0.01726/0.5428, allocations: 10.57 MB / 488.3 MB, free: 3.875 MB / 410.7 MB