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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.852/1.852, allocations: 209.4 MB / 217.3 MB, free: 4.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.667e-05/1.684e-05, allocations: 0 / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2957, allocations: 48.68 MB / 320 MB, free: 14.43 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.4743, allocations: 79.78 MB / 399.8 MB, free: 0.668 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003087/0.4746, allocations: 91.94 kB / 399.9 MB, free: 0.5781 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03846/0.5131, allocations: 9.277 MB / 409.2 MB, free: 7.129 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.633e-06/0.5131, allocations: 0 / 409.2 MB, free: 7.129 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.689e-05/0.5132, allocations: 4 kB / 409.2 MB, free: 7.125 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.0009274/0.5141, allocations: 0.5606 MB / 409.7 MB, free: 6.52 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.051e-05/0.5142, allocations: 8.031 kB / 409.8 MB, free: 6.512 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001161/0.5143, allocations: 43.53 kB / 409.8 MB, free: 6.469 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.5148, allocations: 279.7 kB / 410.1 MB, free: 6.156 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/0.5148, allocations: 15.95 kB / 410.1 MB, free: 6.141 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/0.5149, allocations: 24 kB / 410.1 MB, free: 6.117 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000945/0.5158, allocations: 481.8 kB / 410.6 MB, free: 5.648 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009457/0.5168, allocations: 473.1 kB / 411 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.491e-05/0.5168, allocations: 0 / 411 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.107e-05/0.5169, allocations: 0 / 411 MB, free: 5.18 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.796e-05/0.517, allocations: 37.3 kB / 411.1 MB, free: 5.145 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00226/0.5192, allocations: 1.054 MB / 412.1 MB, free: 4.047 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000854/0.5201, allocations: 420.6 kB / 412.5 MB, free: 3.629 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002932/0.5204, allocations: 129.2 kB / 412.7 MB, free: 3.5 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.248e-05/0.5205, allocations: 16.2 kB / 412.7 MB, free: 3.484 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.561e-05/0.5205, allocations: 38.8 kB / 412.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of pre-optimization done (n=28): time 2.889e-06/0.5206, allocations: 0 / 412.7 MB, free: 3.438 MB / 346.7 MB Notification: Performance of matching and sorting (n=28): time 0.0008339/0.5214, allocations: 327.2 kB / 413 MB, free: 3.113 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.568e-05/0.5215, allocations: 51.41 kB / 413.1 MB, free: 3.051 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001551/0.5216, allocations: 141.3 kB / 413.2 MB, free: 2.906 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 3.678e-05/0.5217, allocations: 25.7 kB / 413.3 MB, free: 2.875 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000174/0.5219, allocations: 262.5 kB / 413.5 MB, free: 2.617 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/0.522, allocations: 98.53 kB / 413.6 MB, free: 2.52 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.522, allocations: 4 kB / 413.6 MB, free: 2.516 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001712/0.5222, allocations: 322.8 kB / 413.9 MB, free: 2.191 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002638/0.5225, allocations: 115.9 kB / 414 MB, free: 2.078 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/0.5228, allocations: 120.1 kB / 414.2 MB, free: 1.961 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003022/0.5231, allocations: 131.8 kB / 414.3 MB, free: 1.832 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.633e-06/0.5231, allocations: 4 kB / 414.3 MB, free: 1.828 MB / 346.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0007496/0.5239, allocations: 321.3 kB / 414.6 MB, free: 1.508 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.929e-05/0.5239, allocations: 7.938 kB / 414.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.898e-06/0.5239, allocations: 0 / 414.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.5239, allocations: 0 / 414.6 MB, free: 1.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/0.525, allocations: 155.8 kB / 414.8 MB, free: 1.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004473/0.5295, allocations: 5.552 MB / 420.3 MB, free: 11.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000255/0.5298, allocations: 23.81 kB / 420.3 MB, free: 11.56 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.209e-05/0.5299, allocations: 8 kB / 420.3 MB, free: 11.55 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 19 * 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.0001498/0.53, allocations: 116 kB / 420.5 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.422e-05/0.5301, allocations: 23.8 kB / 420.5 MB, free: 11.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.5312, allocations: 427.7 kB / 420.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.914e-06/0.5312, allocations: 4 kB / 420.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.73e-06/0.5312, allocations: 0 / 420.9 MB, free: 10.99 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.257e-06/0.5312, allocations: 3.984 kB / 420.9 MB, free: 10.98 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006198/0.5319, allocations: 345.7 kB / 421.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.661e-06/0.5319, allocations: 0 / 421.2 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001068/0.533, allocations: 167.8 kB / 421.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.255e-06/0.533, allocations: 0 / 421.4 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.724e-05/0.533, allocations: 7.984 kB / 421.4 MB, free: 10.44 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004389/0.5374, allocations: 5.54 MB / 427 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.706e-06/0.5375, allocations: 0 / 427 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008392/0.5383, allocations: 435.1 kB / 427.4 MB, free: 4.246 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.75e-05/0.5384, allocations: 92.86 kB / 427.5 MB, free: 4.137 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.845e-05/0.5385, allocations: 3.984 kB / 427.5 MB, free: 4.133 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.5387, allocations: 8 kB / 427.5 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.635e-05/0.5388, allocations: 23.95 kB / 427.5 MB, free: 4.102 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.005e-05/0.5389, allocations: 16.09 kB / 427.5 MB, free: 4.086 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001109/0.539, allocations: 111.2 kB / 427.6 MB, free: 3.977 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.9e-07/0.539, allocations: 0 / 427.6 MB, free: 3.977 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006174/0.5397, allocations: 119.5 kB / 427.7 MB, free: 3.859 MB / 362.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 (28): * Single equations (assignments): 19 * 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.0003627/0.54, allocations: 189 kB / 427.9 MB, free: 3.668 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001362/0.5414, allocations: 371.6 kB / 428.3 MB, free: 3.305 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.421e-06/0.5414, allocations: 0 / 428.3 MB, free: 3.305 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001011/0.5425, allocations: 239.7 kB / 428.5 MB, free: 3.07 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002947/0.5428, allocations: 23.94 kB / 428.6 MB, free: 3.047 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001338/0.5441, allocations: 0.5569 MB / 429.1 MB, free: 2.461 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006423/0.5448, allocations: 0.8534 MB / 430 MB, free: 1.578 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.5449, allocations: 27.42 kB / 430 MB, free: 1.551 MB / 362.7 MB Notification: Performance of SimCode: time 1.566e-06/0.5449, allocations: 0 / 430 MB, free: 1.551 MB / 362.7 MB Notification: Performance of Templates: time 0.0268/0.5717, allocations: 17.44 MB / 447.4 MB, free: 100 kB / 378.7 MB