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.377/2.377, allocations: 234.9 MB / 250.5 MB, free: 9.551 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004328/0.000433, allocations: 8 kB / 314.3 MB, free: 9.574 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3503/0.3508, allocations: 54.89 MB / 369.2 MB, free: 10.7 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002649/0.3534, allocations: 1.611 MB / 370.8 MB, free: 9.062 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.3555, allocations: 0.9797 MB / 371.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.47e-05/0.3556, allocations: 0 / 371.8 MB, free: 8.078 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002436/0.3558, allocations: 55.73 kB / 371.9 MB, free: 8.023 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001601/0.356, allocations: 51.83 kB / 371.9 MB, free: 7.973 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005336/0.3566, allocations: 131.6 kB / 372 MB, free: 7.844 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003252/0.3569, allocations: 207.5 kB / 372.2 MB, free: 7.641 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.857e-05/0.357, allocations: 36.7 kB / 372.3 MB, free: 7.605 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001906/0.3572, allocations: 95.62 kB / 372.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001998/0.3574, allocations: 115.5 kB / 372.5 MB, free: 7.398 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 3.992e-05/0.3575, allocations: 12 kB / 372.5 MB, free: 7.387 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004325/0.3579, allocations: 187.8 kB / 372.7 MB, free: 7.203 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.308e-05/0.358, allocations: 59.73 kB / 372.7 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 9.089e-05/0.3582, allocations: 69.58 kB / 372.8 MB, free: 7.07 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004395/0.3586, allocations: 240.1 kB / 373 MB, free: 6.836 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.781e-06/0.3586, allocations: 3.938 kB / 373.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.818e-06/0.3586, allocations: 0 / 373.1 MB, free: 6.832 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.3587, allocations: 0 / 373.1 MB, free: 6.832 MB / 298.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.001157/0.3598, allocations: 0.5977 MB / 373.6 MB, free: 6.188 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.908e-05/0.3599, allocations: 12.03 kB / 373.7 MB, free: 6.176 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.285e-05/0.36, allocations: 35.56 kB / 373.7 MB, free: 6.141 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003667/0.3604, allocations: 246.6 kB / 373.9 MB, free: 5.859 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.947e-05/0.3604, allocations: 20.56 kB / 374 MB, free: 5.84 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.083e-05/0.3605, allocations: 24 kB / 374 MB, free: 5.816 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009547/0.3614, allocations: 445.8 kB / 374.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.376e-05/0.3615, allocations: 0 / 374.4 MB, free: 5.359 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.345e-05/0.3615, allocations: 12 kB / 374.4 MB, free: 5.348 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.02e-05/0.3616, allocations: 16.52 kB / 374.4 MB, free: 5.332 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009454/0.3625, allocations: 349.9 kB / 374.8 MB, free: 4.988 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.3645, allocations: 1.112 MB / 375.9 MB, free: 3.816 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.3652, allocations: 259.7 kB / 376.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.188e-05/0.3653, allocations: 0 / 376.2 MB, free: 3.535 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3653, allocations: 38.56 kB / 376.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of pre-optimization done (n=14): time 2.447e-06/0.3653, allocations: 0 / 376.2 MB, free: 3.488 MB / 298.7 MB Notification: Performance of matching and sorting (n=14): time 0.001542/0.3669, allocations: 0.6176 MB / 376.8 MB, free: 2.809 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.935e-05/0.367, allocations: 110.8 kB / 376.9 MB, free: 2.676 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005996/0.3676, allocations: 401.6 kB / 377.3 MB, free: 2.273 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.3677, allocations: 29.64 kB / 377.3 MB, free: 2.238 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001877/0.3679, allocations: 238.2 kB / 377.6 MB, free: 2.004 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.369e-05/0.3679, allocations: 55.28 kB / 377.6 MB, free: 1.949 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.236e-05/0.368, allocations: 4 kB / 377.6 MB, free: 1.945 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.0001679/0.3682, allocations: 322.8 kB / 377.9 MB, free: 1.621 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004165/0.3686, allocations: 128.1 kB / 378.1 MB, free: 1.496 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005087/0.3691, allocations: 247.7 kB / 378.3 MB, free: 1.199 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004693/0.3696, allocations: 163.8 kB / 378.5 MB, free: 1.039 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.638e-06/0.3696, allocations: 4 kB / 378.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001175/0.3708, allocations: 397.3 kB / 378.9 MB, free: 0.6406 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.3708, allocations: 11.94 kB / 378.9 MB, free: 0.6289 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.241e-05/0.3709, allocations: 23.98 kB / 378.9 MB, free: 0.6055 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.371, allocations: 4 kB / 378.9 MB, free: 0.6016 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003363/0.3713, allocations: 64.11 kB / 379 MB, free: 0.5391 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.728e-05/0.3713, allocations: 7.953 kB / 379 MB, free: 0.5312 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003954/0.3717, allocations: 67.41 kB / 379 MB, free: 476 kB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.424e-05/0.3718, allocations: 12 kB / 379 MB, free: 464 kB / 298.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.0002782/0.3721, allocations: 179.7 kB / 379.2 MB, free: 276 kB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/0.3722, allocations: 35.7 kB / 379.3 MB, free: 240 kB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008589/0.3731, allocations: 296.4 kB / 379.5 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.1e-05/0.3731, allocations: 4 kB / 379.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.754e-06/0.3732, allocations: 0 / 379.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.904e-06/0.3732, allocations: 3.953 kB / 379.6 MB, free: 15.93 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006398/0.3738, allocations: 301.4 kB / 379.8 MB, free: 15.58 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.255e-05/0.3739, allocations: 19.98 kB / 379.9 MB, free: 15.56 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.3741, allocations: 35.91 kB / 379.9 MB, free: 15.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.409e-06/0.3741, allocations: 4 kB / 379.9 MB, free: 15.52 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.112e-05/0.3742, allocations: 11.98 kB / 379.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.482e-06/0.3742, allocations: 0 / 379.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.957e-06/0.3742, allocations: 4 kB / 379.9 MB, free: 15.51 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001009/0.3752, allocations: 0.5365 MB / 380.5 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.3754, allocations: 108.8 kB / 380.6 MB, free: 14.83 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.218e-05/0.3754, allocations: 4 kB / 380.6 MB, free: 14.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003777/0.3758, allocations: 27.97 kB / 380.6 MB, free: 14.8 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.883e-05/0.3759, allocations: 15.92 kB / 380.6 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.852e-05/0.376, allocations: 7.984 kB / 380.6 MB, free: 14.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0004299/0.3764, allocations: 287.1 kB / 380.9 MB, free: 14.5 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.3764, allocations: 4 kB / 380.9 MB, free: 14.49 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006926/0.3771, allocations: 95.84 kB / 381 MB, free: 14.4 MB / 314.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.0003316/0.3775, allocations: 159.7 kB / 381.2 MB, free: 14.23 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001075/0.3786, allocations: 442 kB / 381.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.3786, allocations: 0 / 381.6 MB, free: 13.77 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005351/0.3791, allocations: 299.1 kB / 381.9 MB, free: 13.44 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005711/0.3797, allocations: 69.47 kB / 381.9 MB, free: 13.38 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001486/0.3812, allocations: 0.6996 MB / 382.6 MB, free: 12.64 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005525/0.3818, allocations: 0.7989 MB / 383.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001003/0.3819, allocations: 27.44 kB / 383.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of SimCode: time 1.573e-06/0.3819, allocations: 0 / 383.5 MB, free: 11.79 MB / 314.7 MB Notification: Performance of Templates: time 0.01069/0.3926, allocations: 5.394 MB / 388.9 MB, free: 6.41 MB / 314.7 MB