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_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_overall_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.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_1.1.|kc_1.2.|kc_1.3.|kc_2.1.|kc_2.2.|kc_2.3.|kc_3.1.|kc_3.2.|kc_3.3.|kc_4.1.|kc_4.2.|kc_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") Notification: Performance of loadModel(ModelicaTest): time 1.904/1.904, allocations: 209.3 MB / 222.4 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.41e-05/5.452e-05, allocations: 4 kB / 277.9 MB, free: 12.36 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1206, allocations: 48.71 MB / 326.6 MB, free: 11.55 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3531/0.4738, allocations: 87.03 MB / 413.6 MB, free: 172 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003244/0.4741, allocations: 99.92 kB / 413.7 MB, free: 72 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1029/0.5771, allocations: 23.5 MB / 437.2 MB, free: 8.387 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.75e-06/0.5771, allocations: 4 kB / 437.2 MB, free: 8.383 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.804e-05/0.5772, allocations: 4 kB / 437.2 MB, free: 8.379 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.001329/0.5785, allocations: 0.6856 MB / 437.9 MB, free: 7.648 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.616e-05/0.5786, allocations: 8.031 kB / 437.9 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001537/0.5787, allocations: 55.34 kB / 437.9 MB, free: 7.586 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005404/0.5793, allocations: 314.2 kB / 438.3 MB, free: 7.238 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.384e-05/0.5794, allocations: 41.31 kB / 438.3 MB, free: 7.195 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.5795, allocations: 55.98 kB / 438.4 MB, free: 7.141 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.5809, allocations: 0.7092 MB / 439.1 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.581, allocations: 3.984 kB / 439.1 MB, free: 6.426 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.771e-05/0.5811, allocations: 24 kB / 439.1 MB, free: 6.402 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.64e-05/0.5812, allocations: 49.28 kB / 439.1 MB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001539/0.5827, allocations: 0.7585 MB / 439.9 MB, free: 5.59 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003323/0.586, allocations: 1.528 MB / 441.4 MB, free: 4.004 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009768/0.5871, allocations: 428.5 kB / 441.8 MB, free: 3.578 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003266/0.5874, allocations: 141.2 kB / 442 MB, free: 3.438 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.045e-05/0.5875, allocations: 12.22 kB / 442 MB, free: 3.426 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.5875, allocations: 38.8 kB / 442 MB, free: 3.379 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 3.743e-06/0.5875, allocations: 0 / 442 MB, free: 3.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.0009762/0.5885, allocations: 382 kB / 442.4 MB, free: 3 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.555e-05/0.5886, allocations: 67.28 kB / 442.5 MB, free: 2.922 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008934/0.5895, allocations: 0.5113 MB / 443 MB, free: 2.406 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.778e-05/0.5896, allocations: 33.64 kB / 443 MB, free: 2.367 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.5899, allocations: 317.9 kB / 443.3 MB, free: 2.055 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001286/0.59, allocations: 106.6 kB / 443.4 MB, free: 1.949 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.515e-05/0.59, allocations: 12 kB / 443.4 MB, free: 1.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001914/0.5902, allocations: 334.8 kB / 443.8 MB, free: 1.602 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004047/0.5907, allocations: 169 kB / 443.9 MB, free: 1.438 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006133/0.5913, allocations: 413.2 kB / 444.3 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005338/0.5918, allocations: 251.7 kB / 444.6 MB, free: 0.6797 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.872e-06/0.5919, allocations: 3.984 kB / 444.6 MB, free: 0.6758 MB / 362.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001432/0.5933, allocations: 0.6184 MB / 445.2 MB, free: 52 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.538e-05/0.5934, allocations: 8.625 kB / 445.2 MB, free: 44 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.5934, allocations: 8 kB / 445.2 MB, free: 36 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.437e-05/0.5934, allocations: 12 kB / 445.2 MB, free: 24 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00148/0.5949, allocations: 239.7 kB / 445.5 MB, free: 15.79 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005856/0.6008, allocations: 7.321 MB / 452.8 MB, free: 8.188 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006699/0.6015, allocations: 71.27 kB / 452.9 MB, free: 8.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.837e-05/0.6016, allocations: 32 kB / 452.9 MB, free: 8.086 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002381/0.6019, allocations: 159.8 kB / 453 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000118/0.602, allocations: 47.44 kB / 453.1 MB, free: 7.879 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001384/0.6034, allocations: 0.5296 MB / 453.6 MB, free: 7.336 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.599e-06/0.6034, allocations: 4 kB / 453.6 MB, free: 7.332 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.53e-06/0.6034, allocations: 7.953 kB / 453.6 MB, free: 7.324 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.6035, allocations: 3.984 kB / 453.6 MB, free: 7.32 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000826/0.6043, allocations: 425.2 kB / 454 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.796e-06/0.6043, allocations: 7.938 kB / 454.1 MB, free: 6.848 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001327/0.6057, allocations: 207.8 kB / 454.3 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.978e-06/0.6057, allocations: 0 / 454.3 MB, free: 6.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.729e-05/0.6057, allocations: 15.98 kB / 454.3 MB, free: 6.629 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005761/0.6115, allocations: 7.294 MB / 461.6 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.345e-06/0.6116, allocations: 3.984 kB / 461.6 MB, free: 15.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009747/0.6125, allocations: 483.3 kB / 462 MB, free: 14.56 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002044/0.6128, allocations: 124.7 kB / 462.2 MB, free: 14.42 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.219e-05/0.6129, allocations: 12 kB / 462.2 MB, free: 14.41 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003325/0.6132, allocations: 15.98 kB / 462.2 MB, free: 14.39 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6133, allocations: 27.86 kB / 462.2 MB, free: 14.37 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.675e-05/0.6134, allocations: 15.98 kB / 462.2 MB, free: 14.35 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006478/0.6141, allocations: 401.5 kB / 462.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.61e-07/0.6141, allocations: 0 / 462.6 MB, free: 13.96 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0009806/0.6151, allocations: 187.8 kB / 462.8 MB, free: 13.78 MB / 394.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006214/0.6157, allocations: 282 kB / 463.1 MB, free: 13.5 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002032/0.6178, allocations: 0.5448 MB / 463.6 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.042e-06/0.6178, allocations: 0 / 463.6 MB, free: 12.95 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001315/0.6191, allocations: 292.1 kB / 463.9 MB, free: 12.67 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000742/0.6199, allocations: 113.9 kB / 464 MB, free: 12.56 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.6217, allocations: 0.7227 MB / 464.8 MB, free: 11.8 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007112/0.6224, allocations: 0.9131 MB / 465.7 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000155/0.6226, allocations: 39.42 kB / 465.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of SimCode: time 1.812e-06/0.6226, allocations: 0 / 465.7 MB, free: 10.82 MB / 394.7 MB Notification: Performance of Templates: time 0.07081/0.6934, allocations: 31.74 MB / 497.4 MB, free: 11.07 MB / 426.7 MB