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.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,tolerance=1e-06,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.|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.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.06e-05, allocations: 7.984 kB / 309.7 MB, free: 1.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3103/0.3103, allocations: 54.85 MB / 364.6 MB, free: 5.547 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1312/0.4415, allocations: 88.85 MB / 453.4 MB, free: 7.629 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003224/0.4419, allocations: 95.94 kB / 453.5 MB, free: 7.535 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05612/0.4981, allocations: 13.65 MB / 467.2 MB, free: 9.781 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.667e-06/0.4981, allocations: 0 / 467.2 MB, free: 9.781 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.253e-05/0.4981, allocations: 4 kB / 467.2 MB, free: 9.777 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001075/0.4992, allocations: 0.6229 MB / 467.8 MB, free: 9.109 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.4993, allocations: 9.344 kB / 467.8 MB, free: 9.102 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.4994, allocations: 43.53 kB / 467.8 MB, free: 9.059 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004393/0.4999, allocations: 283.3 kB / 468.1 MB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.039e-05/0.4999, allocations: 28.78 kB / 468.1 MB, free: 8.707 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.8e-05/0.5, allocations: 36 kB / 468.2 MB, free: 8.672 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.501, allocations: 0.5244 MB / 468.7 MB, free: 8.133 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/0.5011, allocations: 4 kB / 468.7 MB, free: 8.129 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.233e-05/0.5011, allocations: 16 kB / 468.7 MB, free: 8.113 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.724e-05/0.5012, allocations: 16.78 kB / 468.7 MB, free: 8.098 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007539/0.502, allocations: 354.8 kB / 469.1 MB, free: 7.75 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002485/0.5045, allocations: 1.3 MB / 470.4 MB, free: 6.391 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005787/0.5051, allocations: 272.9 kB / 470.6 MB, free: 6.098 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002953/0.5054, allocations: 125.7 kB / 470.8 MB, free: 5.969 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.216e-05/0.5054, allocations: 23.86 kB / 470.8 MB, free: 5.945 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.885e-05/0.5055, allocations: 34.56 kB / 470.8 MB, free: 5.902 MB / 394.7 MB Notification: Performance of pre-optimization done (n=17): time 3.646e-06/0.5055, allocations: 0 / 470.8 MB, free: 5.902 MB / 394.7 MB Notification: Performance of matching and sorting (n=17): time 0.0008594/0.5064, allocations: 306.9 kB / 471.1 MB, free: 5.598 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.516e-05/0.5065, allocations: 102.9 kB / 471.2 MB, free: 5.473 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006892/0.5072, allocations: 459 kB / 471.7 MB, free: 5.016 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.263e-05/0.5072, allocations: 29.7 kB / 471.7 MB, free: 4.98 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.5074, allocations: 238.6 kB / 471.9 MB, free: 4.742 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.777e-05/0.5075, allocations: 59.19 kB / 472 MB, free: 4.684 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.5075, allocations: 8 kB / 472 MB, free: 4.676 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001553/0.5077, allocations: 314.8 kB / 472.3 MB, free: 4.359 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002926/0.508, allocations: 116.1 kB / 472.4 MB, free: 4.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003623/0.5084, allocations: 195.2 kB / 472.6 MB, free: 4.016 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003343/0.5087, allocations: 139.8 kB / 472.8 MB, free: 3.879 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.137e-06/0.5088, allocations: 4 kB / 472.8 MB, free: 3.875 MB / 394.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0008814/0.5097, allocations: 358.8 kB / 473.1 MB, free: 3.52 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.497e-05/0.5097, allocations: 11.95 kB / 473.1 MB, free: 3.508 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.386e-05/0.5098, allocations: 31.97 kB / 473.1 MB, free: 3.477 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.9e-05/0.5098, allocations: 4 kB / 473.2 MB, free: 3.473 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002794/0.5101, allocations: 41.12 kB / 473.2 MB, free: 3.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.246e-05/0.5101, allocations: 4 kB / 473.2 MB, free: 3.43 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003916/0.5105, allocations: 67.59 kB / 473.3 MB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.06e-05/0.5106, allocations: 16 kB / 473.3 MB, free: 3.348 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].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 (24): * Single equations (assignments): 15 * 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.0001474/0.5108, allocations: 120.9 kB / 473.4 MB, free: 3.223 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001461/0.5109, allocations: 35.53 kB / 473.4 MB, free: 3.188 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001009/0.512, allocations: 419.2 kB / 473.8 MB, free: 2.777 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.144e-05/0.512, allocations: 7.938 kB / 473.8 MB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.047e-06/0.512, allocations: 0 / 473.8 MB, free: 2.77 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.756e-06/0.512, allocations: 4 kB / 473.9 MB, free: 2.766 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007839/0.5128, allocations: 369.3 kB / 474.2 MB, free: 2.355 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.366e-05/0.5129, allocations: 31.97 kB / 474.2 MB, free: 2.324 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002108/0.5131, allocations: 27.97 kB / 474.3 MB, free: 2.297 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.567e-06/0.5132, allocations: 4 kB / 474.3 MB, free: 2.293 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.792e-05/0.5132, allocations: 15.98 kB / 474.3 MB, free: 2.277 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.309e-06/0.5132, allocations: 3.953 kB / 474.3 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.248e-06/0.5132, allocations: 0 / 474.3 MB, free: 2.273 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008916/0.5141, allocations: 0.5734 MB / 474.9 MB, free: 1.672 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001519/0.5143, allocations: 124.6 kB / 475 MB, free: 1.531 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.545e-05/0.5144, allocations: 4 kB / 475 MB, free: 1.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004085/0.5148, allocations: 27.97 kB / 475 MB, free: 1.5 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.77e-05/0.5149, allocations: 19.97 kB / 475 MB, free: 1.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.074e-05/0.515, allocations: 12 kB / 475.1 MB, free: 1.469 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005412/0.5155, allocations: 353.1 kB / 475.4 MB, free: 1.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.65e-07/0.5155, allocations: 4 kB / 475.4 MB, free: 1.121 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007966/0.5163, allocations: 131.8 kB / 475.5 MB, free: 0.9922 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 () * 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.0004835/0.5168, allocations: 215 kB / 475.7 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008932/0.5178, allocations: 0.5034 MB / 476.2 MB, free: 216 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.242e-06/0.5178, allocations: 3.938 kB / 476.2 MB, free: 212 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005057/0.5183, allocations: 375.1 kB / 476.6 MB, free: 15.79 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006767/0.519, allocations: 86.27 kB / 476.7 MB, free: 15.7 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001487/0.5205, allocations: 0.6039 MB / 477.3 MB, free: 15.06 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006048/0.5211, allocations: 0.846 MB / 478.1 MB, free: 14.19 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.833e-05/0.5212, allocations: 27.44 kB / 478.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.726e-06/0.5212, allocations: 0 / 478.2 MB, free: 14.16 MB / 410.7 MB Notification: Performance of Templates: time 0.01422/0.5355, allocations: 7.64 MB / 485.8 MB, free: 6.547 MB / 410.7 MB