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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.23/2.23, allocations: 235.1 MB / 243 MB, free: 9.578 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 1.728e-05/1.738e-05, allocations: 0 / 303.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2771, allocations: 54.86 MB / 358.1 MB, free: 14.95 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.4089, allocations: 86.91 MB / 445 MB, free: 7.91 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.4093, allocations: 87.94 kB / 445.1 MB, free: 7.824 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05537/0.4647, allocations: 13.23 MB / 458.3 MB, free: 10.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.139e-06/0.4647, allocations: 4 kB / 458.3 MB, free: 10.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.637e-05/0.4648, allocations: 4 kB / 458.3 MB, free: 10.48 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.0009814/0.4657, allocations: 0.5566 MB / 458.8 MB, free: 9.883 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.4658, allocations: 8.031 kB / 458.9 MB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.707e-05/0.4659, allocations: 31.62 kB / 458.9 MB, free: 9.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003808/0.4663, allocations: 250.5 kB / 459.1 MB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.4663, allocations: 12 kB / 459.1 MB, free: 9.547 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.649e-05/0.4664, allocations: 20 kB / 459.2 MB, free: 9.527 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005138/0.4669, allocations: 229.2 kB / 459.4 MB, free: 9.305 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007004/0.4676, allocations: 365.7 kB / 459.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4677, allocations: 0 / 459.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.4677, allocations: 0 / 459.7 MB, free: 8.926 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.4678, allocations: 20.48 kB / 459.8 MB, free: 8.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001874/0.4696, allocations: 1.014 MB / 460.8 MB, free: 7.84 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004189/0.4701, allocations: 203.8 kB / 461 MB, free: 7.613 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001783/0.4703, allocations: 82.56 kB / 461.1 MB, free: 7.523 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.466e-05/0.4703, allocations: 8 kB / 461.1 MB, free: 7.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.4704, allocations: 38.59 kB / 461.1 MB, free: 7.469 MB / 394.7 MB Notification: Performance of pre-optimization done (n=14): time 3.138e-06/0.4704, allocations: 0 / 461.1 MB, free: 7.469 MB / 394.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005851/0.471, allocations: 189.3 kB / 461.3 MB, free: 7.277 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.58e-05/0.4711, allocations: 106.8 kB / 461.4 MB, free: 7.148 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002971/0.4714, allocations: 215.8 kB / 461.6 MB, free: 6.93 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.184e-05/0.4714, allocations: 25.7 kB / 461.6 MB, free: 6.898 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001881/0.4716, allocations: 266.1 kB / 461.9 MB, free: 6.637 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.317e-05/0.4717, allocations: 51.34 kB / 461.9 MB, free: 6.586 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.94e-05/0.4717, allocations: 0 / 461.9 MB, free: 6.586 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001593/0.4719, allocations: 314.8 kB / 462.2 MB, free: 6.27 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.4721, allocations: 92.09 kB / 462.3 MB, free: 6.176 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003006/0.4725, allocations: 195.6 kB / 462.5 MB, free: 5.93 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002622/0.4727, allocations: 119.8 kB / 462.6 MB, free: 5.812 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.655e-06/0.4728, allocations: 0 / 462.6 MB, free: 5.812 MB / 394.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007277/0.4735, allocations: 309 kB / 462.9 MB, free: 5.504 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.4735, allocations: 4 kB / 462.9 MB, free: 5.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.559e-05/0.4736, allocations: 23.98 kB / 463 MB, free: 5.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.971e-05/0.4736, allocations: 4 kB / 463 MB, free: 5.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003358/0.474, allocations: 64.42 kB / 463 MB, free: 5.41 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/0.474, allocations: 4 kB / 463 MB, free: 5.406 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003387/0.4744, allocations: 47.7 kB / 463.1 MB, free: 5.359 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.4744, allocations: 12 kB / 463.1 MB, free: 5.348 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.0001419/0.4746, allocations: 118.5 kB / 463.2 MB, free: 5.227 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001212/0.4747, allocations: 23.75 kB / 463.2 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000775/0.4755, allocations: 243.2 kB / 463.5 MB, free: 4.965 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.228e-05/0.4755, allocations: 4 kB / 463.5 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.148e-06/0.4755, allocations: 96 / 463.5 MB, free: 4.961 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.083e-05/0.4756, allocations: 15.86 kB / 463.5 MB, free: 4.945 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005761/0.4762, allocations: 269.9 kB / 463.8 MB, free: 4.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.214e-05/0.4762, allocations: 23.97 kB / 463.8 MB, free: 4.621 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002126/0.4764, allocations: 27.97 kB / 463.8 MB, free: 4.594 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.563e-06/0.4765, allocations: 4 kB / 463.8 MB, free: 4.59 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.4765, allocations: 4 kB / 463.8 MB, free: 4.586 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.003e-06/0.4765, allocations: 3.938 kB / 463.8 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.085e-06/0.4765, allocations: 0 / 463.8 MB, free: 4.582 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006063/0.4771, allocations: 469.2 kB / 464.3 MB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.4773, allocations: 104.8 kB / 464.4 MB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.53e-05/0.4773, allocations: 0 / 464.4 MB, free: 3.973 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003847/0.4777, allocations: 31.97 kB / 464.4 MB, free: 3.941 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.05e-05/0.4778, allocations: 19.94 kB / 464.4 MB, free: 3.922 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.084e-05/0.4779, allocations: 8 kB / 464.4 MB, free: 3.914 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0002056/0.4781, allocations: 164.5 kB / 464.6 MB, free: 3.758 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.228e-06/0.4781, allocations: 0 / 464.6 MB, free: 3.758 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007279/0.4788, allocations: 99.77 kB / 464.7 MB, free: 3.66 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.0003691/0.4792, allocations: 185.8 kB / 464.9 MB, free: 3.469 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006273/0.4799, allocations: 358.6 kB / 465.2 MB, free: 3.082 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.144e-06/0.4799, allocations: 3.938 kB / 465.2 MB, free: 3.078 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003107/0.4802, allocations: 242.1 kB / 465.5 MB, free: 2.805 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004187/0.4806, allocations: 29.02 kB / 465.5 MB, free: 2.777 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.4818, allocations: 437.9 kB / 465.9 MB, free: 2.316 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005357/0.4824, allocations: 0.7982 MB / 466.7 MB, free: 1.492 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.548e-05/0.4825, allocations: 19.42 kB / 466.7 MB, free: 1.473 MB / 394.7 MB Notification: Performance of SimCode: time 1.627e-06/0.4825, allocations: 3.938 kB / 466.7 MB, free: 1.469 MB / 394.7 MB Notification: Performance of Templates: time 0.2467/0.7292, allocations: 4.697 MB / 471.4 MB, free: 99.62 MB / 394.7 MB