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_KC.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_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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 2.015/2.015, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.854e-05/2.87e-05, allocations: 4 kB / 277.9 MB, free: 15.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08532/0.08537, allocations: 48.7 MB / 326.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3374/0.4229, allocations: 80.45 MB / 407 MB, free: 8.25 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00029/0.4232, allocations: 89.31 kB / 407.1 MB, free: 8.234 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03815/0.4614, allocations: 9.395 MB / 416.5 MB, free: 2.449 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.177e-06/0.4614, allocations: 0 / 416.5 MB, free: 2.449 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.574e-05/0.4615, allocations: 8 kB / 416.5 MB, free: 2.441 MB / 314.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.0009464/0.4624, allocations: 0.561 MB / 417.1 MB, free: 1.859 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.486e-05/0.4625, allocations: 8.031 kB / 417.1 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.4626, allocations: 43.53 kB / 417.1 MB, free: 1.809 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004217/0.463, allocations: 276.9 kB / 417.4 MB, free: 1.508 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.86e-05/0.4631, allocations: 35.55 kB / 417.4 MB, free: 1.484 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.294e-05/0.4632, allocations: 46.62 kB / 417.5 MB, free: 1.453 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.4643, allocations: 0.5104 MB / 418 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.934e-05/0.4644, allocations: 0 / 418 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.413e-05/0.4645, allocations: 22.73 kB / 418 MB, free: 1.051 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.913e-05/0.4646, allocations: 28.98 kB / 418 MB, free: 1.023 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009436/0.4655, allocations: 0.5375 MB / 418.6 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.4679, allocations: 1.2 MB / 419.8 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008619/0.4688, allocations: 360.1 kB / 420.1 MB, free: 15.19 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002866/0.4691, allocations: 120.4 kB / 420.2 MB, free: 15.08 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.727e-05/0.4692, allocations: 12.16 kB / 420.2 MB, free: 15.07 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.92e-05/0.4692, allocations: 38 kB / 420.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of pre-optimization done (n=22): time 4.498e-06/0.4692, allocations: 0 / 420.3 MB, free: 15.03 MB / 330.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008433/0.4701, allocations: 316.9 kB / 420.6 MB, free: 14.74 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.882e-05/0.4701, allocations: 55.41 kB / 420.6 MB, free: 14.68 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006392/0.4708, allocations: 399.8 kB / 421 MB, free: 14.34 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.753e-05/0.4709, allocations: 29.64 kB / 421.1 MB, free: 14.31 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001601/0.471, allocations: 226.7 kB / 421.3 MB, free: 14.14 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.4711, allocations: 81.14 kB / 421.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.992e-05/0.4712, allocations: 3.562 kB / 421.4 MB, free: 14.07 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000176/0.4714, allocations: 322.1 kB / 421.7 MB, free: 13.75 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002625/0.4716, allocations: 102.6 kB / 421.8 MB, free: 13.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002551/0.4719, allocations: 101.9 kB / 421.9 MB, free: 13.57 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002923/0.4722, allocations: 113.8 kB / 422 MB, free: 13.46 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.96e-06/0.4722, allocations: 0 / 422 MB, free: 13.46 MB / 330.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007651/0.473, allocations: 292.1 kB / 422.3 MB, free: 13.2 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.473, allocations: 8 kB / 422.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.782e-06/0.4731, allocations: 0 / 422.3 MB, free: 13.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/0.4731, allocations: 7.984 kB / 422.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.4742, allocations: 147.3 kB / 422.4 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004462/0.4787, allocations: 5.516 MB / 428 MB, free: 7.383 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003604/0.4791, allocations: 50.52 kB / 428 MB, free: 7.336 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.443e-05/0.4791, allocations: 15.55 kB / 428 MB, free: 7.324 MB / 330.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.0001393/0.4793, allocations: 112.2 kB / 428.1 MB, free: 7.211 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.571e-05/0.4794, allocations: 35.53 kB / 428.2 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.4805, allocations: 427.7 kB / 428.6 MB, free: 6.805 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.987e-06/0.4805, allocations: 4 kB / 428.6 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.956e-06/0.4805, allocations: 0 / 428.6 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.4805, allocations: 0 / 428.6 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006704/0.4812, allocations: 378.8 kB / 429 MB, free: 6.426 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.8e-06/0.4812, allocations: 3.984 kB / 429 MB, free: 6.422 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00105/0.4823, allocations: 151.4 kB / 429.1 MB, free: 6.277 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.077e-05/0.4823, allocations: 4 kB / 429.1 MB, free: 6.273 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.27e-05/0.4824, allocations: 11.98 kB / 429.1 MB, free: 6.262 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004428/0.4868, allocations: 5.51 MB / 434.6 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.141e-06/0.4868, allocations: 288 / 434.6 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008122/0.4877, allocations: 430.2 kB / 435.1 MB, free: 212 kB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001679/0.4879, allocations: 116.7 kB / 435.2 MB, free: 76 kB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.768e-05/0.4879, allocations: 3.938 kB / 435.2 MB, free: 72 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002867/0.4882, allocations: 18.8 kB / 435.2 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.564e-05/0.4883, allocations: 19.22 kB / 435.2 MB, free: 40 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-05/0.4884, allocations: 11.98 kB / 435.2 MB, free: 28 kB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005349/0.4889, allocations: 331.5 kB / 435.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.79e-07/0.4889, allocations: 0 / 435.5 MB, free: 15.76 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0005602/0.4895, allocations: 109.6 kB / 435.7 MB, free: 15.66 MB / 346.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.0003585/0.4899, allocations: 184.8 kB / 435.8 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001412/0.4913, allocations: 340.4 kB / 436.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.55e-06/0.4913, allocations: 0 / 436.2 MB, free: 15.17 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.4924, allocations: 230.2 kB / 436.4 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.493, allocations: 85.56 kB / 436.5 MB, free: 14.89 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.4944, allocations: 0.581 MB / 437.1 MB, free: 14.33 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006256/0.495, allocations: 0.8561 MB / 437.9 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001112/0.4951, allocations: 27.44 kB / 437.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of SimCode: time 1.747e-06/0.4951, allocations: 0 / 437.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of Templates: time 0.02859/0.5237, allocations: 18.72 MB / 456.7 MB, free: 10.72 MB / 362.7 MB