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.225/2.225, allocations: 234.9 MB / 250.5 MB, free: 9.461 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004313/0.0004313, allocations: 12 kB / 314.4 MB, free: 9.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2885, allocations: 54.86 MB / 369.3 MB, free: 12.73 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1276/0.4162, allocations: 86.61 MB / 455.9 MB, free: 6.004 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.4165, allocations: 99.94 kB / 456 MB, free: 5.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04099/0.4575, allocations: 10.01 MB / 466 MB, free: 11.8 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.12e-06/0.4576, allocations: 7.938 kB / 466 MB, free: 11.79 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.43e-05/0.4576, allocations: 4 kB / 466 MB, free: 11.79 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.0008264/0.4584, allocations: 0.5044 MB / 466.5 MB, free: 11.24 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.892e-05/0.4585, allocations: 8.031 kB / 466.5 MB, free: 11.23 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.316e-05/0.4586, allocations: 31.58 kB / 466.6 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.4589, allocations: 257.2 kB / 466.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.771e-05/0.459, allocations: 16.56 kB / 466.8 MB, free: 10.89 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.695e-05/0.459, allocations: 32 kB / 466.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008558/0.4599, allocations: 385.2 kB / 467.2 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.273e-05/0.4599, allocations: 0 / 467.2 MB, free: 10.47 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.315e-05/0.46, allocations: 15.98 kB / 467.3 MB, free: 10.46 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.028e-05/0.4601, allocations: 24.59 kB / 467.3 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009239/0.461, allocations: 418.3 kB / 467.7 MB, free: 10.02 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001794/0.4628, allocations: 0.8891 MB / 468.6 MB, free: 9.086 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007997/0.4636, allocations: 298.2 kB / 468.9 MB, free: 8.785 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.133e-05/0.4637, allocations: 16.33 kB / 468.9 MB, free: 8.77 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.034e-05/0.4637, allocations: 34.55 kB / 468.9 MB, free: 8.727 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.908e-06/0.4638, allocations: 4 kB / 468.9 MB, free: 8.723 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.001091/0.4648, allocations: 370.8 kB / 469.3 MB, free: 8.355 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.872e-05/0.4649, allocations: 59.41 kB / 469.3 MB, free: 8.285 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004679/0.4654, allocations: 314.4 kB / 469.6 MB, free: 7.965 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.284e-05/0.4654, allocations: 29.7 kB / 469.7 MB, free: 7.93 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001596/0.4656, allocations: 210.6 kB / 469.9 MB, free: 7.723 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.516e-05/0.4657, allocations: 47.3 kB / 469.9 MB, free: 7.676 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.112e-05/0.4657, allocations: 4 kB / 469.9 MB, free: 7.672 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000158/0.4659, allocations: 322.8 kB / 470.2 MB, free: 7.348 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002969/0.4662, allocations: 108.3 kB / 470.4 MB, free: 7.242 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003288/0.4665, allocations: 150.6 kB / 470.5 MB, free: 7.074 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003239/0.4669, allocations: 120.6 kB / 470.6 MB, free: 6.957 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.947e-06/0.4669, allocations: 0 / 470.6 MB, free: 6.957 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007982/0.4677, allocations: 305.7 kB / 470.9 MB, free: 6.652 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.276e-05/0.4677, allocations: 8 kB / 470.9 MB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.4678, allocations: 0 / 470.9 MB, free: 6.645 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.4678, allocations: 4 kB / 470.9 MB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007736/0.4686, allocations: 119.8 kB / 471 MB, free: 6.523 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002912/0.4715, allocations: 3.707 MB / 474.8 MB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002918/0.4718, allocations: 39.95 kB / 474.8 MB, free: 2.637 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.309e-05/0.4719, allocations: 8 kB / 474.8 MB, free: 2.629 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 () * Number of clocked 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.000272/0.4722, allocations: 169.7 kB / 475 MB, free: 2.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.773e-05/0.4722, allocations: 27.62 kB / 475 MB, free: 2.426 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009461/0.4732, allocations: 365.6 kB / 475.3 MB, free: 2.066 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.739e-06/0.4732, allocations: 4 kB / 475.4 MB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.457e-06/0.4732, allocations: 0 / 475.4 MB, free: 2.062 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.679e-06/0.4733, allocations: 3.984 kB / 475.4 MB, free: 2.059 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000537/0.4738, allocations: 313.3 kB / 475.7 MB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.538e-06/0.4738, allocations: 0 / 475.7 MB, free: 1.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007391/0.4746, allocations: 115.9 kB / 475.8 MB, free: 1.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.607e-06/0.4746, allocations: 4 kB / 475.8 MB, free: 1.586 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.646e-05/0.4746, allocations: 4 kB / 475.8 MB, free: 1.582 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002918/0.4776, allocations: 3.704 MB / 479.5 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.181e-06/0.4776, allocations: 0 / 479.5 MB, free: 13.74 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008156/0.4784, allocations: 371.5 kB / 479.8 MB, free: 13.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000136/0.4786, allocations: 112.8 kB / 480 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.436e-05/0.4786, allocations: 0 / 480 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002359/0.4789, allocations: 19.92 kB / 480 MB, free: 13.21 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.468e-05/0.479, allocations: 7.984 kB / 480 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.068e-05/0.479, allocations: 11.98 kB / 480 MB, free: 13.19 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003657/0.4794, allocations: 253.9 kB / 480.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.4794, allocations: 0 / 480.2 MB, free: 12.95 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005391/0.48, allocations: 76.03 kB / 480.3 MB, free: 12.87 MB / 410.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 (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.0003351/0.4803, allocations: 167.1 kB / 480.5 MB, free: 12.7 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001206/0.4815, allocations: 307.5 kB / 480.8 MB, free: 12.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.47e-06/0.4816, allocations: 3.938 kB / 480.8 MB, free: 12.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008136/0.4824, allocations: 179.8 kB / 481 MB, free: 12.22 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004333/0.4828, allocations: 60.34 kB / 481 MB, free: 12.16 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001345/0.4842, allocations: 0.703 MB / 481.7 MB, free: 11.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005098/0.4847, allocations: 0.791 MB / 482.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.599e-05/0.4848, allocations: 31.42 kB / 482.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of SimCode: time 1.422e-06/0.4848, allocations: 4 kB / 482.5 MB, free: 10.57 MB / 410.7 MB Notification: Performance of Templates: time 0.01758/0.5024, allocations: 11.14 MB / 493.7 MB, free: 15.45 MB / 426.7 MB