Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC") Notification: Performance of loadModel(ModelicaTest): time 2.346/2.346, allocations: 235 MB / 248.1 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.686e-05/2.71e-05, allocations: 0 / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3222/0.3222, allocations: 54.86 MB / 364.6 MB, free: 5.551 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.4602, allocations: 91.78 MB / 456.3 MB, free: 4.664 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003563/0.4607, allocations: 99.92 kB / 456.4 MB, free: 4.566 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06498/0.5257, allocations: 14.3 MB / 470.7 MB, free: 6.148 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.981e-06/0.5257, allocations: 0 / 470.7 MB, free: 6.148 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.668e-05/0.5257, allocations: 4 kB / 470.7 MB, free: 6.145 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00107/0.5268, allocations: 0.5917 MB / 471.3 MB, free: 5.508 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.5269, allocations: 12.03 kB / 471.3 MB, free: 5.496 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.527, allocations: 43.48 kB / 471.4 MB, free: 5.453 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.5275, allocations: 282.3 kB / 471.7 MB, free: 5.137 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.643e-05/0.5275, allocations: 32.77 kB / 471.7 MB, free: 5.102 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.575e-05/0.5276, allocations: 39.94 kB / 471.7 MB, free: 5.062 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001071/0.5287, allocations: 0.5125 MB / 472.2 MB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.5287, allocations: 0 / 472.2 MB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.592e-05/0.5288, allocations: 13.41 kB / 472.3 MB, free: 4.531 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.554e-05/0.5289, allocations: 40.97 kB / 472.3 MB, free: 4.492 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.53, allocations: 0.5387 MB / 472.8 MB, free: 3.953 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002528/0.5326, allocations: 1.202 MB / 474 MB, free: 2.695 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008191/0.5334, allocations: 360.1 kB / 474.4 MB, free: 2.336 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/0.5337, allocations: 117.1 kB / 474.5 MB, free: 2.219 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.313e-05/0.5338, allocations: 8.172 kB / 474.5 MB, free: 2.211 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/0.5338, allocations: 34.73 kB / 474.5 MB, free: 2.168 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 3.442e-06/0.5338, allocations: 0 / 474.5 MB, free: 2.168 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0008272/0.5347, allocations: 321.1 kB / 474.9 MB, free: 1.852 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.783e-05/0.5347, allocations: 55.36 kB / 474.9 MB, free: 1.785 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006393/0.5354, allocations: 403.5 kB / 475.3 MB, free: 1.387 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.877e-05/0.5354, allocations: 29.7 kB / 475.3 MB, free: 1.352 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001712/0.5356, allocations: 226.9 kB / 475.6 MB, free: 1.129 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.855e-05/0.5357, allocations: 78.84 kB / 475.6 MB, free: 1.051 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.851e-05/0.5357, allocations: 0 / 475.6 MB, free: 1.051 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5359, allocations: 318.8 kB / 476 MB, free: 0.7305 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002565/0.5362, allocations: 99.91 kB / 476 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002519/0.5365, allocations: 103.9 kB / 476.1 MB, free: 0.5312 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003076/0.5368, allocations: 118.1 kB / 476.3 MB, free: 428 kB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.167e-06/0.5368, allocations: 4 kB / 476.3 MB, free: 424 kB / 394.7 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007193/0.5375, allocations: 285.2 kB / 476.5 MB, free: 132 kB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/0.5376, allocations: 5.875 kB / 476.6 MB, free: 128 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.278e-06/0.5376, allocations: 0 / 476.6 MB, free: 128 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.5376, allocations: 0 / 476.6 MB, free: 128 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/0.5387, allocations: 155.9 kB / 476.7 MB, free: 15.97 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004479/0.5432, allocations: 5.516 MB / 482.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003523/0.5436, allocations: 55.39 kB / 482.3 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.5437, allocations: 8 kB / 482.3 MB, free: 10.18 MB / 410.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 (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.0001462/0.5438, allocations: 116.9 kB / 482.4 MB, free: 10.06 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.5439, allocations: 39.72 kB / 482.4 MB, free: 10.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001084/0.545, allocations: 422.7 kB / 482.8 MB, free: 9.605 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.06e-05/0.5451, allocations: 3.984 kB / 482.9 MB, free: 9.602 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.515e-06/0.5451, allocations: 3.953 kB / 482.9 MB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.124e-06/0.5451, allocations: 0 / 482.9 MB, free: 9.598 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/0.5458, allocations: 377.2 kB / 483.2 MB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.505e-06/0.5458, allocations: 0 / 483.2 MB, free: 9.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001038/0.5469, allocations: 151.8 kB / 483.4 MB, free: 9.031 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.266e-06/0.5469, allocations: 4 kB / 483.4 MB, free: 9.027 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.757e-05/0.5469, allocations: 15.98 kB / 483.4 MB, free: 9.012 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00444/0.5514, allocations: 5.519 MB / 488.9 MB, free: 3.285 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.83e-06/0.5514, allocations: 11.94 kB / 488.9 MB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008388/0.5523, allocations: 420.1 kB / 489.3 MB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001861/0.5525, allocations: 112.7 kB / 489.4 MB, free: 2.719 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.407e-05/0.5526, allocations: 8 kB / 489.5 MB, free: 2.711 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002805/0.5529, allocations: 7.984 kB / 489.5 MB, free: 2.703 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.006e-05/0.553, allocations: 27.92 kB / 489.5 MB, free: 2.676 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.553, allocations: 12.06 kB / 489.5 MB, free: 2.664 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0005213/0.5536, allocations: 330.1 kB / 489.8 MB, free: 2.344 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.62e-07/0.5536, allocations: 0 / 489.8 MB, free: 2.344 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007353/0.5543, allocations: 151.8 kB / 490 MB, free: 2.195 MB / 410.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 (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.0005864/0.5549, allocations: 254.9 kB / 490.2 MB, free: 1.938 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001411/0.5564, allocations: 347.5 kB / 490.6 MB, free: 1.602 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.283e-06/0.5564, allocations: 0 / 490.6 MB, free: 1.602 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001064/0.5575, allocations: 223.8 kB / 490.8 MB, free: 1.383 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006218/0.5581, allocations: 81.22 kB / 490.9 MB, free: 1.301 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.5595, allocations: 0.5867 MB / 491.4 MB, free: 0.6836 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006393/0.5602, allocations: 0.8542 MB / 492.3 MB, free: 15.8 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001258/0.5603, allocations: 31.42 kB / 492.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.919e-06/0.5603, allocations: 0 / 492.3 MB, free: 15.77 MB / 426.7 MB Notification: Performance of Templates: time 0.03083/0.5912, allocations: 19.48 MB / 0.4998 GB, free: 12.29 MB / 442.7 MB