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.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,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.911/1.911, allocations: 209.3 MB / 224.8 MB, free: 1.129 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004446/0.0004448, allocations: 8 kB / 282.5 MB, free: 9.738 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1403, allocations: 48.71 MB / 331.2 MB, free: 8.934 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.004587/0.1449, allocations: 1.614 MB / 332.8 MB, free: 7.305 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.003356/0.1483, allocations: 0.9672 MB / 333.8 MB, free: 6.336 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001279/0.1485, allocations: 4 kB / 333.8 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003908/0.1489, allocations: 51.72 kB / 333.9 MB, free: 6.281 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002954/0.1492, allocations: 55.83 kB / 333.9 MB, free: 6.227 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009342/0.1502, allocations: 131.6 kB / 334 MB, free: 6.098 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005927/0.1508, allocations: 207.5 kB / 334.2 MB, free: 5.895 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.151, allocations: 36.7 kB / 334.3 MB, free: 5.859 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003264/0.1513, allocations: 99.56 kB / 334.4 MB, free: 5.762 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003293/0.1517, allocations: 111.5 kB / 334.5 MB, free: 5.652 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 6.27e-05/0.1518, allocations: 8 kB / 334.5 MB, free: 5.645 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007979/0.1526, allocations: 195.7 kB / 334.7 MB, free: 5.453 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001612/0.1528, allocations: 63.8 kB / 334.7 MB, free: 5.391 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001455/0.153, allocations: 69.52 kB / 334.8 MB, free: 5.316 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007143/0.1537, allocations: 247.6 kB / 335.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.14e-06/0.1537, allocations: 0 / 335.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of FrontEnd: time 2.973e-06/0.1537, allocations: 0 / 335.1 MB, free: 5.074 MB / 282.7 MB Notification: Performance of Transformations before backend: time 1.608e-05/0.1538, allocations: 0 / 335.1 MB, free: 5.074 MB / 282.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.002001/0.1558, allocations: 0.5847 MB / 335.6 MB, free: 4.441 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.58e-05/0.1559, allocations: 12.03 kB / 335.6 MB, free: 4.43 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001539/0.1561, allocations: 35.53 kB / 335.7 MB, free: 4.395 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006618/0.1567, allocations: 254.5 kB / 335.9 MB, free: 4.105 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.209e-05/0.1568, allocations: 20.56 kB / 336 MB, free: 4.082 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001115/0.157, allocations: 24 kB / 336 MB, free: 4.059 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00185/0.1588, allocations: 449.8 kB / 336.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.501e-05/0.1589, allocations: 0 / 336.4 MB, free: 3.605 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.524e-05/0.159, allocations: 12 kB / 336.4 MB, free: 3.594 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.041e-05/0.1591, allocations: 12.56 kB / 336.4 MB, free: 3.578 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001855/0.1609, allocations: 345.9 kB / 336.8 MB, free: 3.242 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003642/0.1646, allocations: 1.116 MB / 337.9 MB, free: 2.062 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001275/0.1659, allocations: 263.6 kB / 338.1 MB, free: 1.777 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.601e-05/0.166, allocations: 7.922 kB / 338.2 MB, free: 1.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.103e-05/0.1661, allocations: 34.56 kB / 338.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of pre-optimization done (n=14): time 5.039e-06/0.1661, allocations: 0 / 338.2 MB, free: 1.727 MB / 282.7 MB Notification: Performance of matching and sorting (n=14): time 0.00287/0.169, allocations: 0.6175 MB / 338.8 MB, free: 1.047 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001267/0.1692, allocations: 114.8 kB / 338.9 MB, free: 0.9102 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/0.1703, allocations: 393.6 kB / 339.3 MB, free: 0.5195 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 5.451e-05/0.1704, allocations: 29.7 kB / 339.3 MB, free: 496 kB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000306/0.1707, allocations: 242.3 kB / 339.6 MB, free: 252 kB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001164/0.1709, allocations: 47.3 kB / 339.6 MB, free: 204 kB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.495e-05/0.1709, allocations: 8 kB / 339.6 MB, free: 196 kB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.2494/0.4203, allocations: 321.1 kB / 339.9 MB, free: 15.55 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005594/0.4209, allocations: 124.3 kB / 340.1 MB, free: 15.54 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000524/0.4215, allocations: 253.1 kB / 340.3 MB, free: 15.4 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004924/0.422, allocations: 158.2 kB / 340.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.422, allocations: 1.281 kB / 340.5 MB, free: 15.4 MB / 282.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001991/0.424, allocations: 408.3 kB / 340.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.642e-05/0.4241, allocations: 7.516 kB / 340.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001125/0.4242, allocations: 26.56 kB / 340.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.62e-05/0.4243, allocations: 6.406 kB / 340.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005662/0.4248, allocations: 53.75 kB / 341 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.492e-05/0.4249, allocations: 6.891 kB / 341 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007319/0.4256, allocations: 66.88 kB / 341 MB, free: 15.35 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.954e-05/0.4258, allocations: 17.2 kB / 341 MB, free: 15.35 MB / 282.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.0004077/0.4262, allocations: 180.6 kB / 341.2 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000251/0.4265, allocations: 33.42 kB / 341.3 MB, free: 15.23 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001301/0.4278, allocations: 300.4 kB / 341.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.398e-05/0.4278, allocations: 2.125 kB / 341.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.062e-06/0.4278, allocations: 1.906 kB / 341.5 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.959e-06/0.4279, allocations: 2 kB / 341.6 MB, free: 15.17 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001001/0.4289, allocations: 302.4 kB / 341.8 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.682e-05/0.429, allocations: 19.48 kB / 341.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003518/0.4293, allocations: 36.72 kB / 341.9 MB, free: 14.98 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.277e-05/0.4294, allocations: 5.922 kB / 341.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.581e-05/0.4295, allocations: 13.89 kB / 341.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.345e-06/0.4295, allocations: 5.125 kB / 341.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.131e-06/0.4295, allocations: 0.75 kB / 341.9 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001476/0.431, allocations: 0.5203 MB / 342.4 MB, free: 14.68 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002974/0.4313, allocations: 139.5 kB / 342.6 MB, free: 14.57 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001107/0.4315, allocations: 7.609 kB / 342.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006807/0.4322, allocations: 23.41 kB / 342.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001146/0.4323, allocations: 18.19 kB / 342.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.972e-05/0.4324, allocations: 8.953 kB / 342.6 MB, free: 14.56 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006952/0.4331, allocations: 291.5 kB / 342.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of sort global known variables: time 1.124e-06/0.4331, allocations: 0 / 342.9 MB, free: 14.47 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001325/0.4344, allocations: 96.14 kB / 343 MB, free: 14.47 MB / 282.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.0004651/0.4349, allocations: 150.2 kB / 343.2 MB, free: 14.38 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.00169/0.4366, allocations: 449.4 kB / 343.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.553e-06/0.4367, allocations: 1.156 kB / 343.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004832/0.4372, allocations: 293 kB / 343.9 MB, free: 13.98 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000607/0.4378, allocations: 71.7 kB / 344 MB, free: 13.97 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001426/0.4392, allocations: 0.7049 MB / 344.7 MB, free: 13.62 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003133/0.4396, allocations: 0.8033 MB / 345.5 MB, free: 12.92 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.732e-05/0.4397, allocations: 25.12 kB / 345.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of SimCode: time 1.663e-06/0.4397, allocations: 0 / 345.5 MB, free: 12.91 MB / 282.7 MB Notification: Performance of Templates: time 0.01371/0.4534, allocations: 5.402 MB / 350.9 MB, free: 12.05 MB / 282.7 MB