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/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_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.003/2.003, allocations: 209.2 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004669/0.0004671, allocations: 12 kB / 282.6 MB, free: 9.566 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.29/0.2905, allocations: 48.7 MB / 331.3 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1221/0.4126, allocations: 81.53 MB / 412.8 MB, free: 12.86 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003179/0.4129, allocations: 91.94 kB / 412.9 MB, free: 12.77 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04336/0.4563, allocations: 10.62 MB / 423.5 MB, free: 1.984 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.588e-06/0.4564, allocations: 8 kB / 423.6 MB, free: 1.977 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.847e-05/0.4564, allocations: 4 kB / 423.6 MB, free: 1.973 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.001227/0.4576, allocations: 0.6432 MB / 424.2 MB, free: 1.281 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.4577, allocations: 16.03 kB / 424.2 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.4578, allocations: 47.38 kB / 424.3 MB, free: 1.219 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004837/0.4583, allocations: 274.5 kB / 424.5 MB, free: 0.9102 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.994e-05/0.4584, allocations: 29 kB / 424.6 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.626e-05/0.4585, allocations: 39.98 kB / 424.6 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001309/0.4598, allocations: 0.5855 MB / 425.2 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.596e-05/0.4598, allocations: 0 / 425.2 MB, free: 240 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.623e-05/0.4599, allocations: 19.98 kB / 425.2 MB, free: 220 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.748e-05/0.46, allocations: 20.98 kB / 425.2 MB, free: 200 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.4611, allocations: 455.5 kB / 425.7 MB, free: 15.75 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002667/0.4638, allocations: 1.406 MB / 427.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007662/0.4646, allocations: 283.6 kB / 427.4 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.276e-05/0.4647, allocations: 11.97 kB / 427.4 MB, free: 13.96 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.914e-05/0.4648, allocations: 39.31 kB / 427.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.585e-06/0.4648, allocations: 0 / 427.4 MB, free: 13.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.001871/0.4667, allocations: 0.7087 MB / 428.1 MB, free: 13.15 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.948e-05/0.4668, allocations: 106.8 kB / 428.2 MB, free: 13.02 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008142/0.4676, allocations: 461.2 kB / 428.7 MB, free: 12.56 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.847e-05/0.4677, allocations: 29.7 kB / 428.7 MB, free: 12.53 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002048/0.4679, allocations: 246.5 kB / 428.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.798e-05/0.468, allocations: 51.2 kB / 429 MB, free: 12.23 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-05/0.468, allocations: 8 kB / 429 MB, free: 12.23 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001688/0.4682, allocations: 318.8 kB / 429.3 MB, free: 11.91 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000468/0.4687, allocations: 140 kB / 429.4 MB, free: 11.77 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000477/0.4692, allocations: 186.2 kB / 429.6 MB, free: 11.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004981/0.4697, allocations: 152.8 kB / 429.8 MB, free: 11.42 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.821e-06/0.4697, allocations: 0 / 429.8 MB, free: 11.42 MB / 362.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001157/0.4709, allocations: 369.1 kB / 430.1 MB, free: 11.05 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.226e-05/0.4709, allocations: 8 kB / 430.1 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.732e-05/0.471, allocations: 27.97 kB / 430.2 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.4711, allocations: 4 kB / 430.2 MB, free: 11.01 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002822/0.4713, allocations: 48.05 kB / 430.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.313e-06/0.4714, allocations: 0 / 430.2 MB, free: 10.96 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004099/0.4718, allocations: 67.36 kB / 430.3 MB, free: 10.9 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.773e-05/0.4719, allocations: 11.98 kB / 430.3 MB, free: 10.89 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.0003069/0.4722, allocations: 193.7 kB / 430.5 MB, free: 10.69 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001473/0.4723, allocations: 35.53 kB / 430.5 MB, free: 10.65 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001108/0.4735, allocations: 404.5 kB / 430.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-05/0.4735, allocations: 4 kB / 430.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.331e-06/0.4735, allocations: 0 / 430.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.24e-06/0.4735, allocations: 3.984 kB / 430.9 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008187/0.4743, allocations: 369.2 kB / 431.3 MB, free: 9.836 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.462e-05/0.4744, allocations: 27.97 kB / 431.3 MB, free: 9.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.4747, allocations: 31.97 kB / 431.3 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.4747, allocations: 0 / 431.3 MB, free: 9.777 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.606e-05/0.4747, allocations: 16 kB / 431.4 MB, free: 9.762 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.205e-06/0.4748, allocations: 3.984 kB / 431.4 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.401e-06/0.4748, allocations: 0 / 431.4 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.476, allocations: 0.6207 MB / 432 MB, free: 9.109 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002952/0.4763, allocations: 168.5 kB / 432.1 MB, free: 8.926 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.291e-05/0.4764, allocations: 7.984 kB / 432.2 MB, free: 8.918 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004255/0.4769, allocations: 23.98 kB / 432.2 MB, free: 8.895 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.477, allocations: 23.92 kB / 432.2 MB, free: 8.871 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.02e-05/0.477, allocations: 12 kB / 432.2 MB, free: 8.859 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006331/0.4777, allocations: 375 kB / 432.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.4777, allocations: 0 / 432.6 MB, free: 8.496 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007767/0.4785, allocations: 119.8 kB / 432.7 MB, free: 8.379 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.0004403/0.4789, allocations: 204.8 kB / 432.9 MB, free: 8.168 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001255/0.4802, allocations: 0.5461 MB / 433.4 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.721e-06/0.4802, allocations: 0 / 433.4 MB, free: 7.566 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006741/0.4809, allocations: 395.1 kB / 433.8 MB, free: 7.125 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007713/0.4817, allocations: 89.58 kB / 433.9 MB, free: 7.035 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.4838, allocations: 0.9171 MB / 434.8 MB, free: 6.078 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000627/0.4844, allocations: 0.846 MB / 435.7 MB, free: 5.203 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.4845, allocations: 27.44 kB / 435.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of SimCode: time 1.496e-06/0.4846, allocations: 0 / 435.7 MB, free: 5.176 MB / 362.7 MB Notification: Performance of Templates: time 0.01547/0.5, allocations: 7.094 MB / 442.8 MB, free: 14.11 MB / 378.7 MB