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.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,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 2.059/2.059, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00043/0.00043, allocations: 16 kB / 283.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3381/0.3385, allocations: 48.7 MB / 331.8 MB, free: 6.52 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1459/0.4845, allocations: 83.14 MB / 415 MB, free: 11.27 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003944/0.485, allocations: 99.94 kB / 415.1 MB, free: 11.17 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03594/0.5209, allocations: 7.822 MB / 422.9 MB, free: 3.324 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.374e-06/0.521, allocations: 0 / 422.9 MB, free: 3.324 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.519e-05/0.521, allocations: 0 / 422.9 MB, free: 3.324 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: 46 * Number of variables: 46 Notification: Performance of Generate backend data structure: time 0.000841/0.5219, allocations: 482.5 kB / 423.4 MB, free: 2.805 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.5219, allocations: 8.031 kB / 423.4 MB, free: 2.797 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.318e-05/0.522, allocations: 23.72 kB / 423.4 MB, free: 2.773 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000269/0.5223, allocations: 214.6 kB / 423.6 MB, free: 2.523 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.661e-05/0.5223, allocations: 16 kB / 423.6 MB, free: 2.508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.906e-05/0.5224, allocations: 16 kB / 423.6 MB, free: 2.492 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006224/0.523, allocations: 210.6 kB / 423.8 MB, free: 2.277 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.523, allocations: 3.984 kB / 423.8 MB, free: 2.273 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.609e-05/0.5231, allocations: 12 kB / 423.9 MB, free: 2.262 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.5231, allocations: 4 kB / 423.9 MB, free: 2.258 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005084/0.5236, allocations: 152.2 kB / 424 MB, free: 2.109 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001279/0.5249, allocations: 0.5806 MB / 424.6 MB, free: 1.48 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003114/0.5253, allocations: 62.55 kB / 424.6 MB, free: 1.41 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.304e-05/0.5253, allocations: 11.97 kB / 424.7 MB, free: 1.398 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.02e-05/0.5254, allocations: 38.5 kB / 424.7 MB, free: 1.352 MB / 346.7 MB Notification: Performance of pre-optimization done (n=5): time 3.075e-06/0.5254, allocations: 0 / 424.7 MB, free: 1.352 MB / 346.7 MB Notification: Performance of matching and sorting (n=5): time 0.000849/0.5262, allocations: 299.7 kB / 425 MB, free: 1.016 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.422e-05/0.5263, allocations: 59.41 kB / 425 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003752/0.5267, allocations: 258.6 kB / 425.3 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.5267, allocations: 25.7 kB / 425.3 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.5269, allocations: 218.1 kB / 425.5 MB, free: 452 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/0.527, allocations: 19.75 kB / 425.6 MB, free: 432 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.065e-05/0.527, allocations: 0 / 425.6 MB, free: 432 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.5271, allocations: 322.8 kB / 425.9 MB, free: 100 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.5274, allocations: 43.97 kB / 425.9 MB, free: 56 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003236/0.5277, allocations: 136.8 kB / 426 MB, free: 15.88 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002628/0.528, allocations: 59.91 kB / 426.1 MB, free: 15.82 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.773e-06/0.528, allocations: 4 kB / 426.1 MB, free: 15.81 MB / 362.7 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006811/0.5287, allocations: 197.2 kB / 426.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.5287, allocations: 4 kB / 426.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.642e-05/0.5288, allocations: 12.44 kB / 426.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.5288, allocations: 8 kB / 426.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/0.5291, allocations: 39.91 kB / 426.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.5291, allocations: 4 kB / 426.4 MB, free: 15.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002462/0.5293, allocations: 31.69 kB / 426.4 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.937e-05/0.5294, allocations: 12 kB / 426.4 MB, free: 15.5 MB / 362.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 (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.0001664/0.5296, allocations: 133.7 kB / 426.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.5296, allocations: 23.75 kB / 426.6 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006645/0.5303, allocations: 150.7 kB / 426.7 MB, free: 15.19 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-05/0.5303, allocations: 7.984 kB / 426.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/0.5303, allocations: 0 / 426.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.5304, allocations: 0 / 426.7 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003436/0.5307, allocations: 221.7 kB / 426.9 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.557e-05/0.5308, allocations: 15.98 kB / 427 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001342/0.5309, allocations: 8 kB / 427 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/0.5309, allocations: 7.984 kB / 427 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.588e-05/0.531, allocations: 0 / 427 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.531, allocations: 3.938 kB / 427 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.531, allocations: 0 / 427 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005321/0.5315, allocations: 215.2 kB / 427.2 MB, free: 14.65 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.809e-05/0.5316, allocations: 96.86 kB / 427.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.739e-05/0.5317, allocations: 0 / 427.3 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001791/0.5319, allocations: 15.98 kB / 427.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/0.5319, allocations: 4 kB / 427.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.226e-05/0.532, allocations: 0 / 427.3 MB, free: 14.52 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0002407/0.5322, allocations: 178 kB / 427.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.5322, allocations: 0 / 427.5 MB, free: 14.34 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0006061/0.5328, allocations: 91.94 kB / 427.6 MB, free: 14.25 MB / 362.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 (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.0005401/0.5334, allocations: 199.8 kB / 427.8 MB, free: 14.05 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0007658/0.5342, allocations: 187.6 kB / 427.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/0.5342, allocations: 0 / 427.9 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003412/0.5346, allocations: 108 kB / 428 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.5349, allocations: 16.98 kB / 428.1 MB, free: 13.71 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.5359, allocations: 461.2 kB / 428.5 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003404/0.5363, allocations: 0.7323 MB / 429.2 MB, free: 12.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.5364, allocations: 15.44 kB / 429.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of SimCode: time 1.573e-06/0.5364, allocations: 4 kB / 429.3 MB, free: 12.46 MB / 362.7 MB Notification: Performance of Templates: time 0.01105/0.5475, allocations: 4.532 MB / 433.8 MB, free: 7.922 MB / 362.7 MB