Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_turbulent") Notification: Performance of loadModel(ModelicaTest): time 2.378/2.378, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004279/0.0004282, allocations: 16 kB / 315 MB, free: 9.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4883, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2282/0.7166, allocations: 87.81 MB / 457.6 MB, free: 2.809 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003921/0.7171, allocations: 99.94 kB / 457.7 MB, free: 2.711 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04883/0.7659, allocations: 10.62 MB / 468.3 MB, free: 7.918 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.445e-06/0.766, allocations: 0 / 468.3 MB, free: 7.918 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.766, allocations: 4 kB / 468.3 MB, free: 7.914 MB / 394.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.001533/0.7676, allocations: 0.6509 MB / 469 MB, free: 7.211 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/0.7676, allocations: 8.031 kB / 469 MB, free: 7.203 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/0.7678, allocations: 43.52 kB / 469.1 MB, free: 7.16 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005112/0.7683, allocations: 286.3 kB / 469.3 MB, free: 6.84 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/0.7684, allocations: 29 kB / 469.4 MB, free: 6.812 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.897e-05/0.7685, allocations: 40 kB / 469.4 MB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001596/0.7701, allocations: 0.5855 MB / 470 MB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.937e-05/0.7701, allocations: 0 / 470 MB, free: 6.168 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.568e-05/0.7702, allocations: 19.98 kB / 470 MB, free: 6.148 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.679e-05/0.7703, allocations: 32.88 kB / 470 MB, free: 6.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001542/0.7718, allocations: 447.6 kB / 470.5 MB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003065/0.7749, allocations: 1.402 MB / 471.9 MB, free: 4.211 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009397/0.7759, allocations: 283.6 kB / 472.2 MB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.893e-05/0.776, allocations: 19.92 kB / 472.2 MB, free: 3.887 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.776, allocations: 39.31 kB / 472.2 MB, free: 3.84 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.246e-06/0.776, allocations: 0 / 472.2 MB, free: 3.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.002243/0.7783, allocations: 0.7034 MB / 472.9 MB, free: 3.074 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.174e-05/0.7784, allocations: 106.9 kB / 473 MB, free: 2.945 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009064/0.7793, allocations: 0.4978 MB / 473.5 MB, free: 2.445 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.381e-05/0.7794, allocations: 29.7 kB / 473.5 MB, free: 2.41 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001862/0.7795, allocations: 234.8 kB / 473.8 MB, free: 2.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.935e-05/0.7796, allocations: 59.11 kB / 473.8 MB, free: 2.121 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.657e-05/0.7797, allocations: 4.031 kB / 473.8 MB, free: 2.117 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001327/0.7798, allocations: 322.8 kB / 474.2 MB, free: 1.793 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/0.7804, allocations: 136 kB / 474.3 MB, free: 1.656 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006346/0.7811, allocations: 186.8 kB / 474.5 MB, free: 1.457 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006578/0.7818, allocations: 155 kB / 474.6 MB, free: 1.309 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.7818, allocations: 0 / 474.6 MB, free: 1.309 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.00149/0.7833, allocations: 377.1 kB / 475 MB, free: 0.9336 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.477e-05/0.7833, allocations: 11.95 kB / 475 MB, free: 0.9219 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001022/0.7835, allocations: 23.98 kB / 475 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.7835, allocations: 4 kB / 475 MB, free: 0.8945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003804/0.7839, allocations: 44.08 kB / 475.1 MB, free: 0.8516 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.7839, allocations: 3.938 kB / 475.1 MB, free: 0.8477 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005296/0.7844, allocations: 63.5 kB / 475.1 MB, free: 0.7852 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.739e-05/0.7845, allocations: 8 kB / 475.1 MB, free: 0.7773 MB / 394.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 () * Number of clocked 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.0003397/0.7849, allocations: 185.7 kB / 475.3 MB, free: 0.5859 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.785, allocations: 39.44 kB / 475.4 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001439/0.7865, allocations: 400.5 kB / 475.8 MB, free: 144 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.108e-05/0.7865, allocations: 7.984 kB / 475.8 MB, free: 136 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.033e-06/0.7865, allocations: 0 / 475.8 MB, free: 136 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.7866, allocations: 4 kB / 475.8 MB, free: 132 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2944/1.081, allocations: 360.9 kB / 476.1 MB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001125/1.081, allocations: 28.53 kB / 476.1 MB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004025/1.082, allocations: 30.31 kB / 476.2 MB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.937e-06/1.082, allocations: 6.219 kB / 476.2 MB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.76e-05/1.082, allocations: 9.578 kB / 476.2 MB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.605e-06/1.082, allocations: 5 kB / 476.2 MB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/1.082, allocations: 2.391 kB / 476.2 MB, free: 96.23 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00168/1.083, allocations: 0.5989 MB / 476.8 MB, free: 95.95 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001862/1.084, allocations: 118.4 kB / 476.9 MB, free: 95.84 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001118/1.084, allocations: 4.203 kB / 476.9 MB, free: 95.84 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005097/1.084, allocations: 30.8 kB / 476.9 MB, free: 95.84 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001237/1.084, allocations: 21.38 kB / 477 MB, free: 95.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.619e-05/1.084, allocations: 11.61 kB / 477 MB, free: 95.84 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0007587/1.085, allocations: 371.1 kB / 477.3 MB, free: 95.76 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.085, allocations: 1.062 kB / 477.3 MB, free: 95.76 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000973/1.086, allocations: 119 kB / 477.5 MB, free: 95.76 MB / 394.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 () * Number of clocked 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.0005425/1.087, allocations: 206.7 kB / 477.7 MB, free: 95.67 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00166/1.088, allocations: 0.536 MB / 478.2 MB, free: 95.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.979e-06/1.088, allocations: 3.375 kB / 478.2 MB, free: 95.39 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007757/1.089, allocations: 396.5 kB / 478.6 MB, free: 95.11 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009043/1.09, allocations: 93.78 kB / 478.7 MB, free: 95.11 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002442/1.093, allocations: 0.9228 MB / 479.6 MB, free: 94.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000459/1.093, allocations: 0.8475 MB / 480.4 MB, free: 94 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001756/1.093, allocations: 30.42 kB / 480.5 MB, free: 94 MB / 394.7 MB Notification: Performance of SimCode: time 1.273e-06/1.093, allocations: 0 / 480.5 MB, free: 94 MB / 394.7 MB Notification: Performance of Templates: time 0.01671/1.11, allocations: 7.087 MB / 487.6 MB, free: 93.48 MB / 394.7 MB