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_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 1.973/1.973, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.237e-05, allocations: 8 kB / 277.9 MB, free: 15.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08554/0.0856, allocations: 48.7 MB / 326.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3448/0.4304, allocations: 79.23 MB / 405.8 MB, free: 9.086 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.4308, allocations: 91.41 kB / 405.9 MB, free: 9.07 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08217/0.513, allocations: 11.84 MB / 417.7 MB, free: 2.215 MB / 314.7 MB Notification: Performance of FrontEnd: time 3.915e-06/0.513, allocations: 0 / 417.7 MB, free: 2.215 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.239e-05/0.5131, allocations: 11.94 kB / 417.7 MB, free: 2.203 MB / 314.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.0007521/0.5139, allocations: 496.6 kB / 418.2 MB, free: 1.691 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.5139, allocations: 12.03 kB / 418.2 MB, free: 1.68 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.982e-05/0.514, allocations: 27.62 kB / 418.3 MB, free: 1.652 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002531/0.5143, allocations: 244.6 kB / 418.5 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.5143, allocations: 15.81 kB / 418.5 MB, free: 1.371 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.511e-05/0.5144, allocations: 23.25 kB / 418.5 MB, free: 1.355 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005773/0.5149, allocations: 354.1 kB / 418.9 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.515, allocations: 0 / 418.9 MB, free: 1.086 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.464e-05/0.515, allocations: 13 kB / 418.9 MB, free: 1.082 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.736e-05/0.5151, allocations: 20.77 kB / 418.9 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005449/0.5156, allocations: 344.8 kB / 419.3 MB, free: 0.8086 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001393/0.517, allocations: 0.8522 MB / 420.1 MB, free: 20 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005595/0.5176, allocations: 238.8 kB / 420.3 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001896/0.5178, allocations: 79.23 kB / 420.4 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.699e-05/0.5179, allocations: 7.984 kB / 420.4 MB, free: 15.72 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.628e-05/0.5179, allocations: 42.08 kB / 420.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 2.55e-06/0.5179, allocations: 0 / 420.5 MB, free: 15.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.0005682/0.5185, allocations: 219.7 kB / 420.7 MB, free: 15.47 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.679e-05/0.5186, allocations: 55.41 kB / 420.7 MB, free: 15.41 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004352/0.519, allocations: 303.6 kB / 421 MB, free: 15.16 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.189e-05/0.5191, allocations: 25.7 kB / 421.1 MB, free: 15.12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001583/0.5192, allocations: 219.1 kB / 421.3 MB, free: 14.94 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.819e-05/0.5193, allocations: 57.88 kB / 421.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.037e-05/0.5194, allocations: 3.438 kB / 421.3 MB, free: 14.89 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5195, allocations: 330.4 kB / 421.7 MB, free: 14.56 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.5198, allocations: 93.64 kB / 421.7 MB, free: 14.48 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002814/0.5201, allocations: 164.4 kB / 421.9 MB, free: 14.3 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002577/0.5203, allocations: 122.1 kB / 422 MB, free: 14.19 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.086e-06/0.5203, allocations: 0 / 422 MB, free: 14.19 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007032/0.5211, allocations: 295.7 kB / 422.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.165e-05/0.5211, allocations: 4 kB / 422.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/0.5211, allocations: 4 kB / 422.3 MB, free: 13.92 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.489e-05/0.5212, allocations: 12.33 kB / 422.3 MB, free: 13.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008197/0.522, allocations: 122.9 kB / 422.5 MB, free: 13.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002976/0.525, allocations: 3.653 MB / 426.1 MB, free: 10.04 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003738/0.5254, allocations: 42.89 kB / 426.2 MB, free: 9.996 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.833e-05/0.5254, allocations: 11.98 kB / 426.2 MB, free: 9.984 MB / 330.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.0001634/0.5256, allocations: 127.7 kB / 426.3 MB, free: 9.863 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.765e-05/0.5257, allocations: 23.72 kB / 426.3 MB, free: 9.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007648/0.5265, allocations: 303.4 kB / 426.6 MB, free: 9.566 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.5265, allocations: 4 kB / 426.6 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.512e-06/0.5265, allocations: 0 / 426.6 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.48e-06/0.5266, allocations: 0 / 426.6 MB, free: 9.562 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005016/0.5271, allocations: 291.6 kB / 426.9 MB, free: 9.258 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.133e-06/0.5271, allocations: 3.938 kB / 426.9 MB, free: 9.254 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007004/0.5278, allocations: 110.7 kB / 427 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.557e-06/0.5278, allocations: 0 / 427 MB, free: 9.148 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.868e-05/0.5279, allocations: 14.55 kB / 427 MB, free: 9.137 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002783/0.5307, allocations: 3.644 MB / 430.7 MB, free: 5.391 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.67e-06/0.5307, allocations: 4.094 kB / 430.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005867/0.5313, allocations: 329.1 kB / 431 MB, free: 5.074 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.5314, allocations: 108.8 kB / 431.1 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.364e-05/0.5315, allocations: 0 / 431.1 MB, free: 4.949 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002377/0.5318, allocations: 18.58 kB / 431.1 MB, free: 4.934 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.51e-05/0.5318, allocations: 18.66 kB / 431.1 MB, free: 4.918 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.546e-05/0.5319, allocations: 8 kB / 431.1 MB, free: 4.91 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003437/0.5322, allocations: 237.8 kB / 431.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.53e-07/0.5323, allocations: 0 / 431.4 MB, free: 4.715 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005846/0.5329, allocations: 80.47 kB / 431.5 MB, free: 4.645 MB / 330.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.0003496/0.5332, allocations: 160.5 kB / 431.6 MB, free: 4.484 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00107/0.5343, allocations: 268.1 kB / 431.9 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.5343, allocations: 0 / 431.9 MB, free: 4.246 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006933/0.535, allocations: 155 kB / 432 MB, free: 4.105 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000543/0.5356, allocations: 63.02 kB / 432.1 MB, free: 4.055 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00104/0.5367, allocations: 424.2 kB / 432.5 MB, free: 3.641 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005203/0.5372, allocations: 0.7906 MB / 433.3 MB, free: 2.828 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.222e-05/0.5373, allocations: 23.25 kB / 433.3 MB, free: 2.809 MB / 330.7 MB Notification: Performance of SimCode: time 1.82e-06/0.5373, allocations: 0 / 433.3 MB, free: 2.809 MB / 330.7 MB Notification: Performance of Templates: time 0.01809/0.5554, allocations: 10.56 MB / 443.9 MB, free: 8.262 MB / 346.7 MB