Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.097/2.097, allocations: 209.2 MB / 225.4 MB, free: 0.5391 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004401/0.0004407, allocations: 12 kB / 283.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3542, allocations: 48.71 MB / 331.8 MB, free: 6.512 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1893/0.5436, allocations: 80.54 MB / 412.4 MB, free: 13.91 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003838/0.544, allocations: 95.94 kB / 412.5 MB, free: 13.82 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04421/0.5883, allocations: 9.391 MB / 421.8 MB, free: 4.258 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.498e-06/0.5883, allocations: 0 / 421.8 MB, free: 4.258 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.122e-05/0.5884, allocations: 7.938 kB / 421.9 MB, free: 4.25 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.001348/0.5897, allocations: 0.5771 MB / 422.4 MB, free: 3.625 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.5898, allocations: 12.03 kB / 422.4 MB, free: 3.613 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001506/0.59, allocations: 39.53 kB / 422.5 MB, free: 3.574 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000546/0.5905, allocations: 278.3 kB / 422.8 MB, free: 3.262 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.836e-05/0.5906, allocations: 32.95 kB / 422.8 MB, free: 3.23 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.051e-05/0.5907, allocations: 36 kB / 422.8 MB, free: 3.195 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001449/0.5921, allocations: 0.5372 MB / 423.4 MB, free: 2.652 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.278e-05/0.5922, allocations: 4 kB / 423.4 MB, free: 2.648 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.154e-05/0.5923, allocations: 16 kB / 423.4 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.989e-05/0.5924, allocations: 40.97 kB / 423.4 MB, free: 2.59 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001587/0.594, allocations: 0.5698 MB / 424 MB, free: 2.023 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003198/0.5972, allocations: 1.21 MB / 425.2 MB, free: 0.7539 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/0.5984, allocations: 378.9 kB / 425.6 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.369e-05/0.5985, allocations: 4.172 kB / 425.6 MB, free: 384 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.344e-05/0.5985, allocations: 38.75 kB / 425.6 MB, free: 336 kB / 346.7 MB Notification: Performance of pre-optimization done (n=22): time 3.347e-06/0.5986, allocations: 0 / 425.6 MB, free: 336 kB / 346.7 MB Notification: Performance of matching and sorting (n=22): time 0.001739/0.6003, allocations: 478.5 kB / 426.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/0.6004, allocations: 55.41 kB / 426.1 MB, free: 15.79 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008212/0.6012, allocations: 449.5 kB / 426.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.097e-05/0.6013, allocations: 29.7 kB / 426.6 MB, free: 15.31 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/0.6015, allocations: 230.9 kB / 426.8 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001075/0.6016, allocations: 74.86 kB / 426.9 MB, free: 15.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.6016, allocations: 4 kB / 426.9 MB, free: 15 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6018, allocations: 322.8 kB / 427.2 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004585/0.6022, allocations: 111.9 kB / 427.3 MB, free: 14.57 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004318/0.6027, allocations: 131.4 kB / 427.5 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004864/0.6032, allocations: 135.8 kB / 427.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.6032, allocations: 0 / 427.6 MB, free: 14.31 MB / 362.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001129/0.6044, allocations: 333.2 kB / 427.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.585e-05/0.6044, allocations: 4 kB / 427.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.6044, allocations: 0 / 427.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.6045, allocations: 0 / 427.9 MB, free: 13.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.606, allocations: 147.9 kB / 428.1 MB, free: 13.83 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004096/0.6101, allocations: 5.525 MB / 433.6 MB, free: 8.098 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004622/0.6106, allocations: 51.45 kB / 433.6 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.6107, allocations: 12 kB / 433.6 MB, free: 8.035 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.0003488/0.611, allocations: 193.9 kB / 433.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.839e-05/0.6111, allocations: 35.53 kB / 433.9 MB, free: 7.801 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001573/0.6127, allocations: 459.7 kB / 434.3 MB, free: 7.344 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.6128, allocations: 8 kB / 434.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.6128, allocations: 0 / 434.3 MB, free: 7.336 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.444e-06/0.6128, allocations: 3.984 kB / 434.3 MB, free: 7.332 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007691/0.6136, allocations: 377.2 kB / 434.7 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.6136, allocations: 0 / 434.7 MB, free: 6.914 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001402/0.615, allocations: 155.8 kB / 434.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.896e-06/0.615, allocations: 0 / 434.9 MB, free: 6.762 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.6151, allocations: 8 kB / 434.9 MB, free: 6.754 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004277/0.6194, allocations: 5.524 MB / 440.4 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.6194, allocations: 0 / 440.4 MB, free: 1.02 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001261/0.6207, allocations: 455 kB / 440.8 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001805/0.6209, allocations: 116.6 kB / 440.9 MB, free: 436 kB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001013/0.6211, allocations: 8 kB / 441 MB, free: 428 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000356/0.6214, allocations: 11.98 kB / 441 MB, free: 416 kB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.6215, allocations: 23.97 kB / 441 MB, free: 392 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.6216, allocations: 15.92 kB / 441 MB, free: 376 kB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005818/0.6222, allocations: 331.1 kB / 441.3 MB, free: 44 kB / 362.7 MB Notification: Performance of sort global known variables: time 4.9e-07/0.6222, allocations: 0 / 441.3 MB, free: 44 kB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006849/0.6229, allocations: 107.9 kB / 441.4 MB, free: 15.93 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.0004216/0.6233, allocations: 190 kB / 441.6 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002298/0.6256, allocations: 411.5 kB / 442 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.871e-06/0.6257, allocations: 0 / 442 MB, free: 15.34 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001704/0.6274, allocations: 286.7 kB / 442.3 MB, free: 15.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000717/0.6282, allocations: 85.41 kB / 442.4 MB, free: 14.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.6304, allocations: 0.8997 MB / 443.3 MB, free: 14.05 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005398/0.6309, allocations: 0.8464 MB / 444.1 MB, free: 13.18 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001669/0.6311, allocations: 39.42 kB / 444.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6311, allocations: 0 / 444.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of Templates: time 0.03602/0.6672, allocations: 18.72 MB / 462.9 MB, free: 10.43 MB / 394.7 MB