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.HeatExchanger.kc_roundTube_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.HeatExchanger.kc_roundTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Nu|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|kc_1|kc_4|Re_1|Re_4|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.005/2.005, allocations: 209.3 MB / 224.8 MB, free: 436 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004325/0.0004326, allocations: 12 kB / 282.5 MB, free: 9.66 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.287, allocations: 48.71 MB / 331.2 MB, free: 6.5 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.002746/0.2898, allocations: 2.137 MB / 333.3 MB, free: 5.25 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.002135/0.292, allocations: 1.306 MB / 334.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001676/0.2922, allocations: 1.656 kB / 334.7 MB, free: 4.348 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003096/0.2925, allocations: 91.17 kB / 334.7 MB, free: 4.301 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000387/0.2929, allocations: 135.5 kB / 334.9 MB, free: 4.203 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005564/0.2935, allocations: 198.5 kB / 335.1 MB, free: 4.117 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.000275/0.2938, allocations: 214.1 kB / 335.3 MB, free: 4.004 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.482e-05/0.2939, allocations: 24.78 kB / 335.3 MB, free: 3.996 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001156/0.294, allocations: 89.69 kB / 335.4 MB, free: 3.957 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001694/0.2942, allocations: 111.3 kB / 335.5 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 3.204e-05/0.2942, allocations: 7.156 kB / 335.5 MB, free: 3.906 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001213/0.2954, allocations: 0.577 MB / 336.1 MB, free: 3.738 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 6.698e-05/0.2955, allocations: 38.28 kB / 336.1 MB, free: 3.715 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 8.045e-05/0.2956, allocations: 77.23 kB / 336.2 MB, free: 3.656 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005357/0.2962, allocations: 315 kB / 336.5 MB, free: 3.539 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.88e-06/0.2962, allocations: 1.281 kB / 336.5 MB, free: 3.539 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.996e-06/0.2962, allocations: 0 / 336.5 MB, free: 3.539 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.058e-06/0.2962, allocations: 0 / 336.5 MB, free: 3.539 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0006902/0.2969, allocations: 0.573 MB / 337.1 MB, free: 3.004 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.297, allocations: 13.5 kB / 337.1 MB, free: 3 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.021e-05/0.2971, allocations: 38.62 kB / 337.1 MB, free: 2.98 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002538/0.2973, allocations: 244.5 kB / 337.4 MB, free: 2.727 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.328e-05/0.2974, allocations: 27.03 kB / 337.4 MB, free: 2.715 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.927e-05/0.2975, allocations: 34.88 kB / 337.4 MB, free: 2.703 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007114/0.2982, allocations: 0.5752 MB / 338 MB, free: 2.145 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.2982, allocations: 6.906 kB / 338 MB, free: 2.141 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.984e-05/0.2983, allocations: 22.94 kB / 338 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.2983, allocations: 10.91 kB / 338 MB, free: 2.125 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006412/0.2989, allocations: 342 kB / 338.4 MB, free: 1.953 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00289/0.3019, allocations: 4.042 MB / 342.4 MB, free: 13.95 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003724/0.3023, allocations: 103 kB / 342.5 MB, free: 13.89 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.235e-05/0.3023, allocations: 5.984 kB / 342.5 MB, free: 13.88 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.1e-05/0.3024, allocations: 36.06 kB / 342.6 MB, free: 13.84 MB / 282.7 MB Notification: Performance of pre-optimization done (n=7): time 2.693e-06/0.3024, allocations: 0 / 342.6 MB, free: 13.84 MB / 282.7 MB Notification: Performance of matching and sorting (n=7): time 0.0006899/0.3031, allocations: 184.2 kB / 342.7 MB, free: 13.75 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.438e-05/0.3031, allocations: 60.61 kB / 342.8 MB, free: 13.68 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005687/0.3037, allocations: 404.6 kB / 343.2 MB, free: 13.43 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 2.702e-05/0.3038, allocations: 27.11 kB / 343.2 MB, free: 13.4 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002327/0.304, allocations: 292.2 kB / 343.5 MB, free: 13.12 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.3041, allocations: 28.91 kB / 343.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.833e-05/0.3041, allocations: 5.125 kB / 343.5 MB, free: 13.1 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001706/0.3043, allocations: 326.4 kB / 343.9 MB, free: 12.77 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000225/0.3045, allocations: 63.28 kB / 343.9 MB, free: 12.75 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003829/0.3049, allocations: 275.9 kB / 344.2 MB, free: 12.43 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003112/0.3052, allocations: 95.91 kB / 344.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.806e-06/0.3053, allocations: 2.281 kB / 344.3 MB, free: 12.39 MB / 282.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.000874/0.3061, allocations: 344.2 kB / 344.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.183e-05/0.3062, allocations: 9.594 kB / 344.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.3062, allocations: 7.531 kB / 344.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.572e-05/0.3062, allocations: 10.41 kB / 344.6 MB, free: 12.21 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006007/0.3069, allocations: 114.1 kB / 344.8 MB, free: 12.18 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.3079, allocations: 1.22 MB / 346 MB, free: 10.96 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004643/0.3084, allocations: 67.56 kB / 346 MB, free: 10.92 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.381e-05/0.3085, allocations: 21.45 kB / 346.1 MB, free: 10.92 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * Number of states: 0 () * Number of discrete variables: 5 (m_flow_IN_con_4.N,m_flow_IN_con_4.geometry,m_flow_IN_con_1.geometry,m_flow_IN_con_3.geometry,m_flow_IN_con_2.geometry) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002447/0.3087, allocations: 146.1 kB / 346.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.65e-05/0.3088, allocations: 35.59 kB / 346.2 MB, free: 10.76 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006439/0.3095, allocations: 183.7 kB / 346.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.192e-06/0.3095, allocations: 1.25 kB / 346.4 MB, free: 10.65 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.918e-06/0.3095, allocations: 4 kB / 346.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.522e-05/0.3096, allocations: 7.938 kB / 346.4 MB, free: 10.64 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004525/0.31, allocations: 274.9 kB / 346.7 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.983e-06/0.31, allocations: 1.375 kB / 346.7 MB, free: 10.37 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003811/0.3104, allocations: 55.14 kB / 346.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.601e-06/0.3105, allocations: 1.125 kB / 346.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.892e-05/0.3105, allocations: 5.219 kB / 346.8 MB, free: 10.36 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009828/0.3115, allocations: 1.208 MB / 348 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.712e-06/0.3115, allocations: 0 / 348 MB, free: 9.145 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005288/0.312, allocations: 250.3 kB / 348.2 MB, free: 8.957 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.3122, allocations: 112.6 kB / 348.3 MB, free: 8.836 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.249e-05/0.3123, allocations: 5.031 kB / 348.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002272/0.3125, allocations: 5.812 kB / 348.3 MB, free: 8.832 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.338e-05/0.3126, allocations: 12.39 kB / 348.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/0.3126, allocations: 3.031 kB / 348.4 MB, free: 8.824 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0003991/0.313, allocations: 273.4 kB / 348.6 MB, free: 8.656 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.7e-07/0.313, allocations: 0 / 348.6 MB, free: 8.656 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0007261/0.3138, allocations: 108.6 kB / 348.7 MB, free: 8.641 MB / 282.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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * 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: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004482/0.3143, allocations: 174.1 kB / 348.9 MB, free: 8.516 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0008356/0.3151, allocations: 212.2 kB / 349.1 MB, free: 8.445 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 3.574e-06/0.3151, allocations: 1.375 kB / 349.1 MB, free: 8.445 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004171/0.3156, allocations: 93.47 kB / 349.2 MB, free: 8.414 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003951/0.316, allocations: 36.5 kB / 349.2 MB, free: 8.395 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001201/0.3172, allocations: 0.6118 MB / 349.8 MB, free: 7.938 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004829/0.3177, allocations: 0.7766 MB / 350.6 MB, free: 7.195 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.615e-05/0.3178, allocations: 25.88 kB / 350.6 MB, free: 7.191 MB / 282.7 MB Notification: Performance of SimCode: time 1.473e-06/0.3178, allocations: 0 / 350.6 MB, free: 7.191 MB / 282.7 MB Notification: Performance of Templates: time 0.01217/0.33, allocations: 6.467 MB / 357.1 MB, free: 3.777 MB / 282.7 MB