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.HelicalPipe.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.HelicalPipe.kc_overall,tolerance=1e-07,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.|frac_dhydTodcoil.1.|frac_dhydTodcoil.2.|frac_dhydTodcoil.3.|d_coil.1.|d_coil.2.|d_coil.3.|d_w.1.|d_w.2.|d_w.3.|n_nt.1.|n_nt.2.|n_nt.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.HelicalPipe.kc_overall") Notification: Performance of loadModel(ModelicaTest): time 1.817/1.817, allocations: 209.3 MB / 222.4 MB, free: 7.734 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.36e-05/3.377e-05, allocations: 8 kB / 277.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08279/0.08285, allocations: 48.69 MB / 326.6 MB, free: 14.5 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4096/0.4925, allocations: 86.8 MB / 413.4 MB, free: 4.875 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002734/0.4928, allocations: 104.3 kB / 413.5 MB, free: 4.812 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06457/0.5574, allocations: 15.25 MB / 428.7 MB, free: 7.531 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.227e-06/0.5574, allocations: 0 / 428.7 MB, free: 7.531 MB / 330.7 MB Notification: Performance of Transformations before backend: time 2.648e-05/0.5575, allocations: 8 kB / 428.7 MB, free: 7.523 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001277/0.5588, allocations: 0.6655 MB / 429.4 MB, free: 6.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.5588, allocations: 8.031 kB / 429.4 MB, free: 6.832 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001219/0.559, allocations: 47.44 kB / 429.4 MB, free: 6.785 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005461/0.5595, allocations: 317.7 kB / 429.8 MB, free: 6.445 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.543e-05/0.5596, allocations: 28.47 kB / 429.8 MB, free: 6.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.5597, allocations: 34.12 kB / 429.8 MB, free: 6.406 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001032/0.5607, allocations: 0.5328 MB / 430.3 MB, free: 5.984 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.5607, allocations: 3.938 kB / 430.4 MB, free: 5.98 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.216e-05/0.5608, allocations: 18.62 kB / 430.4 MB, free: 5.977 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.542e-05/0.5609, allocations: 24.77 kB / 430.4 MB, free: 5.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007651/0.5616, allocations: 364.5 kB / 430.7 MB, free: 5.68 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002716/0.5644, allocations: 1.417 MB / 432.2 MB, free: 4.363 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.565, allocations: 250.7 kB / 432.4 MB, free: 4.117 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002644/0.5653, allocations: 110.7 kB / 432.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.601e-05/0.5653, allocations: 4 kB / 432.5 MB, free: 4.008 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.5654, allocations: 38.44 kB / 432.6 MB, free: 3.965 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 3.783e-06/0.5654, allocations: 4 kB / 432.6 MB, free: 3.961 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.000863/0.5662, allocations: 276.5 kB / 432.8 MB, free: 3.703 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.659e-05/0.5663, allocations: 106.8 kB / 432.9 MB, free: 3.574 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008379/0.5672, allocations: 0.4937 MB / 433.4 MB, free: 3.172 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.808e-05/0.5672, allocations: 25.7 kB / 433.5 MB, free: 3.141 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001833/0.5674, allocations: 251.2 kB / 433.7 MB, free: 2.961 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.467e-05/0.5675, allocations: 58.17 kB / 433.8 MB, free: 2.91 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.264e-05/0.5676, allocations: 4.062 kB / 433.8 MB, free: 2.906 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001721/0.5678, allocations: 322.7 kB / 434.1 MB, free: 2.586 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000271/0.568, allocations: 98.58 kB / 434.2 MB, free: 2.496 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003/0.5683, allocations: 143 kB / 434.3 MB, free: 2.355 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.5687, allocations: 118.4 kB / 434.4 MB, free: 2.25 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.418e-06/0.5687, allocations: 0 / 434.4 MB, free: 2.25 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007663/0.5695, allocations: 286.6 kB / 434.7 MB, free: 1.992 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.5695, allocations: 8 kB / 434.7 MB, free: 1.984 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.752e-05/0.5696, allocations: 27.97 kB / 434.7 MB, free: 1.957 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.624e-05/0.5696, allocations: 4 kB / 434.7 MB, free: 1.953 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003101/0.5699, allocations: 40.12 kB / 434.8 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.118e-06/0.57, allocations: 0 / 434.8 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000429/0.5704, allocations: 70.84 kB / 434.9 MB, free: 1.848 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.713e-05/0.5705, allocations: 19.94 kB / 434.9 MB, free: 1.828 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001435/0.5706, allocations: 120 kB / 435 MB, free: 1.711 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001563/0.5708, allocations: 39.53 kB / 435 MB, free: 1.672 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009019/0.5717, allocations: 364.2 kB / 435.4 MB, free: 1.348 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.643e-06/0.5717, allocations: 4 kB / 435.4 MB, free: 1.344 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.062e-05/0.5718, allocations: 4 kB / 435.4 MB, free: 1.34 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.651e-06/0.5718, allocations: 3.938 kB / 435.4 MB, free: 1.336 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007748/0.5725, allocations: 374.8 kB / 435.8 MB, free: 0.9648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.97e-05/0.5726, allocations: 27.97 kB / 435.8 MB, free: 0.9375 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002144/0.5729, allocations: 31.97 kB / 435.8 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.42e-06/0.5729, allocations: 4 kB / 435.8 MB, free: 0.9023 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.82e-05/0.5729, allocations: 11.42 kB / 435.8 MB, free: 0.8945 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.822e-06/0.573, allocations: 4 kB / 435.8 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.573, allocations: 0 / 435.8 MB, free: 0.8906 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008453/0.5738, allocations: 0.5497 MB / 436.4 MB, free: 348 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002776/0.5741, allocations: 171.6 kB / 436.6 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.836e-05/0.5742, allocations: 0 / 436.6 MB, free: 168 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/0.5747, allocations: 35.66 kB / 436.6 MB, free: 136 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.148e-05/0.5748, allocations: 19.5 kB / 436.6 MB, free: 120 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.781e-05/0.5749, allocations: 11.98 kB / 436.6 MB, free: 108 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000637/0.5755, allocations: 403.6 kB / 437 MB, free: 15.79 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.5755, allocations: 0 / 437 MB, free: 15.79 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0008537/0.5764, allocations: 162.5 kB / 437.2 MB, free: 15.64 MB / 346.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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0005685/0.577, allocations: 280.2 kB / 437.5 MB, free: 15.37 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0008167/0.5778, allocations: 473.5 kB / 437.9 MB, free: 14.88 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.212e-06/0.5778, allocations: 4 kB / 437.9 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004787/0.5783, allocations: 353.4 kB / 438.3 MB, free: 14.48 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006865/0.579, allocations: 96.31 kB / 438.4 MB, free: 14.41 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001651/0.5807, allocations: 0.6495 MB / 439 MB, free: 13.77 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/0.5813, allocations: 0.8593 MB / 439.9 MB, free: 12.89 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000117/0.5815, allocations: 31.42 kB / 439.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of SimCode: time 1.656e-06/0.5815, allocations: 3.938 kB / 439.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of Templates: time 0.01559/0.5971, allocations: 8.08 MB / 448 MB, free: 4.828 MB / 346.7 MB