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.StraightPipe.kc_overall_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.StraightPipe.kc_overall_KC,tolerance=1e-05,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|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.|m_flow_4.1.|m_flow_4.2.|m_flow_4.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.|kc_4.1.|kc_4.2.|kc_4.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.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_overall_KC") Notification: Performance of loadModel(ModelicaTest): time 2.185/2.185, allocations: 209.4 MB / 217.3 MB, free: 4.18 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.647e-05/1.654e-05, allocations: 4 kB / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2624/0.2625, allocations: 48.69 MB / 320 MB, free: 14.42 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1303/0.3928, allocations: 86.38 MB / 406.4 MB, free: 10.05 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003103/0.3931, allocations: 91.94 kB / 406.5 MB, free: 9.965 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1015/0.4947, allocations: 23.25 MB / 429.8 MB, free: 2.516 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.23e-06/0.4948, allocations: 0 / 429.8 MB, free: 2.516 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.165e-05/0.4948, allocations: 8 kB / 429.8 MB, free: 2.508 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002256/0.4971, allocations: 0.6895 MB / 430.5 MB, free: 1.773 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.4972, allocations: 8.031 kB / 430.5 MB, free: 1.766 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002754/0.4975, allocations: 51.34 kB / 430.5 MB, free: 1.715 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009343/0.4984, allocations: 310.2 kB / 430.8 MB, free: 1.371 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.914e-05/0.4985, allocations: 24 kB / 430.8 MB, free: 1.348 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001912/0.4987, allocations: 32 kB / 430.9 MB, free: 1.316 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002506/0.5013, allocations: 0.6779 MB / 431.5 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002413/0.5037, allocations: 0.6325 MB / 432.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.362e-05/0.5038, allocations: 0 / 432.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001208/0.5039, allocations: 4 kB / 432.2 MB, free: 15.99 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.5041, allocations: 45.23 kB / 432.2 MB, free: 15.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005791/0.5099, allocations: 1.374 MB / 433.6 MB, free: 14.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002113/0.512, allocations: 0.5235 MB / 434.1 MB, free: 14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006968/0.5128, allocations: 160.7 kB / 434.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-05/0.5129, allocations: 15.91 kB / 434.3 MB, free: 13.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.17e-05/0.513, allocations: 34.56 kB / 434.3 MB, free: 13.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=37): time 5.628e-06/0.513, allocations: 0 / 434.3 MB, free: 13.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=37): time 0.002003/0.515, allocations: 413.1 kB / 434.7 MB, free: 13.37 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.215e-05/0.5151, allocations: 59.39 kB / 434.8 MB, free: 13.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006527/0.5158, allocations: 253.8 kB / 435 MB, free: 13.05 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.808e-05/0.5159, allocations: 29.7 kB / 435.1 MB, free: 13.01 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004379/0.5164, allocations: 342 kB / 435.4 MB, free: 12.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002793/0.5167, allocations: 134 kB / 435.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.266e-05/0.5168, allocations: 0 / 435.5 MB, free: 12.54 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002913/0.5171, allocations: 334.8 kB / 435.9 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008223/0.5179, allocations: 189.4 kB / 436 MB, free: 12.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001184/0.5191, allocations: 437.6 kB / 436.5 MB, free: 11.48 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001087/0.5202, allocations: 267.6 kB / 436.7 MB, free: 11.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-05/0.5203, allocations: 4 kB / 436.7 MB, free: 11.21 MB / 378.7 MB Notification: Performance of matching and sorting (n=73) (initialization): time 0.002832/0.5231, allocations: 0.625 MB / 437.4 MB, free: 10.58 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.889e-05/0.5232, allocations: 9.781 kB / 437.4 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.5232, allocations: 8 kB / 437.4 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.423e-05/0.5233, allocations: 16 kB / 437.4 MB, free: 10.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00295/0.5263, allocations: 251.7 kB / 437.6 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009573/0.5359, allocations: 7.337 MB / 445 MB, free: 2.688 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.537, allocations: 43.92 kB / 445 MB, free: 2.645 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001642/0.5372, allocations: 35.98 kB / 445.1 MB, free: 2.609 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 24 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[3].roughness,m_flow_IN_con_4[2].target,m_flow_IN_con_4[2].roughness,m_flow_IN_con_4[1].target,m_flow_IN_con_4[1].roughness,m_flow_IN_con_3[3].target,m_flow_IN_con_3[3].roughness,m_flow_IN_con_3[2].target,m_flow_IN_con_3[2].roughness,m_flow_IN_con_3[1].target,m_flow_IN_con_3[1].roughness,m_flow_IN_con_2[3].target,m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].target,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].target,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].target,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].target,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].target,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004136/0.5377, allocations: 147.8 kB / 445.2 MB, free: 2.461 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002098/0.5379, allocations: 35.56 kB / 445.2 MB, free: 2.426 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00274/0.5407, allocations: 0.5587 MB / 445.8 MB, free: 1.863 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.365e-05/0.5407, allocations: 4 kB / 445.8 MB, free: 1.859 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.476e-05/0.5407, allocations: 7.938 kB / 445.8 MB, free: 1.852 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/0.5408, allocations: 4 kB / 445.8 MB, free: 1.848 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/0.5422, allocations: 393.8 kB / 446.2 MB, free: 1.426 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.97e-06/0.5423, allocations: 4 kB / 446.2 MB, free: 1.422 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002671/0.545, allocations: 211.8 kB / 446.4 MB, free: 1.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.78e-05/0.545, allocations: 4 kB / 446.4 MB, free: 1.211 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.393e-05/0.5451, allocations: 7.984 kB / 446.4 MB, free: 1.203 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2283/0.7734, allocations: 7.321 MB / 453.7 MB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.7734, allocations: 0 / 453.7 MB, free: 104.4 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00109/0.7745, allocations: 0.515 MB / 454.3 MB, free: 104.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.942e-05/0.7746, allocations: 112.2 kB / 454.4 MB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.78e-05/0.7747, allocations: 1.188 kB / 454.4 MB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002953/0.775, allocations: 10.22 kB / 454.4 MB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001051/0.7751, allocations: 30.64 kB / 454.4 MB, free: 104.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-05/0.7752, allocations: 20.88 kB / 454.4 MB, free: 104.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002082/0.7754, allocations: 173.4 kB / 454.6 MB, free: 104.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.5e-07/0.7754, allocations: 0 / 454.6 MB, free: 104.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001021/0.7765, allocations: 202.9 kB / 454.8 MB, free: 104.1 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,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.0005148/0.777, allocations: 269.9 kB / 455.1 MB, free: 104 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002014/0.779, allocations: 0.5621 MB / 455.6 MB, free: 104 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.623e-06/0.7791, allocations: 2.844 kB / 455.6 MB, free: 104 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001441/0.7805, allocations: 313.6 kB / 455.9 MB, free: 104 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003907/0.7809, allocations: 25.19 kB / 456 MB, free: 104 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001572/0.7825, allocations: 0.7111 MB / 456.7 MB, free: 103.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.783, allocations: 0.9213 MB / 457.6 MB, free: 103.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001568/0.7832, allocations: 40.38 kB / 457.6 MB, free: 103.1 MB / 378.7 MB Notification: Performance of SimCode: time 1.895e-06/0.7832, allocations: 0 / 457.6 MB, free: 103.1 MB / 378.7 MB Notification: Performance of Templates: time 0.0321/0.8153, allocations: 30.36 MB / 488 MB, free: 82.73 MB / 378.7 MB