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_roundTube.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_roundTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Re|m_flow.1.|m_flow.2.|m_flow.3.|m_flow.4.|Nu.1.|Nu.2.|Nu.3.|Nu.4.|input_Re.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HeatExchanger.kc_roundTube") Notification: Performance of loadModel(ModelicaTest): time 2.071/2.071, allocations: 209.2 MB / 225.4 MB, free: 0.6133 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004275/0.0004275, allocations: 16 kB / 283.1 MB, free: 9.676 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3619, allocations: 48.7 MB / 331.8 MB, free: 6.508 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2196/0.5815, allocations: 89.52 MB / 421.3 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000405/0.582, allocations: 99.94 kB / 421.4 MB, free: 4.801 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09405/0.6761, allocations: 12.23 MB / 433.7 MB, free: 8.523 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.6761, allocations: 0 / 433.7 MB, free: 8.523 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.065e-05/0.6761, allocations: 4 kB / 433.7 MB, free: 8.52 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.001479/0.6776, allocations: 0.6004 MB / 434.3 MB, free: 7.871 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.6777, allocations: 8.031 kB / 434.3 MB, free: 7.863 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.6779, allocations: 39.53 kB / 434.3 MB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004868/0.6784, allocations: 250.2 kB / 434.6 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/0.6784, allocations: 25 kB / 434.6 MB, free: 7.512 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.11e-05/0.6785, allocations: 36 kB / 434.6 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009319/0.6879, allocations: 362.5 kB / 435 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.356e-05/0.688, allocations: 0 / 435 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.649e-05/0.688, allocations: 20 kB / 435 MB, free: 7.098 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.696e-05/0.6881, allocations: 11.94 kB / 435 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.6892, allocations: 271.9 kB / 435.3 MB, free: 6.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005164/0.6944, allocations: 0.8884 MB / 436.2 MB, free: 5.879 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000539/0.695, allocations: 106.4 kB / 436.3 MB, free: 5.766 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.57e-05/0.695, allocations: 3.984 kB / 436.3 MB, free: 5.762 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.403e-05/0.6951, allocations: 34.56 kB / 436.3 MB, free: 5.719 MB / 362.7 MB Notification: Performance of pre-optimization done (n=9): time 4.097e-06/0.6951, allocations: 4 kB / 436.3 MB, free: 5.715 MB / 362.7 MB Notification: Performance of matching and sorting (n=9): time 0.002992/0.6981, allocations: 0.5094 MB / 436.8 MB, free: 5.125 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.549e-05/0.6982, allocations: 51.41 kB / 436.9 MB, free: 5.062 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008464/0.6991, allocations: 393.8 kB / 437.3 MB, free: 4.676 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.929e-05/0.6991, allocations: 29.98 kB / 437.3 MB, free: 4.641 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002855/0.702, allocations: 285.6 kB / 437.6 MB, free: 4.355 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.826e-05/0.7021, allocations: 35.55 kB / 437.6 MB, free: 4.32 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.043e-05/0.7021, allocations: 11.94 kB / 437.6 MB, free: 4.309 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001819/0.7023, allocations: 318.8 kB / 437.9 MB, free: 3.988 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004503/0.7028, allocations: 68.23 kB / 438 MB, free: 3.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006416/0.7035, allocations: 262 kB / 438.2 MB, free: 3.57 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.704, allocations: 103.8 kB / 438.3 MB, free: 3.469 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.704, allocations: 7.953 kB / 438.4 MB, free: 3.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=38) (initialization): time 0.001412/0.7055, allocations: 325.5 kB / 438.7 MB, free: 3.137 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.7055, allocations: 8 kB / 438.7 MB, free: 3.129 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001032/0.7056, allocations: 27.98 kB / 438.7 MB, free: 3.102 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.441e-05/0.7057, allocations: 8.125 kB / 438.7 MB, free: 3.094 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004485/0.7062, allocations: 59.91 kB / 438.8 MB, free: 3.035 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.677e-05/0.7062, allocations: 11.94 kB / 438.8 MB, free: 3.023 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006061/0.7068, allocations: 71.58 kB / 438.9 MB, free: 2.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.61e-05/0.7069, allocations: 24 kB / 438.9 MB, free: 2.93 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 30 * 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_3.geometry,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 (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.000295/0.7072, allocations: 153.6 kB / 439 MB, free: 2.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001499/0.7074, allocations: 39.48 kB / 439.1 MB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00125/0.7086, allocations: 224.6 kB / 439.3 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.7087, allocations: 0 / 439.3 MB, free: 2.504 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.378e-06/0.7087, allocations: 4 kB / 439.3 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.648e-06/0.7087, allocations: 0 / 439.3 MB, free: 2.5 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006763/0.7094, allocations: 281.5 kB / 439.6 MB, free: 2.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.001e-05/0.7095, allocations: 23.97 kB / 439.6 MB, free: 2.152 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001316/0.7096, allocations: 15.95 kB / 439.6 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.392e-06/0.7097, allocations: 0 / 439.6 MB, free: 2.137 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.863e-05/0.7097, allocations: 7.984 kB / 439.6 MB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.567e-06/0.7097, allocations: 0 / 439.6 MB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.7097, allocations: 0 / 439.6 MB, free: 2.129 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008783/0.7106, allocations: 263 kB / 439.9 MB, free: 1.855 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001747/0.7108, allocations: 112.6 kB / 440 MB, free: 1.727 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.918e-05/0.7109, allocations: 3.953 kB / 440 MB, free: 1.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003426/0.7113, allocations: 7.984 kB / 440 MB, free: 1.715 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.7114, allocations: 8 kB / 440 MB, free: 1.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.7114, allocations: 8 kB / 440 MB, free: 1.699 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0005769/0.712, allocations: 267.1 kB / 440.3 MB, free: 1.441 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.712, allocations: 4 kB / 440.3 MB, free: 1.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001316/0.7134, allocations: 139.9 kB / 440.4 MB, free: 1.301 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 (5): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0009985/0.7144, allocations: 257.4 kB / 440.7 MB, free: 1.039 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001444/0.7159, allocations: 328.3 kB / 441 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/0.7159, allocations: 0 / 441 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006918/0.7166, allocations: 190.8 kB / 441.2 MB, free: 496 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005892/0.7172, allocations: 29.56 kB / 441.2 MB, free: 468 kB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001868/0.7191, allocations: 0.659 MB / 441.9 MB, free: 15.77 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004694/0.7196, allocations: 0.7833 MB / 442.6 MB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.155e-05/0.7197, allocations: 23.44 kB / 442.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.472e-06/0.7197, allocations: 0 / 442.7 MB, free: 14.93 MB / 378.7 MB Notification: Performance of Templates: time 0.02077/0.7405, allocations: 9.854 MB / 452.5 MB, free: 5.078 MB / 378.7 MB