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_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_turbulent_KC,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.|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_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 2.36/2.36, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.897e-05/2.907e-05, allocations: 4 kB / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3741/0.3742, allocations: 54.85 MB / 364.6 MB, free: 5.543 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1411/0.5153, allocations: 86.8 MB / 451.4 MB, free: 9.684 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003206/0.5157, allocations: 91.94 kB / 451.4 MB, free: 9.594 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04174/0.5574, allocations: 9.416 MB / 460.9 MB, free: 44 kB / 378.7 MB Notification: Performance of FrontEnd: time 2.287e-06/0.5575, allocations: 0 / 460.9 MB, free: 44 kB / 378.7 MB Notification: Performance of Transformations before backend: time 1.595e-05/0.5575, allocations: 8 kB / 460.9 MB, free: 36 kB / 378.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.0009908/0.5585, allocations: 0.5568 MB / 461.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.5586, allocations: 9.062 kB / 461.4 MB, free: 15.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.5587, allocations: 43.48 kB / 461.5 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004596/0.5592, allocations: 282.2 kB / 461.8 MB, free: 15.07 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.109e-05/0.5592, allocations: 28.78 kB / 461.8 MB, free: 15.04 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.735e-05/0.5593, allocations: 36 kB / 461.8 MB, free: 15 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001036/0.5604, allocations: 0.5164 MB / 462.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/0.5604, allocations: 0 / 462.3 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.318e-05/0.5605, allocations: 16 kB / 462.4 MB, free: 14.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.379e-05/0.5605, allocations: 32.98 kB / 462.4 MB, free: 14.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001097/0.5616, allocations: 0.5387 MB / 462.9 MB, free: 13.89 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002496/0.5642, allocations: 1.202 MB / 464.1 MB, free: 12.63 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008193/0.565, allocations: 359.9 kB / 464.5 MB, free: 12.28 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002824/0.5653, allocations: 117.1 kB / 464.6 MB, free: 12.16 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.527e-05/0.5654, allocations: 12.17 kB / 464.6 MB, free: 12.15 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.5654, allocations: 38.77 kB / 464.6 MB, free: 12.1 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 3.077e-06/0.5654, allocations: 0 / 464.6 MB, free: 12.1 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008176/0.5663, allocations: 314.6 kB / 464.9 MB, free: 11.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.893e-05/0.5663, allocations: 59.36 kB / 465 MB, free: 11.72 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006589/0.567, allocations: 403.5 kB / 465.4 MB, free: 11.32 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.856e-05/0.5671, allocations: 29.7 kB / 465.4 MB, free: 11.29 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001674/0.5672, allocations: 222.9 kB / 465.6 MB, free: 11.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.807e-05/0.5673, allocations: 82.84 kB / 465.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.5674, allocations: 0 / 465.7 MB, free: 10.98 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001595/0.5675, allocations: 318.8 kB / 466 MB, free: 10.66 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002529/0.5678, allocations: 103.9 kB / 466.1 MB, free: 10.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002548/0.5681, allocations: 102.7 kB / 466.2 MB, free: 10.46 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002797/0.5684, allocations: 119.8 kB / 466.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.699e-06/0.5684, allocations: 0 / 466.4 MB, free: 10.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006983/0.5691, allocations: 285.2 kB / 466.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.5691, allocations: 4 kB / 466.6 MB, free: 10.06 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.449e-06/0.5692, allocations: 4 kB / 466.6 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.5692, allocations: 4 kB / 466.6 MB, free: 10.05 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00105/0.5702, allocations: 151.9 kB / 466.8 MB, free: 9.902 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004289/0.5745, allocations: 5.52 MB / 472.3 MB, free: 4.172 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003486/0.5749, allocations: 51.45 kB / 472.4 MB, free: 4.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.905e-05/0.575, allocations: 8 kB / 472.4 MB, free: 4.113 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 () * 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.0001486/0.5752, allocations: 124.9 kB / 472.5 MB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.444e-05/0.5753, allocations: 35.53 kB / 472.5 MB, free: 3.949 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001056/0.5763, allocations: 422.6 kB / 472.9 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.444e-06/0.5764, allocations: 0 / 472.9 MB, free: 3.531 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.178e-05/0.5764, allocations: 11.94 kB / 473 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5764, allocations: 0 / 473 MB, free: 3.52 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006462/0.577, allocations: 369.3 kB / 473.3 MB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.321e-06/0.5771, allocations: 0 / 473.3 MB, free: 3.109 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.5781, allocations: 151.8 kB / 473.5 MB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/0.5781, allocations: 4 kB / 473.5 MB, free: 2.957 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.579e-05/0.5782, allocations: 11.98 kB / 473.5 MB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004289/0.5825, allocations: 5.515 MB / 479 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.357e-06/0.5825, allocations: 3.953 kB / 479 MB, free: 13.22 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008228/0.5833, allocations: 424.9 kB / 479.4 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001675/0.5835, allocations: 112.7 kB / 479.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.128e-05/0.5836, allocations: 8 kB / 479.5 MB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002756/0.5839, allocations: 15.98 kB / 479.5 MB, free: 12.64 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.584, allocations: 23.92 kB / 479.6 MB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.541e-05/0.584, allocations: 11.94 kB / 479.6 MB, free: 12.6 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005035/0.5846, allocations: 330.1 kB / 479.9 MB, free: 12.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.87e-07/0.5846, allocations: 4 kB / 479.9 MB, free: 12.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005808/0.5852, allocations: 107.8 kB / 480 MB, free: 12.17 MB / 410.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 () * 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.0003644/0.5856, allocations: 183 kB / 480.2 MB, free: 11.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001392/0.587, allocations: 343 kB / 480.5 MB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.587, allocations: 0 / 480.5 MB, free: 11.65 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001047/0.5881, allocations: 227.7 kB / 480.8 MB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006196/0.5887, allocations: 81.28 kB / 480.8 MB, free: 11.35 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001329/0.59, allocations: 0.5784 MB / 481.4 MB, free: 10.74 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000618/0.5907, allocations: 0.8542 MB / 482.3 MB, free: 9.859 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001184/0.5908, allocations: 31.42 kB / 482.3 MB, free: 9.828 MB / 410.7 MB Notification: Performance of SimCode: time 2.024e-06/0.5908, allocations: 3.938 kB / 482.3 MB, free: 9.824 MB / 410.7 MB Notification: Performance of Templates: time 0.02823/0.6191, allocations: 18.73 MB / 0.4893 GB, free: 7.098 MB / 426.7 MB