Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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 2.377/2.377, allocations: 209.2 MB / 225.4 MB, free: 0.625 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004412/0.0004412, allocations: 16 kB / 283.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3416/0.3421, allocations: 48.7 MB / 331.8 MB, free: 6.527 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.144/0.4861, allocations: 81.52 MB / 413.3 MB, free: 12.92 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004275/0.4866, allocations: 107.9 kB / 413.5 MB, free: 12.81 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04815/0.5348, allocations: 10.62 MB / 424.1 MB, free: 2.023 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.394e-06/0.5348, allocations: 4 kB / 424.1 MB, free: 2.02 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.298e-05/0.5349, allocations: 8 kB / 424.1 MB, free: 2.012 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.001502/0.5364, allocations: 0.6393 MB / 424.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.5365, allocations: 12.03 kB / 424.7 MB, free: 1.312 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001244/0.5366, allocations: 47.44 kB / 424.8 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005041/0.5371, allocations: 278.5 kB / 425.1 MB, free: 0.9531 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.059e-05/0.5372, allocations: 29 kB / 425.1 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.482e-05/0.5373, allocations: 36 kB / 425.1 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001567/0.5388, allocations: 0.5933 MB / 425.7 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.796e-05/0.5389, allocations: 0 / 425.7 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.073e-05/0.539, allocations: 16 kB / 425.7 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.834e-05/0.539, allocations: 17 kB / 425.7 MB, free: 248 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001512/0.5405, allocations: 455.5 kB / 426.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002995/0.5436, allocations: 1.41 MB / 427.6 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009254/0.5445, allocations: 279.6 kB / 427.9 MB, free: 14.02 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.433e-05/0.5446, allocations: 11.92 kB / 427.9 MB, free: 14.01 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/0.5446, allocations: 43.36 kB / 427.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.747e-06/0.5447, allocations: 0 / 427.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002217/0.5469, allocations: 0.7073 MB / 428.6 MB, free: 13.19 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.038e-05/0.547, allocations: 110.8 kB / 428.7 MB, free: 13.06 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009124/0.5479, allocations: 0.5018 MB / 429.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.95e-05/0.5479, allocations: 25.7 kB / 429.3 MB, free: 12.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001925/0.5482, allocations: 250.5 kB / 429.5 MB, free: 12.27 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.168e-05/0.5482, allocations: 55.2 kB / 429.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.629e-05/0.5483, allocations: 0 / 429.6 MB, free: 12.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000127/0.5484, allocations: 322.8 kB / 429.9 MB, free: 11.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006102/0.549, allocations: 140 kB / 430 MB, free: 11.75 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006332/0.5497, allocations: 181.4 kB / 430.2 MB, free: 11.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006534/0.5504, allocations: 147.9 kB / 430.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.5504, allocations: 0 / 430.3 MB, free: 11.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001473/0.5519, allocations: 369.2 kB / 430.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.5519, allocations: 8 kB / 430.7 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001046/0.552, allocations: 27.98 kB / 430.7 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.552, allocations: 4 kB / 430.7 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003844/0.5524, allocations: 48.05 kB / 430.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/0.5525, allocations: 0 / 430.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000516/0.553, allocations: 71.34 kB / 430.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.469e-05/0.5531, allocations: 11.95 kB / 430.9 MB, free: 10.88 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 () * Number of clocked 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.0003445/0.5534, allocations: 189.7 kB / 431.1 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.5536, allocations: 35.53 kB / 431.1 MB, free: 10.64 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001413/0.555, allocations: 400.6 kB / 431.5 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/0.555, allocations: 7.984 kB / 431.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.555, allocations: 0 / 431.5 MB, free: 10.24 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.424e-06/0.5551, allocations: 3.984 kB / 431.5 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008358/0.5559, allocations: 365.3 kB / 431.8 MB, free: 9.828 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.752e-05/0.556, allocations: 31.97 kB / 431.9 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002816/0.5563, allocations: 31.97 kB / 431.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.592e-06/0.5563, allocations: 0 / 431.9 MB, free: 9.766 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.629e-05/0.5564, allocations: 15.92 kB / 431.9 MB, free: 9.75 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/0.5564, allocations: 7.938 kB / 431.9 MB, free: 9.742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.5564, allocations: 4 kB / 431.9 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001457/0.5579, allocations: 0.5888 MB / 432.5 MB, free: 9.133 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003052/0.5582, allocations: 168.5 kB / 432.7 MB, free: 8.949 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001193/0.5583, allocations: 8 kB / 432.7 MB, free: 8.941 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000487/0.5588, allocations: 23.98 kB / 432.7 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/0.5589, allocations: 15.97 kB / 432.7 MB, free: 8.902 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.189e-05/0.559, allocations: 12 kB / 432.7 MB, free: 8.891 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.000676/0.5597, allocations: 375 kB / 433.1 MB, free: 8.527 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.5597, allocations: 3.938 kB / 433.1 MB, free: 8.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007748/0.5605, allocations: 127.8 kB / 433.2 MB, free: 8.398 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 () * Number of clocked 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.0004506/0.5609, allocations: 196 kB / 433.4 MB, free: 8.203 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.5625, allocations: 0.5342 MB / 434 MB, free: 7.613 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.5625, allocations: 12.25 kB / 434 MB, free: 7.602 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008065/0.5633, allocations: 395.1 kB / 434.4 MB, free: 7.16 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008116/0.5642, allocations: 97.5 kB / 434.5 MB, free: 7.062 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.5666, allocations: 0.9249 MB / 435.4 MB, free: 6.094 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005345/0.5671, allocations: 0.846 MB / 436.2 MB, free: 5.223 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.5673, allocations: 31.42 kB / 436.3 MB, free: 5.191 MB / 362.7 MB Notification: Performance of SimCode: time 1.223e-06/0.5673, allocations: 0 / 436.3 MB, free: 5.191 MB / 362.7 MB Notification: Performance of Templates: time 0.01732/0.5846, allocations: 7.075 MB / 443.3 MB, free: 14.14 MB / 378.7 MB