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_turbulent.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent,tolerance=1e-07,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.|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.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadModel(ModelicaTest): time 1.927/1.927, allocations: 209.4 MB / 217.3 MB, free: 4.117 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.835e-05/1.842e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.301/0.301, allocations: 48.69 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1207/0.4218, allocations: 80.78 MB / 400.8 MB, free: 15.66 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000284/0.4221, allocations: 99.91 kB / 400.9 MB, free: 15.57 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04437/0.4665, allocations: 10.48 MB / 411.4 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.281e-06/0.4665, allocations: 0 / 411.4 MB, free: 4.914 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.05e-05/0.4665, allocations: 4 kB / 411.4 MB, free: 4.91 MB / 346.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.001576/0.4681, allocations: 0.6221 MB / 412 MB, free: 4.246 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.4682, allocations: 8.031 kB / 412 MB, free: 4.238 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001926/0.4684, allocations: 47.42 kB / 412.1 MB, free: 4.191 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006792/0.4691, allocations: 294.2 kB / 412.4 MB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.713e-05/0.4692, allocations: 12 kB / 412.4 MB, free: 3.852 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.4693, allocations: 24 kB / 412.4 MB, free: 3.828 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001155/0.4705, allocations: 325.9 kB / 412.7 MB, free: 3.512 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001613/0.4721, allocations: 498.6 kB / 413.2 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.473e-05/0.4722, allocations: 0 / 413.2 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/0.4723, allocations: 0 / 413.2 MB, free: 3.004 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.929e-05/0.4724, allocations: 32.64 kB / 413.2 MB, free: 2.973 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003624/0.476, allocations: 1.229 MB / 414.5 MB, free: 1.691 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.4766, allocations: 243.6 kB / 414.7 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.4768, allocations: 107.3 kB / 414.8 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/0.4769, allocations: 4 kB / 414.8 MB, free: 1.309 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.393e-05/0.4769, allocations: 46.55 kB / 414.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of pre-optimization done (n=17): time 3.115e-06/0.4769, allocations: 0 / 414.8 MB, free: 1.254 MB / 346.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007621/0.4777, allocations: 245.2 kB / 415.1 MB, free: 1.008 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.203e-05/0.4778, allocations: 110.9 kB / 415.2 MB, free: 0.875 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002661/0.4781, allocations: 187.2 kB / 415.4 MB, free: 0.6836 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.854e-05/0.4781, allocations: 25.81 kB / 415.4 MB, free: 0.6523 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.4783, allocations: 286.2 kB / 415.7 MB, free: 380 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.434e-05/0.4784, allocations: 55.2 kB / 415.7 MB, free: 324 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.327e-05/0.4785, allocations: 0 / 415.7 MB, free: 324 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001872/0.4787, allocations: 330.7 kB / 416.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002384/0.4789, allocations: 92.09 kB / 416.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002848/0.4792, allocations: 141.4 kB / 416.3 MB, free: 15.73 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002794/0.4795, allocations: 108.9 kB / 416.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.171e-06/0.4795, allocations: 0 / 416.4 MB, free: 15.63 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007135/0.4803, allocations: 278 kB / 416.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.87e-05/0.4803, allocations: 4 kB / 416.7 MB, free: 15.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.221e-05/0.4804, allocations: 31.97 kB / 416.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.943e-05/0.4804, allocations: 0 / 416.7 MB, free: 15.32 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002827/0.4807, allocations: 39.97 kB / 416.7 MB, free: 15.28 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.982e-06/0.4808, allocations: 4.156 kB / 416.7 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000281/0.481, allocations: 39.81 kB / 416.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.4811, allocations: 8 kB / 416.8 MB, free: 15.23 MB / 362.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.0001355/0.4813, allocations: 116.9 kB / 416.9 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001239/0.4814, allocations: 15.81 kB / 416.9 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000827/0.4822, allocations: 336.7 kB / 417.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.526e-06/0.4823, allocations: 0 / 417.3 MB, free: 14.76 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.146e-06/0.4823, allocations: 4 kB / 417.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.158e-05/0.4823, allocations: 0 / 417.3 MB, free: 14.75 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000726/0.483, allocations: 337.8 kB / 417.6 MB, free: 14.39 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.168e-05/0.4831, allocations: 27.97 kB / 417.6 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002073/0.4833, allocations: 31.91 kB / 417.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.869e-06/0.4834, allocations: 11.94 kB / 417.7 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.248e-05/0.4834, allocations: 8 kB / 417.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.323e-06/0.4834, allocations: 4 kB / 417.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4834, allocations: 0 / 417.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007869/0.4842, allocations: 0.5131 MB / 418.2 MB, free: 13.76 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000209/0.4845, allocations: 144.8 kB / 418.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.4845, allocations: 0 / 418.3 MB, free: 13.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003574/0.4849, allocations: 27.91 kB / 418.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.999e-05/0.485, allocations: 19.97 kB / 418.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.475e-05/0.4851, allocations: 8 kB / 418.4 MB, free: 13.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001844/0.4853, allocations: 149.5 kB / 418.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.08e-07/0.4853, allocations: 0 / 418.5 MB, free: 13.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007782/0.4861, allocations: 147.4 kB / 418.7 MB, free: 13.26 MB / 362.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.0004051/0.4865, allocations: 197.1 kB / 418.9 MB, free: 13.06 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008195/0.4873, allocations: 464 kB / 419.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.029e-06/0.4873, allocations: 320 / 419.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004529/0.4878, allocations: 351.2 kB / 419.7 MB, free: 12.15 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004574/0.4883, allocations: 29.41 kB / 419.7 MB, free: 12.13 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001616/0.4899, allocations: 0.5734 MB / 420.3 MB, free: 11.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006431/0.4906, allocations: 0.8528 MB / 421.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.561e-05/0.4907, allocations: 11.44 kB / 421.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of SimCode: time 2.037e-06/0.4907, allocations: 0 / 421.1 MB, free: 10.62 MB / 362.7 MB Notification: Performance of Templates: time 0.01105/0.5018, allocations: 5.563 MB / 426.7 MB, free: 5.062 MB / 362.7 MB