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 1.991/1.991, allocations: 209.3 MB / 224.8 MB, free: 204 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004367, allocations: 12 kB / 282.6 MB, free: 9.562 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2847/0.2852, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1425/0.4278, allocations: 80.55 MB / 411.8 MB, free: 13.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003238/0.4282, allocations: 95.94 kB / 411.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04005/0.4682, allocations: 9.372 MB / 421.3 MB, free: 4.238 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.531e-06/0.4683, allocations: 11.94 kB / 421.3 MB, free: 4.227 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.4683, allocations: 4 kB / 421.3 MB, free: 4.223 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009842/0.4693, allocations: 0.581 MB / 421.9 MB, free: 3.594 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.4693, allocations: 8.031 kB / 421.9 MB, free: 3.586 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001045/0.4695, allocations: 43.53 kB / 422 MB, free: 3.543 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004398/0.4699, allocations: 278.3 kB / 422.2 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.277e-05/0.47, allocations: 32.95 kB / 422.3 MB, free: 3.199 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.4701, allocations: 43.98 kB / 422.3 MB, free: 3.156 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001137/0.4712, allocations: 0.5295 MB / 422.8 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.507e-05/0.4713, allocations: 0 / 422.8 MB, free: 2.621 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.982e-05/0.4713, allocations: 19.98 kB / 422.9 MB, free: 2.602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.475e-05/0.4714, allocations: 32.97 kB / 422.9 MB, free: 2.566 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001257/0.4727, allocations: 0.5777 MB / 423.5 MB, free: 1.992 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002419/0.4751, allocations: 1.21 MB / 424.7 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009001/0.476, allocations: 376.1 kB / 425 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.982e-05/0.4761, allocations: 4.188 kB / 425 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.4761, allocations: 34.75 kB / 425.1 MB, free: 308 kB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.014e-06/0.4761, allocations: 0 / 425.1 MB, free: 308 kB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001327/0.4775, allocations: 485.8 kB / 425.6 MB, free: 15.82 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.102e-05/0.4776, allocations: 55.41 kB / 425.6 MB, free: 15.75 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000643/0.4782, allocations: 408.8 kB / 426 MB, free: 15.35 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.981e-05/0.4783, allocations: 33.64 kB / 426 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001832/0.4785, allocations: 222.9 kB / 426.3 MB, free: 15.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.698e-05/0.4786, allocations: 78.94 kB / 426.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.86e-05/0.4786, allocations: 0 / 426.3 MB, free: 15.01 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4788, allocations: 318.8 kB / 426.6 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.4791, allocations: 123.9 kB / 426.8 MB, free: 14.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003276/0.4795, allocations: 119.9 kB / 426.9 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000367/0.4799, allocations: 135.8 kB / 427 MB, free: 14.32 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.034e-06/0.4799, allocations: 4 kB / 427 MB, free: 14.32 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0008701/0.4808, allocations: 324.4 kB / 427.3 MB, free: 14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.4808, allocations: 4.625 kB / 427.3 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.584e-06/0.4808, allocations: 4 kB / 427.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.4808, allocations: 0 / 427.3 MB, free: 13.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/0.4819, allocations: 151.9 kB / 427.5 MB, free: 13.84 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004457/0.4864, allocations: 5.525 MB / 433 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003526/0.4868, allocations: 47.47 kB / 433.1 MB, free: 8.062 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.191e-05/0.4868, allocations: 11.98 kB / 433.1 MB, free: 8.051 MB / 362.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 () * Number of clocked 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.0003187/0.4872, allocations: 193.6 kB / 433.3 MB, free: 7.852 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.483e-05/0.4873, allocations: 31.62 kB / 433.3 MB, free: 7.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001198/0.4885, allocations: 460.5 kB / 433.8 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.4885, allocations: 0 / 433.8 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.082e-05/0.4885, allocations: 8 kB / 433.8 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.554e-06/0.4885, allocations: 0 / 433.8 MB, free: 7.359 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000696/0.4892, allocations: 377.2 kB / 434.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.275e-06/0.4893, allocations: 0 / 434.1 MB, free: 6.941 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009916/0.4903, allocations: 151.8 kB / 434.3 MB, free: 6.793 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.175e-05/0.4903, allocations: 4 kB / 434.3 MB, free: 6.789 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.396e-05/0.4903, allocations: 11.98 kB / 434.3 MB, free: 6.777 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004409/0.4947, allocations: 5.516 MB / 439.8 MB, free: 1.051 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.316e-06/0.4948, allocations: 3.984 kB / 439.8 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009874/0.4958, allocations: 457.7 kB / 440.3 MB, free: 0.5859 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001693/0.496, allocations: 120.6 kB / 440.4 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.4961, allocations: 0 / 440.4 MB, free: 460 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002621/0.4963, allocations: 15.98 kB / 440.4 MB, free: 444 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.48e-05/0.4964, allocations: 19.97 kB / 440.4 MB, free: 424 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.65e-05/0.4965, allocations: 8 kB / 440.4 MB, free: 416 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005156/0.497, allocations: 339 kB / 440.7 MB, free: 76 kB / 362.7 MB Notification: Performance of sort global known variables: time 7.2e-07/0.497, allocations: 4 kB / 440.8 MB, free: 72 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005935/0.4976, allocations: 111.9 kB / 440.9 MB, free: 15.96 MB / 378.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 () * Number of clocked 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.0003548/0.498, allocations: 185.5 kB / 441 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001531/0.4995, allocations: 375.6 kB / 441.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/0.4996, allocations: 0 / 441.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001093/0.5007, allocations: 247.7 kB / 441.7 MB, free: 15.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005879/0.5013, allocations: 85.38 kB / 441.7 MB, free: 15.08 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001796/0.5031, allocations: 0.8882 MB / 442.6 MB, free: 14.16 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006156/0.5037, allocations: 0.8542 MB / 443.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000116/0.5039, allocations: 35.36 kB / 443.5 MB, free: 13.25 MB / 378.7 MB Notification: Performance of SimCode: time 1.606e-06/0.5039, allocations: 0 / 443.5 MB, free: 13.25 MB / 378.7 MB Notification: Performance of Templates: time 0.02866/0.5326, allocations: 18.73 MB / 462.2 MB, free: 10.52 MB / 394.7 MB