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_overall.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_overall,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.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Nu_4.1.|Nu_4.2.|Nu_4.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_overall") Notification: Performance of loadModel(ModelicaTest): time 1.979/1.979, allocations: 209.3 MB / 224.9 MB, free: 192 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004368/0.0004371, allocations: 12 kB / 282.6 MB, free: 9.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3287, allocations: 48.7 MB / 331.3 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1402/0.469, allocations: 87.83 MB / 419.1 MB, free: 6.551 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003325/0.4694, allocations: 95.94 kB / 419.2 MB, free: 6.457 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09866/0.568, allocations: 24.03 MB / 443.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.383e-06/0.5681, allocations: 0 / 443.3 MB, free: 14.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.211e-05/0.5681, allocations: 12 kB / 443.3 MB, free: 14.21 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001549/0.5697, allocations: 0.7642 MB / 444 MB, free: 13.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.5697, allocations: 8.031 kB / 444 MB, free: 13.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.5699, allocations: 59.34 kB / 444.1 MB, free: 13.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005525/0.5705, allocations: 302.3 kB / 444.4 MB, free: 13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.5705, allocations: 41.31 kB / 444.4 MB, free: 12.96 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001028/0.5706, allocations: 52 kB / 444.5 MB, free: 12.91 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001669/0.5723, allocations: 0.7774 MB / 445.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.016e-05/0.5724, allocations: 3.938 kB / 445.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.357e-05/0.5725, allocations: 24 kB / 445.3 MB, free: 12.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.229e-05/0.5725, allocations: 29.23 kB / 445.3 MB, free: 12.05 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001436/0.574, allocations: 0.5788 MB / 445.9 MB, free: 11.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00332/0.5773, allocations: 1.7 MB / 447.6 MB, free: 9.711 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008368/0.5782, allocations: 315.5 kB / 447.9 MB, free: 9.375 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.518e-05/0.5783, allocations: 11.98 kB / 447.9 MB, free: 9.363 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.5783, allocations: 34.56 kB / 448 MB, free: 9.32 MB / 378.7 MB Notification: Performance of pre-optimization done (n=20): time 3.679e-06/0.5783, allocations: 0 / 448 MB, free: 9.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=20): time 0.001985/0.5803, allocations: 0.769 MB / 448.7 MB, free: 8.492 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.374e-05/0.5804, allocations: 102.8 kB / 448.8 MB, free: 8.367 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001003/0.5815, allocations: 0.5837 MB / 449.4 MB, free: 7.773 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.5815, allocations: 25.7 kB / 449.4 MB, free: 7.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002792/0.5818, allocations: 334.2 kB / 449.8 MB, free: 7.414 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.88e-05/0.5819, allocations: 75 kB / 449.8 MB, free: 7.34 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.02e-05/0.582, allocations: 8 kB / 449.8 MB, free: 7.332 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.000181/0.5822, allocations: 330.8 kB / 450.2 MB, free: 7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006145/0.5828, allocations: 204.9 kB / 450.4 MB, free: 6.801 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000809/0.5836, allocations: 461.4 kB / 450.8 MB, free: 6.223 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007403/0.5844, allocations: 283.7 kB / 451.1 MB, free: 5.945 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.431e-06/0.5844, allocations: 4 kB / 451.1 MB, free: 5.941 MB / 378.7 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.001891/0.5863, allocations: 0.6803 MB / 451.8 MB, free: 5.258 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.5864, allocations: 12 kB / 451.8 MB, free: 5.246 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001166/0.5865, allocations: 43.97 kB / 451.8 MB, free: 5.203 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.599e-05/0.5865, allocations: 16 kB / 451.8 MB, free: 5.188 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003888/0.5869, allocations: 75.83 kB / 451.9 MB, free: 5.113 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.873e-05/0.587, allocations: 20.05 kB / 451.9 MB, free: 5.094 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006581/0.5877, allocations: 95.19 kB / 452 MB, free: 5 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.644e-05/0.5878, allocations: 39.95 kB / 452.1 MB, free: 4.961 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,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 (57): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0004441/0.5882, allocations: 249.5 kB / 452.3 MB, free: 4.707 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/0.5884, allocations: 51.38 kB / 452.4 MB, free: 4.656 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001457/0.5899, allocations: 494.9 kB / 452.8 MB, free: 4.16 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-05/0.5899, allocations: 7.984 kB / 452.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.767e-06/0.5899, allocations: 0 / 452.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.398e-06/0.5899, allocations: 0 / 452.9 MB, free: 4.152 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009779/0.5909, allocations: 413.2 kB / 453.3 MB, free: 3.699 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.705e-05/0.591, allocations: 35.97 kB / 453.3 MB, free: 3.664 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002351/0.5913, allocations: 39.95 kB / 453.3 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.566e-06/0.5913, allocations: 0 / 453.3 MB, free: 3.625 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.784e-05/0.5914, allocations: 15.98 kB / 453.4 MB, free: 3.609 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.8e-06/0.5914, allocations: 4 kB / 453.4 MB, free: 3.605 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.367e-06/0.5914, allocations: 3.938 kB / 453.4 MB, free: 3.602 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001355/0.5928, allocations: 0.665 MB / 454 MB, free: 2.906 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003365/0.5931, allocations: 180.4 kB / 454.2 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-05/0.5932, allocations: 0 / 454.2 MB, free: 2.711 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004594/0.5937, allocations: 31.97 kB / 454.2 MB, free: 2.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.897e-05/0.5938, allocations: 23.97 kB / 454.3 MB, free: 2.656 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.33e-05/0.5939, allocations: 15.94 kB / 454.3 MB, free: 2.641 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000769/0.5946, allocations: 442.7 kB / 454.7 MB, free: 2.211 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.05e-07/0.5947, allocations: 0 / 454.7 MB, free: 2.211 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001216/0.5959, allocations: 203.7 kB / 454.9 MB, free: 2.012 MB / 378.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0006836/0.5966, allocations: 288.7 kB / 455.2 MB, free: 1.719 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001737/0.5983, allocations: 0.7793 MB / 456 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.935e-06/0.5984, allocations: 0 / 456 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007897/0.5992, allocations: 497 kB / 456.4 MB, free: 316 kB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000841/0.6, allocations: 110.3 kB / 456.6 MB, free: 208 kB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002636/0.6027, allocations: 1.116 MB / 457.7 MB, free: 15.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.6034, allocations: 0.9013 MB / 458.6 MB, free: 14.12 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.6036, allocations: 39.42 kB / 458.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of SimCode: time 1.811e-06/0.6036, allocations: 0 / 458.6 MB, free: 14.09 MB / 394.7 MB Notification: Performance of Templates: time 0.02029/0.6239, allocations: 10.27 MB / 468.9 MB, free: 3.859 MB / 394.7 MB