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.HeatExchanger.kc_roundTube_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.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.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.298/2.298, allocations: 235 MB / 248.1 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.591e-05/2.605e-05, allocations: 4 kB / 309.7 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3189/0.319, allocations: 54.85 MB / 364.6 MB, free: 5.383 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1393/0.4583, allocations: 93.65 MB / 458.2 MB, free: 2.672 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003092/0.4587, allocations: 99.86 kB / 458.3 MB, free: 2.574 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04698/0.5057, allocations: 11.25 MB / 469.6 MB, free: 7.316 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.5057, allocations: 4 kB / 469.6 MB, free: 7.312 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.5057, allocations: 9.406 kB / 469.6 MB, free: 7.305 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: 90 * Number of variables: 90 Notification: Performance of Generate backend data structure: time 0.0008012/0.5066, allocations: 0.5606 MB / 470.1 MB, free: 6.699 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.5066, allocations: 8.031 kB / 470.1 MB, free: 6.691 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.909e-05/0.5067, allocations: 39.53 kB / 470.2 MB, free: 6.652 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/0.5071, allocations: 230.5 kB / 470.4 MB, free: 6.387 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.616e-05/0.5071, allocations: 28.78 kB / 470.4 MB, free: 6.359 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.893e-05/0.5072, allocations: 40 kB / 470.5 MB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008171/0.508, allocations: 0.5464 MB / 471 MB, free: 5.641 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.5081, allocations: 11.94 kB / 471 MB, free: 5.629 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.68e-05/0.5081, allocations: 23.95 kB / 471 MB, free: 5.605 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.606e-05/0.5081, allocations: 8 kB / 471.1 MB, free: 5.598 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005766/0.5087, allocations: 309.1 kB / 471.4 MB, free: 5.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003633/0.5124, allocations: 4.038 MB / 475.4 MB, free: 1.055 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003936/0.5128, allocations: 98.45 kB / 475.5 MB, free: 0.9492 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001007/0.5129, allocations: 28.97 kB / 475.5 MB, free: 0.918 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.901e-05/0.513, allocations: 1.875 kB / 475.5 MB, free: 0.918 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.194e-05/0.513, allocations: 38.56 kB / 475.6 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.417e-06/0.513, allocations: 0 / 475.6 MB, free: 0.8711 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0003644/0.5134, allocations: 105.2 kB / 475.7 MB, free: 0.7617 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.5135, allocations: 63.33 kB / 475.7 MB, free: 0.6875 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005206/0.514, allocations: 355 kB / 476.1 MB, free: 340 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.514, allocations: 25.7 kB / 476.1 MB, free: 308 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002078/0.5143, allocations: 289.7 kB / 476.4 MB, free: 16 kB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.102e-05/0.5143, allocations: 31.64 kB / 476.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.816e-05/0.5144, allocations: 4 kB / 476.4 MB, free: 15.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001566/0.5145, allocations: 326.8 kB / 476.7 MB, free: 15.65 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001447/0.5147, allocations: 48.64 kB / 476.8 MB, free: 15.6 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002964/0.515, allocations: 250.3 kB / 477 MB, free: 15.25 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002139/0.5152, allocations: 91.89 kB / 477.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.141e-06/0.5153, allocations: 4 kB / 477.1 MB, free: 15.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006799/0.5159, allocations: 293.6 kB / 477.4 MB, free: 14.87 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.39e-05/0.516, allocations: 8.156 kB / 477.4 MB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.516, allocations: 15.98 kB / 477.4 MB, free: 14.84 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.726e-05/0.516, allocations: 12 kB / 477.4 MB, free: 14.83 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005948/0.5167, allocations: 103.9 kB / 477.5 MB, free: 14.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001024/0.5177, allocations: 1.227 MB / 478.8 MB, free: 13.46 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004359/0.5182, allocations: 71.27 kB / 478.8 MB, free: 13.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/0.5182, allocations: 16 kB / 478.9 MB, free: 13.37 MB / 410.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 () * 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.0001344/0.5184, allocations: 128.8 kB / 479 MB, free: 13.24 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.266e-05/0.5185, allocations: 35.58 kB / 479 MB, free: 13.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004677/0.5189, allocations: 153.1 kB / 479.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.88e-06/0.519, allocations: 0 / 479.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.251e-06/0.519, allocations: 4 kB / 479.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.791e-06/0.519, allocations: 4 kB / 479.2 MB, free: 13.04 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004394/0.5194, allocations: 269.5 kB / 479.4 MB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.966e-06/0.5195, allocations: 0 / 479.4 MB, free: 12.72 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.5198, allocations: 55.91 kB / 479.5 MB, free: 12.67 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.442e-06/0.5199, allocations: 3.953 kB / 479.5 MB, free: 12.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.457e-05/0.5199, allocations: 11.98 kB / 479.5 MB, free: 12.65 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009417/0.5208, allocations: 1.195 MB / 480.7 MB, free: 11.41 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.81e-06/0.5209, allocations: 7.891 kB / 480.7 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003469/0.5212, allocations: 211.1 kB / 480.9 MB, free: 11.18 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.5214, allocations: 104.6 kB / 481 MB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.131e-05/0.5214, allocations: 7.984 kB / 481 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002286/0.5217, allocations: 8.156 kB / 481 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.515e-05/0.5218, allocations: 7.984 kB / 481 MB, free: 11.04 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.079e-05/0.5218, allocations: 11.95 kB / 481 MB, free: 11.02 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003927/0.5222, allocations: 265.2 kB / 481.3 MB, free: 10.77 MB / 410.7 MB Notification: Performance of sort global known variables: time 7.98e-07/0.5222, allocations: 3.938 kB / 481.3 MB, free: 10.76 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0008057/0.523, allocations: 127.9 kB / 481.4 MB, free: 10.64 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 () * 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.0005807/0.5236, allocations: 263.8 kB / 481.7 MB, free: 10.37 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006339/0.5243, allocations: 161.7 kB / 481.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.283e-06/0.5243, allocations: 4 kB / 481.9 MB, free: 10.21 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002953/0.5246, allocations: 51.97 kB / 481.9 MB, free: 10.16 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.525, allocations: 45.31 kB / 482 MB, free: 10.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007796/0.5258, allocations: 322.2 kB / 482.3 MB, free: 9.777 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004714/0.5263, allocations: 0.7836 MB / 483 MB, free: 8.965 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.562e-05/0.5264, allocations: 27.44 kB / 483.1 MB, free: 8.938 MB / 410.7 MB Notification: Performance of SimCode: time 1.558e-06/0.5264, allocations: 0 / 483.1 MB, free: 8.938 MB / 410.7 MB Notification: Performance of Templates: time 0.01251/0.5389, allocations: 6.993 MB / 490.1 MB, free: 1.953 MB / 410.7 MB