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_turbulent.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_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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.082/2.082, allocations: 234.9 MB / 250.5 MB, free: 9.547 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004256, allocations: 8 kB / 314.4 MB, free: 9.543 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.298, allocations: 54.87 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1536/0.4517, allocations: 87.81 MB / 457.1 MB, free: 2.762 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003143/0.4521, allocations: 99.94 kB / 457.2 MB, free: 2.664 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04289/0.495, allocations: 10.63 MB / 467.8 MB, free: 7.867 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.015e-06/0.495, allocations: 0 / 467.8 MB, free: 7.867 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.719e-05/0.4951, allocations: 4 kB / 467.8 MB, free: 7.863 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001163/0.4962, allocations: 0.6525 MB / 468.5 MB, free: 7.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.4963, allocations: 12.03 kB / 468.5 MB, free: 7.148 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.4964, allocations: 39.53 kB / 468.5 MB, free: 7.109 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004475/0.4969, allocations: 278.3 kB / 468.8 MB, free: 6.797 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.032e-05/0.4969, allocations: 29 kB / 468.8 MB, free: 6.77 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.269e-05/0.497, allocations: 39.98 kB / 468.9 MB, free: 6.73 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001275/0.4983, allocations: 0.5817 MB / 469.5 MB, free: 6.129 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.123e-05/0.4983, allocations: 7.922 kB / 469.5 MB, free: 6.121 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.4984, allocations: 16 kB / 469.5 MB, free: 6.105 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.881e-05/0.4985, allocations: 24.94 kB / 469.5 MB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001151/0.4996, allocations: 455.6 kB / 469.9 MB, free: 5.637 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002563/0.5022, allocations: 1.398 MB / 471.3 MB, free: 4.172 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007369/0.503, allocations: 283.6 kB / 471.6 MB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.745e-05/0.503, allocations: 15.92 kB / 471.6 MB, free: 3.852 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.87e-05/0.5031, allocations: 39.38 kB / 471.7 MB, free: 3.805 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.349e-06/0.5031, allocations: 0 / 471.7 MB, free: 3.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.001774/0.5049, allocations: 0.7105 MB / 472.4 MB, free: 3.035 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.392e-05/0.505, allocations: 106.9 kB / 472.5 MB, free: 2.906 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000733/0.5057, allocations: 457 kB / 472.9 MB, free: 2.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.922e-05/0.5058, allocations: 33.77 kB / 473 MB, free: 2.414 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000201/0.506, allocations: 234.8 kB / 473.2 MB, free: 2.184 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.371e-05/0.5061, allocations: 63.09 kB / 473.3 MB, free: 2.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.472e-05/0.5061, allocations: 4 kB / 473.3 MB, free: 2.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5063, allocations: 318.8 kB / 473.6 MB, free: 1.797 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004542/0.5068, allocations: 136 kB / 473.7 MB, free: 1.66 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000487/0.5073, allocations: 187.4 kB / 473.9 MB, free: 1.461 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.5078, allocations: 155.8 kB / 474 MB, free: 1.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.975e-06/0.5078, allocations: 0 / 474 MB, free: 1.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001154/0.509, allocations: 373.1 kB / 474.4 MB, free: 0.9375 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.319e-05/0.509, allocations: 11.95 kB / 474.4 MB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.249e-05/0.5091, allocations: 27.97 kB / 474.5 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.5091, allocations: 4.156 kB / 474.5 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002793/0.5094, allocations: 39.97 kB / 474.5 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.92e-06/0.5095, allocations: 0 / 474.5 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003914/0.5099, allocations: 63.5 kB / 474.6 MB, free: 0.793 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.802e-05/0.5099, allocations: 11.98 kB / 474.6 MB, free: 0.7812 MB / 394.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.0002925/0.5102, allocations: 193.6 kB / 474.8 MB, free: 0.582 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001471/0.5104, allocations: 39.44 kB / 474.8 MB, free: 0.543 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001082/0.5115, allocations: 406.8 kB / 475.2 MB, free: 144 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.599e-06/0.5115, allocations: 0 / 475.2 MB, free: 144 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.759e-06/0.5115, allocations: 4 kB / 475.2 MB, free: 140 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.661e-06/0.5115, allocations: 0 / 475.2 MB, free: 140 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.241/0.7525, allocations: 359.6 kB / 475.5 MB, free: 96.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.981e-05/0.7527, allocations: 29.5 kB / 475.6 MB, free: 96.28 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002581/0.7529, allocations: 28.7 kB / 475.6 MB, free: 96.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.442e-06/0.753, allocations: 2.766 kB / 475.6 MB, free: 96.28 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.967e-05/0.753, allocations: 10.73 kB / 475.6 MB, free: 96.28 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.493e-06/0.753, allocations: 7.547 kB / 475.6 MB, free: 96.28 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.686e-06/0.7531, allocations: 1 kB / 475.6 MB, free: 96.28 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001284/0.7543, allocations: 0.6171 MB / 476.2 MB, free: 95.97 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001487/0.7545, allocations: 122.3 kB / 476.4 MB, free: 95.86 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.236e-05/0.7546, allocations: 8.969 kB / 476.4 MB, free: 95.86 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004212/0.7551, allocations: 24.7 kB / 476.4 MB, free: 95.86 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.858e-05/0.7552, allocations: 18.25 kB / 476.4 MB, free: 95.86 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.315e-05/0.7552, allocations: 14.33 kB / 476.4 MB, free: 95.86 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.000666/0.7559, allocations: 374.3 kB / 476.8 MB, free: 95.78 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.45e-07/0.7559, allocations: 0 / 476.8 MB, free: 95.78 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007295/0.7567, allocations: 119.7 kB / 476.9 MB, free: 95.78 MB / 394.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.0003629/0.757, allocations: 203 kB / 477.1 MB, free: 95.69 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001108/0.7582, allocations: 0.5396 MB / 477.6 MB, free: 95.41 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.056e-06/0.7582, allocations: 3.531 kB / 477.7 MB, free: 95.41 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.7588, allocations: 393 kB / 478 MB, free: 95.12 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006587/0.7594, allocations: 95.75 kB / 478.1 MB, free: 95.12 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001875/0.7613, allocations: 0.9192 MB / 479 MB, free: 94.72 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003726/0.7617, allocations: 0.8465 MB / 479.9 MB, free: 94.03 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001189/0.7619, allocations: 29.06 kB / 479.9 MB, free: 94.02 MB / 394.7 MB Notification: Performance of SimCode: time 1.667e-06/0.7619, allocations: 1.625 kB / 479.9 MB, free: 94.02 MB / 394.7 MB Notification: Performance of Templates: time 0.01193/0.7738, allocations: 7.078 MB / 487 MB, free: 93.46 MB / 394.7 MB