Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|h_2|l_2|s_2|t_2|Nu|m_flow.1.|m_flow.2.|kc_1|kc_2|Re_1|Re_2|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_flatTube_KC") Notification: Performance of loadModel(ModelicaTest): time 2.044/2.044, allocations: 209.2 MB / 225.4 MB, free: 0.6094 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000429/0.0004292, allocations: 12 kB / 283.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3486, allocations: 48.7 MB / 331.8 MB, free: 6.496 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.147/0.4956, allocations: 81.06 MB / 412.9 MB, free: 13.38 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003977/0.4961, allocations: 99.92 kB / 413 MB, free: 13.28 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03178/0.5279, allocations: 6.777 MB / 419.8 MB, free: 6.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5279, allocations: 3.938 kB / 419.8 MB, free: 6.48 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.259e-05/0.528, allocations: 0 / 419.8 MB, free: 6.48 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.000753/0.5287, allocations: 479 kB / 420.2 MB, free: 5.965 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/0.5288, allocations: 12.03 kB / 420.2 MB, free: 5.953 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.258e-05/0.5289, allocations: 23.62 kB / 420.3 MB, free: 5.93 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002863/0.5292, allocations: 218.7 kB / 420.5 MB, free: 5.676 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.5292, allocations: 16.39 kB / 420.5 MB, free: 5.66 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.333e-05/0.5293, allocations: 27.98 kB / 420.5 MB, free: 5.633 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006672/0.53, allocations: 239.2 kB / 420.8 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.375e-05/0.53, allocations: 0 / 420.8 MB, free: 5.395 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.815e-05/0.53, allocations: 4 kB / 420.8 MB, free: 5.391 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.879e-06/0.53, allocations: 7.938 kB / 420.8 MB, free: 5.383 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007513/0.5308, allocations: 261.6 kB / 421 MB, free: 5.129 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001513/0.5323, allocations: 0.6196 MB / 421.6 MB, free: 4.457 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006045/0.533, allocations: 118.6 kB / 421.8 MB, free: 4.332 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.742e-05/0.533, allocations: 7.984 kB / 421.8 MB, free: 4.324 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.412e-05/0.5331, allocations: 30.56 kB / 421.8 MB, free: 4.285 MB / 346.7 MB Notification: Performance of pre-optimization done (n=9): time 3.105e-06/0.5331, allocations: 0 / 421.8 MB, free: 4.285 MB / 346.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009121/0.534, allocations: 185.3 kB / 422 MB, free: 4.098 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.5341, allocations: 51.41 kB / 422 MB, free: 4.035 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003948/0.5345, allocations: 266.9 kB / 422.3 MB, free: 3.77 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/0.5345, allocations: 25.7 kB / 422.3 MB, free: 3.738 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001641/0.5347, allocations: 225.8 kB / 422.5 MB, free: 3.516 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.517e-05/0.5347, allocations: 35.55 kB / 422.6 MB, free: 3.48 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.656e-05/0.5348, allocations: 8 kB / 422.6 MB, free: 3.473 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.5349, allocations: 318.8 kB / 422.9 MB, free: 3.152 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002695/0.5352, allocations: 55.91 kB / 422.9 MB, free: 3.098 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003512/0.5356, allocations: 144.8 kB / 423.1 MB, free: 2.91 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003159/0.5359, allocations: 77.11 kB / 423.2 MB, free: 2.836 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.5359, allocations: 0 / 423.2 MB, free: 2.836 MB / 346.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0008214/0.5368, allocations: 241.6 kB / 423.4 MB, free: 2.594 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.207e-05/0.5368, allocations: 4 kB / 423.4 MB, free: 2.59 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.5368, allocations: 7.938 kB / 423.4 MB, free: 2.582 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/0.5369, allocations: 4 kB / 423.4 MB, free: 2.578 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006587/0.5375, allocations: 83.89 kB / 423.5 MB, free: 2.496 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001059/0.5386, allocations: 1.219 MB / 424.7 MB, free: 1.23 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/0.5391, allocations: 35.69 kB / 424.7 MB, free: 1.195 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.5391, allocations: 15.98 kB / 424.8 MB, free: 1.18 MB / 346.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 23 * 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.0002095/0.5393, allocations: 137.9 kB / 424.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.281e-05/0.5394, allocations: 19.72 kB / 424.9 MB, free: 1.016 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007808/0.5402, allocations: 183.5 kB / 425.1 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.997e-06/0.5402, allocations: 3.953 kB / 425.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.63e-06/0.5402, allocations: 0 / 425.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.218e-06/0.5403, allocations: 0 / 425.1 MB, free: 0.8242 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.5413, allocations: 464 kB / 425.6 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.182e-06/0.5414, allocations: 4 kB / 425.6 MB, free: 312 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005001/0.5419, allocations: 59.89 kB / 425.6 MB, free: 252 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.197e-05/0.5419, allocations: 7.953 kB / 425.6 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.5419, allocations: 64 / 425.6 MB, free: 244 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009911/0.5429, allocations: 1.203 MB / 426.8 MB, free: 14.99 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.407e-05/0.543, allocations: 11.92 kB / 426.8 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006621/0.5436, allocations: 257 kB / 427.1 MB, free: 14.7 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.5438, allocations: 100.8 kB / 427.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.186e-05/0.5438, allocations: 0 / 427.2 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002711/0.5441, allocations: 19.98 kB / 427.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.883e-05/0.5442, allocations: 11.94 kB / 427.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.454e-05/0.5443, allocations: 8 kB / 427.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002808/0.5445, allocations: 186 kB / 427.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.91e-07/0.5446, allocations: 0 / 427.4 MB, free: 14.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005645/0.5451, allocations: 64 kB / 427.5 MB, free: 14.3 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (9): * Single equations (assignments): 7 * 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.0004569/0.5456, allocations: 195.2 kB / 427.7 MB, free: 14.1 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.00103/0.5466, allocations: 184.5 kB / 427.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.5467, allocations: 0 / 427.8 MB, free: 13.92 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005681/0.5472, allocations: 87.88 kB / 427.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003575/0.5476, allocations: 24.88 kB / 428 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.5488, allocations: 495.5 kB / 428.4 MB, free: 13.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.5493, allocations: 0.7365 MB / 429.2 MB, free: 12.52 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001122/0.5494, allocations: 23.44 kB / 429.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of SimCode: time 1.392e-06/0.5494, allocations: 4 kB / 429.2 MB, free: 12.5 MB / 362.7 MB Notification: Performance of Templates: time 0.01084/0.5603, allocations: 4.422 MB / 433.6 MB, free: 8.078 MB / 362.7 MB