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.General.kc_approxForcedConvection_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/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.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadModel(ModelicaTest): time 1.862/1.862, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.752e-05/2.771e-05, allocations: 4 kB / 277.9 MB, free: 15.28 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08983/0.08988, allocations: 48.7 MB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.494, allocations: 80.18 MB / 406.7 MB, free: 8.824 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002826/0.4943, allocations: 95.62 kB / 406.8 MB, free: 8.809 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03985/0.5342, allocations: 10.01 MB / 416.9 MB, free: 2.727 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.057e-06/0.5342, allocations: 4 kB / 416.9 MB, free: 2.723 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.391e-05/0.5342, allocations: 4 kB / 416.9 MB, free: 2.719 MB / 314.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.0006306/0.5349, allocations: 0.4904 MB / 417.3 MB, free: 2.199 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.5349, allocations: 8.031 kB / 417.4 MB, free: 2.191 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.317e-05/0.535, allocations: 31.66 kB / 417.4 MB, free: 2.164 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002568/0.5353, allocations: 246.9 kB / 417.6 MB, free: 1.883 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.338e-05/0.5353, allocations: 19.69 kB / 417.6 MB, free: 1.871 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.131e-05/0.5354, allocations: 29 kB / 417.7 MB, free: 1.852 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000619/0.536, allocations: 368.3 kB / 418 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.379e-05/0.5361, allocations: 0 / 418 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.533e-05/0.5361, allocations: 6.938 kB / 418 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/0.5362, allocations: 28.2 kB / 418.1 MB, free: 1.543 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007058/0.5369, allocations: 385.9 kB / 418.4 MB, free: 1.262 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001584/0.5385, allocations: 0.8967 MB / 419.3 MB, free: 440 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006312/0.5391, allocations: 286.5 kB / 419.6 MB, free: 172 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001786/0.5393, allocations: 84.36 kB / 419.7 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.5394, allocations: 11.94 kB / 419.7 MB, free: 84 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.555e-05/0.5394, allocations: 38 kB / 419.8 MB, free: 40 kB / 314.7 MB Notification: Performance of pre-optimization done (n=15): time 2.707e-06/0.5394, allocations: 0 / 419.8 MB, free: 40 kB / 314.7 MB Notification: Performance of matching and sorting (n=15): time 0.0006249/0.5401, allocations: 239.6 kB / 420 MB, free: 15.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.5401, allocations: 55.34 kB / 420 MB, free: 15.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004502/0.5406, allocations: 313.9 kB / 420.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.5406, allocations: 25.7 kB / 420.4 MB, free: 15.46 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001424/0.5408, allocations: 207.2 kB / 420.6 MB, free: 15.29 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.643e-05/0.5409, allocations: 58.45 kB / 420.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.728e-05/0.5409, allocations: 3.25 kB / 420.6 MB, free: 15.24 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001684/0.5411, allocations: 321.3 kB / 421 MB, free: 14.92 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002031/0.5413, allocations: 87.17 kB / 421 MB, free: 14.85 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.5416, allocations: 139.5 kB / 421.2 MB, free: 14.71 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002409/0.5418, allocations: 101.6 kB / 421.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.398e-06/0.5418, allocations: 0 / 421.3 MB, free: 14.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0006427/0.5425, allocations: 267.6 kB / 421.5 MB, free: 14.38 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.5425, allocations: 12.12 kB / 421.5 MB, free: 14.37 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.286e-06/0.5426, allocations: 8 kB / 421.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.5426, allocations: 0 / 421.6 MB, free: 14.36 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008039/0.5434, allocations: 115.8 kB / 421.7 MB, free: 14.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003013/0.5464, allocations: 3.703 MB / 425.4 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003186/0.5468, allocations: 34.89 kB / 425.4 MB, free: 10.42 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.661e-05/0.5468, allocations: 15.36 kB / 425.4 MB, free: 10.41 MB / 330.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.0001507/0.547, allocations: 113.3 kB / 425.5 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.011e-05/0.5471, allocations: 27.67 kB / 425.6 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008182/0.5479, allocations: 337.2 kB / 425.9 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.5479, allocations: 4 kB / 425.9 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.216e-06/0.548, allocations: 0 / 425.9 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.584e-06/0.548, allocations: 0 / 425.9 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005195/0.5485, allocations: 308.5 kB / 426.2 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.768e-06/0.5485, allocations: 0 / 426.2 MB, free: 9.648 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007565/0.5493, allocations: 111.8 kB / 426.3 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.981e-06/0.5493, allocations: 0 / 426.3 MB, free: 9.539 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.261e-05/0.5493, allocations: 14.94 kB / 426.3 MB, free: 9.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002982/0.5523, allocations: 3.698 MB / 430 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.664e-06/0.5524, allocations: 288 / 430 MB, free: 5.738 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006257/0.553, allocations: 342.4 kB / 430.3 MB, free: 5.414 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001451/0.5532, allocations: 108.8 kB / 430.5 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.667e-05/0.5532, allocations: 3.953 kB / 430.5 MB, free: 5.285 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002461/0.5535, allocations: 14.73 kB / 430.5 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.487e-05/0.5536, allocations: 7.984 kB / 430.5 MB, free: 5.266 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.125e-05/0.5536, allocations: 15.17 kB / 430.5 MB, free: 5.254 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003553/0.554, allocations: 253.1 kB / 430.7 MB, free: 5.047 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.84e-07/0.554, allocations: 0 / 430.7 MB, free: 5.047 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005535/0.5546, allocations: 74 kB / 430.8 MB, free: 4.98 MB / 330.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.0003354/0.5549, allocations: 172.5 kB / 431 MB, free: 4.809 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001063/0.556, allocations: 272.2 kB / 431.2 MB, free: 4.566 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.556, allocations: 4 kB / 431.2 MB, free: 4.562 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007356/0.5568, allocations: 163.1 kB / 431.4 MB, free: 4.414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004471/0.5572, allocations: 60.3 kB / 431.5 MB, free: 4.367 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009989/0.5583, allocations: 435.5 kB / 431.9 MB, free: 3.941 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00057/0.5588, allocations: 0.8117 MB / 432.7 MB, free: 3.113 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.897e-05/0.5589, allocations: 19.44 kB / 432.7 MB, free: 3.094 MB / 330.7 MB Notification: Performance of SimCode: time 1.695e-06/0.559, allocations: 0 / 432.7 MB, free: 3.094 MB / 330.7 MB Notification: Performance of Templates: time 0.01842/0.5774, allocations: 11.14 MB / 443.9 MB, free: 7.98 MB / 346.7 MB