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_flatTube.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_flatTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|Nu.1.|Nu.2.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube") Notification: Performance of loadModel(ModelicaTest): time 1.884/1.884, allocations: 209.3 MB / 222.4 MB, free: 7.723 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.254e-05/4.264e-05, allocations: 8 kB / 277.9 MB, free: 15.27 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1191, allocations: 48.7 MB / 326.6 MB, free: 14.48 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3484/0.4676, allocations: 83.04 MB / 409.6 MB, free: 7.945 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/0.4679, allocations: 94.22 kB / 409.7 MB, free: 7.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0282/0.4961, allocations: 7.819 MB / 417.5 MB, free: 1.676 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.172e-06/0.4961, allocations: 0 / 417.5 MB, free: 1.676 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.226e-05/0.4962, allocations: 4 kB / 417.5 MB, free: 1.672 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.0004836/0.4967, allocations: 460.4 kB / 418 MB, free: 1.191 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.4967, allocations: 12.03 kB / 418 MB, free: 1.18 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.4968, allocations: 19.72 kB / 418 MB, free: 1.16 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.497, allocations: 217.5 kB / 418.2 MB, free: 0.9141 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.941e-05/0.497, allocations: 15.31 kB / 418.2 MB, free: 0.9062 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.991e-05/0.497, allocations: 15.88 kB / 418.2 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/0.4974, allocations: 189.2 kB / 418.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4974, allocations: 0 / 418.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.832e-05/0.4974, allocations: 3.938 kB / 418.4 MB, free: 0.7617 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.501e-06/0.4974, allocations: 8 kB / 418.4 MB, free: 0.7539 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001952/0.4976, allocations: 122.7 kB / 418.6 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008833/0.4985, allocations: 0.572 MB / 419.1 MB, free: 148 kB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001449/0.4987, allocations: 52.94 kB / 419.2 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.939e-05/0.4988, allocations: 20.42 kB / 419.2 MB, free: 76 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.453e-05/0.4988, allocations: 4 kB / 419.2 MB, free: 72 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.259e-05/0.4988, allocations: 30.56 kB / 419.2 MB, free: 32 kB / 314.7 MB Notification: Performance of pre-optimization done (n=5): time 2.549e-06/0.4989, allocations: 0 / 419.2 MB, free: 32 kB / 314.7 MB Notification: Performance of matching and sorting (n=5): time 0.000296/0.4992, allocations: 90.81 kB / 419.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.026e-05/0.4992, allocations: 63.09 kB / 419.4 MB, free: 15.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002953/0.4995, allocations: 222 kB / 419.6 MB, free: 15.68 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.624e-05/0.4996, allocations: 25.7 kB / 419.6 MB, free: 15.65 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001459/0.4997, allocations: 221.4 kB / 419.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.4998, allocations: 26.98 kB / 419.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.599e-06/0.4998, allocations: 0 / 419.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.5, allocations: 318.3 kB / 420.2 MB, free: 15.12 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.36e-05/0.5001, allocations: 22.75 kB / 420.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000162/0.5002, allocations: 119 kB / 420.3 MB, free: 14.95 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001182/0.5004, allocations: 46.91 kB / 420.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.403e-06/0.5004, allocations: 4 kB / 420.4 MB, free: 14.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.000386/0.5008, allocations: 161.3 kB / 420.5 MB, free: 14.77 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5008, allocations: 4 kB / 420.5 MB, free: 14.76 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.881e-05/0.5009, allocations: 12 kB / 420.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.5009, allocations: 4 kB / 420.5 MB, free: 14.75 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001919/0.5011, allocations: 43.28 kB / 420.6 MB, free: 14.71 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.503e-05/0.5011, allocations: 4.438 kB / 420.6 MB, free: 14.7 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002109/0.5014, allocations: 31.78 kB / 420.6 MB, free: 14.67 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.129e-05/0.5014, allocations: 19.8 kB / 420.6 MB, free: 14.66 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 2 (m_flow_IN_con_2.geometry,m_flow_IN_con_1.geometry) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001098/0.5015, allocations: 116.2 kB / 420.8 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.124e-05/0.5016, allocations: 19.81 kB / 420.8 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.502, allocations: 121 kB / 420.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.204e-06/0.502, allocations: 4 kB / 420.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.502, allocations: 0 / 420.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.732e-06/0.502, allocations: 0 / 420.9 MB, free: 14.41 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003466/0.5024, allocations: 222.5 kB / 421.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-05/0.5024, allocations: 8 kB / 421.1 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.251e-05/0.5025, allocations: 15.98 kB / 421.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.254e-06/0.5025, allocations: 0 / 421.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.5026, allocations: 0 / 421.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.804e-06/0.5026, allocations: 4 kB / 421.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.5026, allocations: 0 / 421.1 MB, free: 14.14 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002832/0.5029, allocations: 185.8 kB / 421.3 MB, free: 13.95 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.088e-05/0.503, allocations: 92.88 kB / 421.4 MB, free: 13.84 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.48e-05/0.503, allocations: 3.938 kB / 421.4 MB, free: 13.83 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001673/0.5032, allocations: 15.98 kB / 421.4 MB, free: 13.82 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.254e-05/0.5033, allocations: 3.938 kB / 421.4 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.694e-05/0.5033, allocations: 7.984 kB / 421.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002209/0.5035, allocations: 183.5 kB / 421.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.19e-07/0.5035, allocations: 0 / 421.6 MB, free: 13.65 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005886/0.5041, allocations: 79.56 kB / 421.7 MB, free: 13.58 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 (3): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0004636/0.5046, allocations: 209 kB / 421.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0004447/0.5051, allocations: 144.8 kB / 422 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.5051, allocations: 0.875 kB / 422 MB, free: 13.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.5053, allocations: 90.58 kB / 422.1 MB, free: 13.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002916/0.5056, allocations: 24.5 kB / 422.2 MB, free: 13.11 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006448/0.5063, allocations: 235.3 kB / 422.4 MB, free: 12.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004461/0.5068, allocations: 0.7363 MB / 423.1 MB, free: 12.1 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.115e-05/0.5068, allocations: 15.44 kB / 423.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of SimCode: time 1.689e-06/0.5068, allocations: 0 / 423.1 MB, free: 12.09 MB / 330.7 MB Notification: Performance of Templates: time 0.0089/0.5157, allocations: 4.546 MB / 427.7 MB, free: 7.555 MB / 330.7 MB