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 1.994/1.994, allocations: 209.3 MB / 224.9 MB, free: 188 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004393/0.0004394, allocations: 8 kB / 282.6 MB, free: 9.574 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3232/0.3236, allocations: 48.7 MB / 331.3 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.128/0.4516, allocations: 87.12 MB / 418.4 MB, free: 7.285 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003405/0.452, allocations: 99.88 kB / 418.5 MB, free: 7.188 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04699/0.499, allocations: 11.14 MB / 429.7 MB, free: 12.01 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.753e-06/0.4991, allocations: 3.938 kB / 429.7 MB, free: 12 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.4991, allocations: 4 kB / 429.7 MB, free: 12 MB / 362.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.0009253/0.5001, allocations: 0.5965 MB / 430.3 MB, free: 11.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.063e-05/0.5001, allocations: 8.031 kB / 430.3 MB, free: 11.35 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.018e-05/0.5002, allocations: 39.53 kB / 430.3 MB, free: 11.31 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003601/0.5006, allocations: 250.2 kB / 430.6 MB, free: 11.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.454e-05/0.5006, allocations: 28.94 kB / 430.6 MB, free: 10.99 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.916e-05/0.5007, allocations: 32 kB / 430.6 MB, free: 10.96 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009351/0.5016, allocations: 0.5726 MB / 431.2 MB, free: 10.26 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.407e-05/0.5017, allocations: 11.92 kB / 431.2 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.065e-05/0.5017, allocations: 16 kB / 431.2 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/0.5018, allocations: 12 kB / 431.2 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007296/0.5025, allocations: 341 kB / 431.6 MB, free: 9.883 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003703/0.5062, allocations: 4.047 MB / 435.6 MB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.5068, allocations: 106.6 kB / 435.7 MB, free: 5.523 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.931e-05/0.5068, allocations: 7.953 kB / 435.7 MB, free: 5.516 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.484e-05/0.5069, allocations: 34.56 kB / 435.8 MB, free: 5.473 MB / 362.7 MB Notification: Performance of pre-optimization done (n=7): time 3.493e-06/0.5069, allocations: 0 / 435.8 MB, free: 5.473 MB / 362.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007232/0.5076, allocations: 185.3 kB / 435.9 MB, free: 5.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/0.5077, allocations: 51.41 kB / 436 MB, free: 5.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005838/0.5083, allocations: 364.9 kB / 436.3 MB, free: 4.859 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.5083, allocations: 25.7 kB / 436.4 MB, free: 4.828 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002338/0.5086, allocations: 289.7 kB / 436.6 MB, free: 4.543 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.398e-05/0.5086, allocations: 31.64 kB / 436.7 MB, free: 4.512 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.895e-05/0.5087, allocations: 8 kB / 436.7 MB, free: 4.504 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.5088, allocations: 322.8 kB / 437 MB, free: 4.18 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002431/0.5091, allocations: 64.55 kB / 437.1 MB, free: 4.113 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/0.5095, allocations: 274.3 kB / 437.3 MB, free: 3.742 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002967/0.5098, allocations: 99.84 kB / 437.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.792e-06/0.5099, allocations: 0 / 437.4 MB, free: 3.645 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008702/0.5107, allocations: 340.8 kB / 437.8 MB, free: 3.305 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.474e-05/0.5108, allocations: 11.95 kB / 437.8 MB, free: 3.293 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.922e-05/0.5108, allocations: 8.844 kB / 437.8 MB, free: 3.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.5108, allocations: 12 kB / 437.8 MB, free: 3.273 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005569/0.5114, allocations: 115.8 kB / 437.9 MB, free: 3.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/0.5125, allocations: 1.211 MB / 439.1 MB, free: 1.902 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004422/0.5129, allocations: 75.52 kB / 439.2 MB, free: 1.828 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.513, allocations: 16 kB / 439.2 MB, free: 1.812 MB / 362.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.000226/0.5132, allocations: 153.6 kB / 439.4 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.523e-05/0.5133, allocations: 35.53 kB / 439.4 MB, free: 1.617 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006255/0.514, allocations: 188.7 kB / 439.6 MB, free: 1.422 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.76e-06/0.514, allocations: 4 kB / 439.6 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.332e-06/0.514, allocations: 0 / 439.6 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.514, allocations: 0 / 439.6 MB, free: 1.418 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004498/0.5145, allocations: 277.5 kB / 439.9 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.779e-06/0.5145, allocations: 0 / 439.9 MB, free: 1.098 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003627/0.5149, allocations: 51.97 kB / 439.9 MB, free: 1.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.477e-06/0.5149, allocations: 4 kB / 439.9 MB, free: 1.043 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.774e-05/0.5149, allocations: 3.984 kB / 439.9 MB, free: 1.039 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001015/0.5159, allocations: 1.207 MB / 441.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.516, allocations: 0 / 441.1 MB, free: 15.78 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005229/0.5165, allocations: 243.2 kB / 441.4 MB, free: 15.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001459/0.5167, allocations: 112.6 kB / 441.5 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.602e-05/0.5167, allocations: 0 / 441.5 MB, free: 15.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002346/0.517, allocations: 15.98 kB / 441.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.992e-05/0.517, allocations: 7.938 kB / 441.5 MB, free: 15.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.5171, allocations: 11.98 kB / 441.5 MB, free: 15.36 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004118/0.5175, allocations: 271.1 kB / 441.8 MB, free: 15.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.78e-07/0.5175, allocations: 0 / 441.8 MB, free: 15.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0008074/0.5183, allocations: 123.9 kB / 441.9 MB, free: 14.98 MB / 378.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.0005776/0.5189, allocations: 250.2 kB / 442.1 MB, free: 14.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008248/0.5198, allocations: 201.6 kB / 442.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.628e-06/0.5198, allocations: 0 / 442.3 MB, free: 14.54 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003775/0.5202, allocations: 71.94 kB / 442.4 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003746/0.5206, allocations: 37.95 kB / 442.4 MB, free: 14.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001196/0.5218, allocations: 0.5984 MB / 443 MB, free: 13.8 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/0.5223, allocations: 0.7836 MB / 443.8 MB, free: 12.98 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.097e-05/0.5225, allocations: 31.42 kB / 443.8 MB, free: 12.96 MB / 378.7 MB Notification: Performance of SimCode: time 1.565e-06/0.5225, allocations: 0 / 443.8 MB, free: 12.96 MB / 378.7 MB Notification: Performance of Templates: time 0.01301/0.5355, allocations: 6.983 MB / 450.8 MB, free: 5.98 MB / 378.7 MB