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.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadModel(ModelicaTest): time 2.116/2.116, allocations: 235 MB / 248.1 MB, free: 14.57 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.136e-05/4.142e-05, allocations: 4 kB / 309.7 MB, free: 1.504 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3284/0.3285, allocations: 54.85 MB / 364.6 MB, free: 5.527 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4565, allocations: 86.53 MB / 451.1 MB, free: 9.945 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003023/0.4568, allocations: 96.59 kB / 451.2 MB, free: 9.852 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04282/0.4997, allocations: 10.02 MB / 461.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.4997, allocations: 0 / 461.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.823e-05/0.4998, allocations: 4 kB / 461.2 MB, free: 15.76 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.0008103/0.5006, allocations: 498.3 kB / 461.7 MB, free: 15.23 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.5006, allocations: 12.02 kB / 461.7 MB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.5008, allocations: 31.67 kB / 461.7 MB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003623/0.5011, allocations: 248.2 kB / 462 MB, free: 14.9 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.856e-05/0.5012, allocations: 16.56 kB / 462 MB, free: 14.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.5013, allocations: 31.98 kB / 462 MB, free: 14.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007482/0.502, allocations: 370 kB / 462.4 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.502, allocations: 0 / 462.4 MB, free: 14.48 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.072e-05/0.5021, allocations: 12 kB / 462.4 MB, free: 14.47 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.031e-05/0.5022, allocations: 24.72 kB / 462.4 MB, free: 14.45 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007792/0.5029, allocations: 378.9 kB / 462.8 MB, free: 14.08 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001883/0.5048, allocations: 0.8974 MB / 463.7 MB, free: 13.13 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007406/0.5056, allocations: 284.1 kB / 464 MB, free: 12.84 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000213/0.5059, allocations: 92.73 kB / 464.1 MB, free: 12.75 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.159e-05/0.5059, allocations: 12.98 kB / 464.1 MB, free: 12.74 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.937e-05/0.506, allocations: 34.56 kB / 464.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 3.521e-06/0.506, allocations: 0 / 464.1 MB, free: 12.7 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006321/0.5066, allocations: 229.4 kB / 464.3 MB, free: 12.46 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.048e-05/0.5067, allocations: 59.34 kB / 464.4 MB, free: 12.39 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004689/0.5072, allocations: 311.4 kB / 464.7 MB, free: 12.09 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.384e-05/0.5072, allocations: 29.7 kB / 464.7 MB, free: 12.05 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.5074, allocations: 214.6 kB / 464.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.748e-05/0.5075, allocations: 47.2 kB / 465 MB, free: 11.79 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.859e-05/0.5075, allocations: 8 kB / 465 MB, free: 11.79 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.5077, allocations: 323.8 kB / 465.3 MB, free: 11.46 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.5079, allocations: 84.3 kB / 465.4 MB, free: 11.38 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002544/0.5082, allocations: 141.1 kB / 465.5 MB, free: 11.22 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002473/0.5084, allocations: 100.5 kB / 465.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.602e-06/0.5084, allocations: 0 / 465.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006416/0.5091, allocations: 269.9 kB / 465.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.099e-05/0.5091, allocations: 9.875 kB / 465.9 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.899e-06/0.5091, allocations: 0 / 465.9 MB, free: 10.85 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.889e-05/0.5092, allocations: 7.984 kB / 465.9 MB, free: 10.84 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008082/0.51, allocations: 115.8 kB / 466 MB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00296/0.513, allocations: 3.692 MB / 469.7 MB, free: 6.895 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002719/0.5133, allocations: 40.61 kB / 469.7 MB, free: 6.855 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.814e-05/0.5133, allocations: 15.98 kB / 469.8 MB, free: 6.84 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001469/0.5135, allocations: 125.1 kB / 469.9 MB, free: 6.711 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.381e-05/0.5136, allocations: 23.72 kB / 469.9 MB, free: 6.688 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007998/0.5144, allocations: 329.3 kB / 470.2 MB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.106e-06/0.5144, allocations: 0 / 470.2 MB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.79e-06/0.5144, allocations: 0 / 470.2 MB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.485e-06/0.5144, allocations: 0 / 470.2 MB, free: 6.359 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005277/0.515, allocations: 313.4 kB / 470.5 MB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.488e-06/0.515, allocations: 0 / 470.5 MB, free: 6.004 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007437/0.5157, allocations: 111.8 kB / 470.6 MB, free: 5.895 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.854e-06/0.5158, allocations: 7.938 kB / 470.7 MB, free: 5.887 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.668e-05/0.5158, allocations: 7.984 kB / 470.7 MB, free: 5.879 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002843/0.5186, allocations: 3.703 MB / 474.4 MB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.5187, allocations: 0 / 474.4 MB, free: 2.039 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006098/0.5193, allocations: 340.8 kB / 474.7 MB, free: 1.691 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001204/0.5194, allocations: 108.7 kB / 474.8 MB, free: 1.566 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.5195, allocations: 4 kB / 474.8 MB, free: 1.562 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000226/0.5197, allocations: 11.98 kB / 474.8 MB, free: 1.551 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.629e-05/0.5198, allocations: 16.08 kB / 474.8 MB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.254e-05/0.5199, allocations: 11.98 kB / 474.8 MB, free: 1.523 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003561/0.5202, allocations: 247.1 kB / 475.1 MB, free: 1.285 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.04e-07/0.5202, allocations: 0 / 475.1 MB, free: 1.285 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005209/0.5208, allocations: 84 kB / 475.2 MB, free: 1.203 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003195/0.5211, allocations: 163.1 kB / 475.3 MB, free: 1.035 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001039/0.5222, allocations: 276.7 kB / 475.6 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.5222, allocations: 0 / 475.6 MB, free: 0.7656 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007643/0.523, allocations: 160.8 kB / 475.8 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000427/0.5234, allocations: 64.67 kB / 475.8 MB, free: 0.5469 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009694/0.5244, allocations: 434.9 kB / 476.2 MB, free: 100 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005337/0.5249, allocations: 0.7988 MB / 477 MB, free: 15.27 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.174e-05/0.5251, allocations: 27.42 kB / 477.1 MB, free: 15.24 MB / 410.7 MB Notification: Performance of SimCode: time 1.992e-06/0.5251, allocations: 0 / 477.1 MB, free: 15.24 MB / 410.7 MB Notification: Performance of Templates: time 0.01763/0.5427, allocations: 11.16 MB / 488.2 MB, free: 4.086 MB / 410.7 MB