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.HelicalPipe.kc_laminar_KC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|n_nt.1.|n_nt.2.|n_nt.3.|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.|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.|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.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC") Notification: Performance of loadModel(ModelicaTest): time 2.34/2.34, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000436/0.0004361, allocations: 12 kB / 314.4 MB, free: 9.523 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2751, allocations: 54.85 MB / 369.3 MB, free: 10.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1417/0.4169, allocations: 86.82 MB / 456.1 MB, free: 3.781 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.4172, allocations: 99.92 kB / 456.2 MB, free: 3.684 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04009/0.4573, allocations: 9.335 MB / 465.5 MB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.602e-06/0.4574, allocations: 4 kB / 465.5 MB, free: 10.17 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.753e-05/0.4574, allocations: 4 kB / 465.6 MB, free: 10.17 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001015/0.4584, allocations: 0.5887 MB / 466.1 MB, free: 9.527 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4585, allocations: 8.031 kB / 466.1 MB, free: 9.52 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.4586, allocations: 43.48 kB / 466.2 MB, free: 9.477 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004351/0.4591, allocations: 278.3 kB / 466.5 MB, free: 9.164 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.4591, allocations: 29 kB / 466.5 MB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.297e-05/0.4592, allocations: 43.97 kB / 466.5 MB, free: 9.094 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00112/0.4603, allocations: 0.5373 MB / 467.1 MB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.548e-05/0.4604, allocations: 0 / 467.1 MB, free: 8.551 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.806e-05/0.4604, allocations: 19.98 kB / 467.1 MB, free: 8.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.361e-05/0.4605, allocations: 36.97 kB / 467.1 MB, free: 8.496 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001246/0.4618, allocations: 0.5815 MB / 467.7 MB, free: 7.914 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002455/0.4643, allocations: 1.199 MB / 468.9 MB, free: 6.66 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008979/0.4652, allocations: 380 kB / 469.3 MB, free: 6.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.949e-05/0.4652, allocations: 4.188 kB / 469.3 MB, free: 6.277 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.097e-05/0.4653, allocations: 38.75 kB / 469.3 MB, free: 6.23 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 3.018e-06/0.4653, allocations: 0 / 469.3 MB, free: 6.23 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.001323/0.4666, allocations: 469.8 kB / 469.8 MB, free: 5.77 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.098e-05/0.4667, allocations: 63.41 kB / 469.8 MB, free: 5.695 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006364/0.4674, allocations: 408.7 kB / 470.2 MB, free: 5.289 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.286e-05/0.4674, allocations: 29.7 kB / 470.3 MB, free: 5.254 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.4676, allocations: 230.8 kB / 470.5 MB, free: 5.027 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.802e-05/0.4677, allocations: 74.94 kB / 470.6 MB, free: 4.953 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.192e-05/0.4677, allocations: 4 kB / 470.6 MB, free: 4.949 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4679, allocations: 318.8 kB / 470.9 MB, free: 4.629 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003376/0.4683, allocations: 119.9 kB / 471 MB, free: 4.512 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003274/0.4686, allocations: 119.9 kB / 471.1 MB, free: 4.395 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003667/0.469, allocations: 142.4 kB / 471.3 MB, free: 4.258 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.804e-06/0.469, allocations: 0 / 471.3 MB, free: 4.258 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000859/0.4699, allocations: 317.3 kB / 471.6 MB, free: 3.941 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.199e-05/0.4699, allocations: 4 kB / 471.6 MB, free: 3.938 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.47, allocations: 7.938 kB / 471.6 MB, free: 3.93 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.391e-05/0.47, allocations: 3.938 kB / 471.6 MB, free: 3.926 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001046/0.471, allocations: 151.9 kB / 471.7 MB, free: 3.777 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3197/0.7908, allocations: 5.516 MB / 477.2 MB, free: 95.69 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00035/0.7912, allocations: 49.44 kB / 477.3 MB, free: 95.69 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.591e-05/0.7912, allocations: 11.66 kB / 477.3 MB, free: 95.69 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 initialization (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003078/0.7916, allocations: 188.2 kB / 477.5 MB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.7917, allocations: 41.55 kB / 477.5 MB, free: 95.57 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001435/0.7931, allocations: 450.4 kB / 478 MB, free: 95.52 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.402e-06/0.7932, allocations: 6.438 kB / 478 MB, free: 95.51 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.7932, allocations: 4.344 kB / 478 MB, free: 95.51 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.918e-06/0.7932, allocations: 0.7031 kB / 478 MB, free: 95.51 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007264/0.7939, allocations: 369.6 kB / 478.3 MB, free: 95.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.104e-06/0.794, allocations: 1.297 kB / 478.3 MB, free: 95.32 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.7951, allocations: 153.2 kB / 478.5 MB, free: 95.32 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.01e-05/0.7951, allocations: 5.547 kB / 478.5 MB, free: 95.32 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.532e-05/0.7952, allocations: 13.34 kB / 478.5 MB, free: 95.32 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002621/0.7978, allocations: 5.523 MB / 484 MB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.007e-06/0.7978, allocations: 0 / 484 MB, free: 90.05 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009866/0.7988, allocations: 452.7 kB / 484.5 MB, free: 89.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001276/0.799, allocations: 118.5 kB / 484.6 MB, free: 89.79 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.143e-05/0.7991, allocations: 5.453 kB / 484.6 MB, free: 89.79 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002673/0.7994, allocations: 18.75 kB / 484.6 MB, free: 89.79 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.078e-05/0.7994, allocations: 16.19 kB / 484.6 MB, free: 89.79 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.83e-05/0.7995, allocations: 14.86 kB / 484.6 MB, free: 89.79 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004523/0.8, allocations: 333.5 kB / 485 MB, free: 89.7 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.14e-07/0.8, allocations: 0 / 485 MB, free: 89.7 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005561/0.8005, allocations: 109.2 kB / 485.1 MB, free: 89.7 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 9 * 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: 9 {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.0003167/0.8009, allocations: 176.5 kB / 485.2 MB, free: 89.61 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001461/0.8023, allocations: 383.7 kB / 485.6 MB, free: 89.61 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.8024, allocations: 0 / 485.6 MB, free: 89.61 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001072/0.8035, allocations: 244.5 kB / 485.9 MB, free: 89.61 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005679/0.804, allocations: 84.83 kB / 485.9 MB, free: 89.6 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001593/0.8057, allocations: 0.8967 MB / 486.8 MB, free: 89.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.8061, allocations: 0.8599 MB / 487.7 MB, free: 88.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001091/0.8062, allocations: 29.73 kB / 487.7 MB, free: 88.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.578e-06/0.8062, allocations: 1.375 kB / 487.7 MB, free: 88.5 MB / 394.7 MB Notification: Performance of Templates: time 0.02171/0.8279, allocations: 18.7 MB / 0.4946 GB, free: 75.65 MB / 394.7 MB