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.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,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.|m_flow.1.|m_flow.2.|m_flow.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|Re|Pr.1.|Pr.2.|Pr.3.|input_mflow_1.y|input_mflow_2.y|input_mflow_0.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadModel(ModelicaTest): time 1.918/1.918, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.689e-05/4.706e-05, allocations: 8 kB / 277.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1035/0.1036, allocations: 48.7 MB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.429/0.5326, allocations: 81.43 MB / 408 MB, free: 8.598 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000273/0.533, allocations: 94.7 kB / 408.1 MB, free: 8.578 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03904/0.572, allocations: 10.63 MB / 418.7 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.311e-06/0.5721, allocations: 0 / 418.7 MB, free: 0.7578 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.562e-05/0.5721, allocations: 4 kB / 418.7 MB, free: 0.7539 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.0008509/0.573, allocations: 0.6154 MB / 419.3 MB, free: 120 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.795e-05/0.573, allocations: 8.031 kB / 419.3 MB, free: 112 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.665e-05/0.5731, allocations: 47.44 kB / 419.4 MB, free: 64 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004584/0.5736, allocations: 286.4 kB / 419.7 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.856e-05/0.5737, allocations: 32.84 kB / 419.7 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.456e-05/0.5737, allocations: 36.56 kB / 419.7 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.5748, allocations: 0.5361 MB / 420.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.52e-05/0.5748, allocations: 0 / 420.3 MB, free: 15.29 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.251e-05/0.5749, allocations: 15.12 kB / 420.3 MB, free: 15.28 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-05/0.5749, allocations: 16.78 kB / 420.3 MB, free: 15.26 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000757/0.5757, allocations: 369.4 kB / 420.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002634/0.5784, allocations: 1.417 MB / 422.1 MB, free: 13.67 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005575/0.579, allocations: 244.5 kB / 422.3 MB, free: 13.43 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002647/0.5792, allocations: 106.2 kB / 422.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.731e-05/0.5793, allocations: 4 kB / 422.4 MB, free: 13.32 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.931e-05/0.5794, allocations: 42.31 kB / 422.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of pre-optimization done (n=17): time 3.892e-06/0.5794, allocations: 0 / 422.5 MB, free: 13.27 MB / 330.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008375/0.5802, allocations: 269 kB / 422.7 MB, free: 13.02 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.417e-05/0.5803, allocations: 114.7 kB / 422.8 MB, free: 12.89 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007426/0.5811, allocations: 459.1 kB / 423.3 MB, free: 12.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.893e-05/0.5811, allocations: 29.7 kB / 423.3 MB, free: 12.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001736/0.5813, allocations: 242.5 kB / 423.6 MB, free: 12.3 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.179e-05/0.5814, allocations: 58.94 kB / 423.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.28e-05/0.5815, allocations: 0 / 423.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5816, allocations: 318.5 kB / 423.9 MB, free: 11.94 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002607/0.5819, allocations: 93.67 kB / 424 MB, free: 11.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002978/0.5822, allocations: 146.4 kB / 424.2 MB, free: 11.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002863/0.5825, allocations: 108.4 kB / 424.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.139e-06/0.5825, allocations: 0 / 424.3 MB, free: 11.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007672/0.5833, allocations: 296.6 kB / 424.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.023e-05/0.5833, allocations: 4 kB / 424.6 MB, free: 11.34 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.153e-05/0.5835, allocations: 36.12 kB / 424.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.5835, allocations: 4.047 kB / 424.6 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003067/0.5838, allocations: 43.84 kB / 424.6 MB, free: 11.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.371e-05/0.5838, allocations: 7.984 kB / 424.7 MB, free: 11.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004076/0.5842, allocations: 66.34 kB / 424.7 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-05/0.5843, allocations: 15.95 kB / 424.7 MB, free: 11.17 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001353/0.5845, allocations: 119.5 kB / 424.9 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000151/0.5846, allocations: 35.53 kB / 424.9 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009373/0.5856, allocations: 354.2 kB / 425.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.336e-05/0.5856, allocations: 7.984 kB / 425.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.198e-06/0.5856, allocations: 0 / 425.2 MB, free: 10.7 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.341e-06/0.5856, allocations: 8 kB / 425.2 MB, free: 10.69 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007962/0.5864, allocations: 365.3 kB / 425.6 MB, free: 10.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.197e-05/0.5865, allocations: 31.97 kB / 425.6 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.5868, allocations: 31.91 kB / 425.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.384e-06/0.5868, allocations: 0 / 425.7 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.5869, allocations: 14.98 kB / 425.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.651e-06/0.5869, allocations: 0 / 425.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.566e-06/0.5869, allocations: 4 kB / 425.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008558/0.5878, allocations: 0.5419 MB / 426.2 MB, free: 9.703 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002904/0.5881, allocations: 167.2 kB / 426.4 MB, free: 9.531 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.885e-05/0.5882, allocations: 3.984 kB / 426.4 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004338/0.5886, allocations: 27.8 kB / 426.4 MB, free: 9.504 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.898e-05/0.5887, allocations: 35.05 kB / 426.5 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.545e-05/0.5888, allocations: 8 kB / 426.5 MB, free: 9.465 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005851/0.5894, allocations: 370.9 kB / 426.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.67e-07/0.5894, allocations: 0 / 426.8 MB, free: 9.176 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007597/0.5902, allocations: 118 kB / 426.9 MB, free: 9.066 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004313/0.5906, allocations: 200.9 kB / 427.1 MB, free: 8.867 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0008346/0.5915, allocations: 478.8 kB / 427.6 MB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.175e-06/0.5915, allocations: 3.625 kB / 427.6 MB, free: 8.367 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.592, allocations: 354.2 kB / 428 MB, free: 7.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008223/0.5928, allocations: 87.38 kB / 428 MB, free: 7.918 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.5945, allocations: 0.6245 MB / 428.7 MB, free: 7.301 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006325/0.5952, allocations: 0.8566 MB / 429.5 MB, free: 6.43 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001145/0.5953, allocations: 27.44 kB / 429.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of SimCode: time 1.919e-06/0.5954, allocations: 0 / 429.5 MB, free: 6.402 MB / 330.7 MB Notification: Performance of Templates: time 0.01423/0.6096, allocations: 7.067 MB / 436.6 MB, free: 15.38 MB / 346.7 MB