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.StraightPipe.kc_overall_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.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.056/2.056, allocations: 209.3 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004247/0.0004248, allocations: 8 kB / 283.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.416, allocations: 48.7 MB / 331.8 MB, free: 6.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1633/0.5794, allocations: 87.13 MB / 419 MB, free: 7.281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003837/0.5798, allocations: 99.94 kB / 419.1 MB, free: 7.184 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1326/0.7124, allocations: 23.46 MB / 442.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.7125, allocations: 0 / 442.5 MB, free: 15.53 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.852e-05/0.7125, allocations: 4 kB / 442.5 MB, free: 15.53 MB / 378.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.002131/0.7147, allocations: 0.7058 MB / 443.2 MB, free: 14.77 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.41e-05/0.7148, allocations: 8.031 kB / 443.2 MB, free: 14.76 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002441/0.715, allocations: 51.34 kB / 443.3 MB, free: 14.71 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/0.7158, allocations: 318.2 kB / 443.6 MB, free: 14.36 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.72e-05/0.7159, allocations: 41.31 kB / 443.6 MB, free: 14.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001737/0.7161, allocations: 55.94 kB / 443.7 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.7188, allocations: 0.7442 MB / 444.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.057e-05/0.7188, allocations: 4 kB / 444.4 MB, free: 13.51 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001331/0.719, allocations: 20 kB / 444.5 MB, free: 13.49 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.7191, allocations: 45.28 kB / 444.5 MB, free: 13.45 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003272/0.7224, allocations: 0.8052 MB / 445.3 MB, free: 12.64 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005634/0.7281, allocations: 1.532 MB / 446.8 MB, free: 11.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00182/0.73, allocations: 452.5 kB / 447.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.635e-05/0.7301, allocations: 12.22 kB / 447.3 MB, free: 10.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.7301, allocations: 30.8 kB / 447.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=28): time 4.097e-06/0.7301, allocations: 0 / 447.3 MB, free: 10.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=28): time 0.002624/0.7328, allocations: 0.5564 MB / 447.9 MB, free: 9.988 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.743e-05/0.7329, allocations: 59.39 kB / 447.9 MB, free: 9.918 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001517/0.7344, allocations: 0.5757 MB / 448.5 MB, free: 9.332 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.782e-05/0.7345, allocations: 33.7 kB / 448.5 MB, free: 9.293 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004459/0.735, allocations: 310 kB / 448.8 MB, free: 8.988 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001983/0.7352, allocations: 110.5 kB / 449 MB, free: 8.879 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.276e-05/0.7353, allocations: 11.94 kB / 449 MB, free: 8.867 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.7355, allocations: 334.8 kB / 449.3 MB, free: 8.531 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009259/0.7364, allocations: 188.9 kB / 449.5 MB, free: 8.348 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001215/0.7377, allocations: 437.2 kB / 449.9 MB, free: 7.809 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001171/0.7389, allocations: 263.7 kB / 450.2 MB, free: 7.551 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.258e-05/0.7389, allocations: 4 kB / 450.2 MB, free: 7.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002814/0.7418, allocations: 0.6505 MB / 450.8 MB, free: 6.891 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.7418, allocations: 16.22 kB / 450.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.24e-05/0.7419, allocations: 8 kB / 450.8 MB, free: 6.867 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.402e-05/0.7419, allocations: 12 kB / 450.9 MB, free: 6.855 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00264/0.7446, allocations: 239.8 kB / 451.1 MB, free: 6.621 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007379/0.752, allocations: 7.325 MB / 458.4 MB, free: 15.02 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.7532, allocations: 75.2 kB / 458.5 MB, free: 14.94 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.7533, allocations: 35.98 kB / 458.5 MB, free: 14.91 MB / 394.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 52 * 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.0007021/0.7541, allocations: 257.5 kB / 458.8 MB, free: 14.65 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.7543, allocations: 47.44 kB / 458.8 MB, free: 14.6 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002846/0.7571, allocations: 0.5761 MB / 459.4 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.7572, allocations: 0 / 459.4 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.276e-06/0.7572, allocations: 4 kB / 459.4 MB, free: 14.01 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.331e-05/0.7572, allocations: 7.938 kB / 459.4 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.7586, allocations: 425.2 kB / 459.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.09e-06/0.7586, allocations: 0 / 459.8 MB, free: 13.54 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002421/0.761, allocations: 211.8 kB / 460 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.948e-06/0.7611, allocations: 0 / 460 MB, free: 13.33 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.734e-05/0.7611, allocations: 15.98 kB / 460 MB, free: 13.31 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007192/0.7683, allocations: 7.29 MB / 467.3 MB, free: 5.742 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.514e-06/0.7684, allocations: 3.953 kB / 467.3 MB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.7704, allocations: 0.5111 MB / 467.9 MB, free: 5.211 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002906/0.7708, allocations: 128.4 kB / 468 MB, free: 5.066 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002127/0.771, allocations: 8 kB / 468 MB, free: 5.059 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000662/0.7717, allocations: 15.98 kB / 468 MB, free: 5.043 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001525/0.7718, allocations: 27.92 kB / 468 MB, free: 5.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.25e-05/0.7719, allocations: 15.98 kB / 468 MB, free: 5 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001085/0.773, allocations: 402.8 kB / 468.4 MB, free: 4.609 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.773, allocations: 0 / 468.4 MB, free: 4.609 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001695/0.7748, allocations: 191.9 kB / 468.6 MB, free: 4.422 MB / 394.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 (28): * Single equations (assignments): 16 * 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.0009639/0.7757, allocations: 269.7 kB / 468.9 MB, free: 4.152 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004167/0.7799, allocations: 0.6263 MB / 469.5 MB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 6.152e-06/0.78, allocations: 0 / 469.5 MB, free: 3.527 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002865/0.7829, allocations: 360.4 kB / 469.9 MB, free: 3.176 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00115/0.7841, allocations: 109.8 kB / 470 MB, free: 3.066 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003619/0.7877, allocations: 1.128 MB / 471.1 MB, free: 1.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000718/0.7885, allocations: 0.9054 MB / 472 MB, free: 0.9766 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/0.7887, allocations: 47.42 kB / 472.1 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.7887, allocations: 0 / 472.1 MB, free: 0.9297 MB / 394.7 MB Notification: Performance of Templates: time 0.3297/1.118, allocations: 31.76 MB / 0.492 GB, free: 104.1 MB / 394.7 MB