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.195/2.195, allocations: 234.9 MB / 250.5 MB, free: 9.602 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000428/0.0004283, allocations: 8 kB / 314.3 MB, free: 9.629 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4155/0.4159, allocations: 54.86 MB / 369.2 MB, free: 12.78 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube_KC): time 0.006779/0.4228, allocations: 2.142 MB / 371.3 MB, free: 10.62 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.005387/0.4282, allocations: 1.334 MB / 372.7 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004185/0.4287, allocations: 0 / 372.7 MB, free: 9.277 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006837/0.4294, allocations: 99.5 kB / 372.8 MB, free: 9.18 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008582/0.4303, allocations: 131.4 kB / 372.9 MB, free: 9.051 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001241/0.4316, allocations: 203.4 kB / 373.1 MB, free: 8.852 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006748/0.4323, allocations: 215.4 kB / 373.3 MB, free: 8.641 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001771/0.4325, allocations: 33.42 kB / 373.3 MB, free: 8.609 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002657/0.4328, allocations: 87.5 kB / 373.4 MB, free: 8.523 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003714/0.4332, allocations: 115.4 kB / 373.5 MB, free: 8.41 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 6.415e-05/0.4333, allocations: 8 kB / 373.5 MB, free: 8.402 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002256/0.4356, allocations: 0.5812 MB / 374.1 MB, free: 7.82 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 9.488e-05/0.4357, allocations: 39.77 kB / 374.2 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001302/0.4358, allocations: 73.52 kB / 374.2 MB, free: 7.703 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.437, allocations: 319.1 kB / 374.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.373e-06/0.437, allocations: 0 / 374.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.68e-06/0.437, allocations: 0 / 374.5 MB, free: 7.391 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.028e-05/0.4371, allocations: 0 / 374.5 MB, free: 7.391 MB / 298.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.001674/0.4388, allocations: 0.5732 MB / 375.1 MB, free: 6.77 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.853e-05/0.4389, allocations: 12.03 kB / 375.1 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001842/0.4391, allocations: 39.52 kB / 375.2 MB, free: 6.719 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006608/0.4397, allocations: 238.5 kB / 375.4 MB, free: 6.445 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.732e-05/0.4399, allocations: 24.98 kB / 375.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001467/0.44, allocations: 43.88 kB / 375.5 MB, free: 6.379 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001928/0.442, allocations: 0.5841 MB / 376.1 MB, free: 5.656 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.214e-05/0.4421, allocations: 11.89 kB / 376.1 MB, free: 5.645 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.372e-05/0.4422, allocations: 12 kB / 376.1 MB, free: 5.633 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.182e-05/0.4422, allocations: 12 kB / 376.1 MB, free: 5.621 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001592/0.4438, allocations: 341.1 kB / 376.4 MB, free: 5.289 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00694/0.4508, allocations: 4.051 MB / 380.5 MB, free: 1.035 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007889/0.4517, allocations: 98.66 kB / 380.6 MB, free: 0.9297 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.683e-05/0.4518, allocations: 7.984 kB / 380.6 MB, free: 0.9219 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.024e-05/0.4519, allocations: 34.5 kB / 380.6 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of pre-optimization done (n=7): time 6.77e-06/0.4519, allocations: 0 / 380.6 MB, free: 0.8789 MB / 298.7 MB Notification: Performance of matching and sorting (n=7): time 0.001463/0.4534, allocations: 177.4 kB / 380.8 MB, free: 0.6992 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.003e-05/0.4535, allocations: 55.39 kB / 380.8 MB, free: 0.6328 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001244/0.4548, allocations: 405.8 kB / 381.2 MB, free: 236 kB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 4.986e-05/0.4548, allocations: 25.7 kB / 381.3 MB, free: 204 kB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004832/0.4553, allocations: 305.4 kB / 381.6 MB, free: 15.9 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.038e-05/0.4554, allocations: 27.64 kB / 381.6 MB, free: 15.87 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.4555, allocations: 8 kB / 381.6 MB, free: 15.86 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002955/0.4558, allocations: 326.8 kB / 381.9 MB, free: 15.54 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005058/0.4564, allocations: 60.61 kB / 382 MB, free: 15.47 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008143/0.4572, allocations: 270.3 kB / 382.2 MB, free: 15.11 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006398/0.4579, allocations: 103.9 kB / 382.3 MB, free: 15.01 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.046e-05/0.4579, allocations: 4 kB / 382.3 MB, free: 15 MB / 314.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.00157/0.4595, allocations: 333.5 kB / 382.7 MB, free: 14.67 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.553e-05/0.4596, allocations: 8.156 kB / 382.7 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.484e-05/0.4596, allocations: 12 kB / 382.7 MB, free: 14.65 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.751e-05/0.4596, allocations: 12 kB / 382.7 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006006/0.4602, allocations: 111.8 kB / 382.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001056/0.4613, allocations: 1.219 MB / 384 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004136/0.4618, allocations: 63.28 kB / 384.1 MB, free: 13.2 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.252e-05/0.4618, allocations: 23.98 kB / 384.1 MB, free: 13.18 MB / 314.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.0002226/0.462, allocations: 151.2 kB / 384.3 MB, free: 13.02 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.822e-05/0.4621, allocations: 31.62 kB / 384.3 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006186/0.4628, allocations: 196.8 kB / 384.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.761e-06/0.4628, allocations: 0 / 384.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.107e-05/0.4628, allocations: 3.984 kB / 384.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.223e-06/0.4628, allocations: 3.938 kB / 384.5 MB, free: 12.78 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000436/0.4633, allocations: 269.5 kB / 384.8 MB, free: 12.47 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.37e-05/0.4633, allocations: 3.953 kB / 384.8 MB, free: 12.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003715/0.4637, allocations: 55.95 kB / 384.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.077e-06/0.4637, allocations: 4 kB / 384.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.4637, allocations: 0 / 384.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009799/0.4647, allocations: 1.207 MB / 386 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.718e-06/0.4647, allocations: 0 / 386 MB, free: 11.15 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005058/0.4653, allocations: 247.2 kB / 386.3 MB, free: 10.89 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001277/0.4654, allocations: 112.6 kB / 386.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.754e-05/0.4655, allocations: 4 kB / 386.4 MB, free: 10.76 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.4657, allocations: 8 kB / 386.4 MB, free: 10.75 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.4658, allocations: 11.94 kB / 386.4 MB, free: 10.74 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.4658, allocations: 11.94 kB / 386.4 MB, free: 10.73 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0003939/0.4662, allocations: 267.1 kB / 386.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.59e-07/0.4662, allocations: 0 / 386.7 MB, free: 10.47 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006955/0.4669, allocations: 119.9 kB / 386.8 MB, free: 10.35 MB / 314.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.000468/0.4674, allocations: 175.2 kB / 387 MB, free: 10.17 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0008217/0.4683, allocations: 221.5 kB / 387.2 MB, free: 9.953 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 3.719e-06/0.4683, allocations: 0 / 387.2 MB, free: 9.953 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000402/0.4687, allocations: 79.95 kB / 387.3 MB, free: 9.875 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003966/0.4691, allocations: 35.83 kB / 387.3 MB, free: 9.844 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001226/0.4704, allocations: 0.6154 MB / 387.9 MB, free: 9.203 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.4709, allocations: 0.7755 MB / 388.7 MB, free: 8.398 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.824e-05/0.471, allocations: 27.42 kB / 388.7 MB, free: 8.371 MB / 314.7 MB Notification: Performance of SimCode: time 1.927e-06/0.471, allocations: 0 / 388.7 MB, free: 8.371 MB / 314.7 MB Notification: Performance of Templates: time 0.0117/0.4827, allocations: 6.5 MB / 395.2 MB, free: 1.875 MB / 314.7 MB