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.149/2.149, allocations: 234.9 MB / 250.5 MB, free: 9.535 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000437/0.0004371, allocations: 12 kB / 314.4 MB, free: 9.52 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3154/0.3159, allocations: 54.86 MB / 369.3 MB, free: 10.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.4611, allocations: 93.74 MB / 463 MB, free: 12.83 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/0.4615, allocations: 95.94 kB / 463.1 MB, free: 12.73 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04696/0.5085, allocations: 11.26 MB / 474.4 MB, free: 1.422 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.362e-06/0.5085, allocations: 0 / 474.4 MB, free: 1.422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.678e-05/0.5085, allocations: 4 kB / 474.4 MB, free: 1.418 MB / 394.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.0008996/0.5094, allocations: 0.6003 MB / 475 MB, free: 0.7695 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.5095, allocations: 12.03 kB / 475 MB, free: 0.7578 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.5096, allocations: 35.53 kB / 475 MB, free: 0.7227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003519/0.51, allocations: 246.4 kB / 475.3 MB, free: 452 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.769e-05/0.51, allocations: 25 kB / 475.3 MB, free: 428 kB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.885e-05/0.5101, allocations: 32 kB / 475.3 MB, free: 396 kB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.2441/0.7542, allocations: 0.5728 MB / 475.9 MB, free: 94.05 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.814e-05/0.7543, allocations: 5.25 kB / 475.9 MB, free: 94.05 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.456e-05/0.7543, allocations: 18.22 kB / 475.9 MB, free: 94.05 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.624e-05/0.7544, allocations: 11.08 kB / 475.9 MB, free: 94.05 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008687/0.7553, allocations: 344.6 kB / 476.3 MB, free: 94.05 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002473/0.7578, allocations: 4.046 MB / 480.3 MB, free: 90.41 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004954/0.7583, allocations: 105.4 kB / 480.4 MB, free: 90.39 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.627e-05/0.7583, allocations: 5.547 kB / 480.4 MB, free: 90.39 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.112e-05/0.7584, allocations: 34.23 kB / 480.5 MB, free: 90.35 MB / 394.7 MB Notification: Performance of pre-optimization done (n=7): time 3.166e-06/0.7584, allocations: 0 / 480.5 MB, free: 90.35 MB / 394.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007262/0.7591, allocations: 184.4 kB / 480.6 MB, free: 90.29 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.7592, allocations: 57.83 kB / 480.7 MB, free: 90.23 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004702/0.7596, allocations: 359.3 kB / 481 MB, free: 90.11 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.7597, allocations: 30.3 kB / 481.1 MB, free: 90.08 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001344/0.7598, allocations: 290.3 kB / 481.4 MB, free: 89.88 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.316e-05/0.7599, allocations: 35.05 kB / 481.4 MB, free: 89.86 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.618e-05/0.7599, allocations: 6.281 kB / 481.4 MB, free: 89.86 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 6.079e-05/0.76, allocations: 323.5 kB / 481.7 MB, free: 89.55 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002235/0.7602, allocations: 59.97 kB / 481.8 MB, free: 89.55 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002896/0.7605, allocations: 265.8 kB / 482 MB, free: 89.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002772/0.7608, allocations: 104.9 kB / 482.1 MB, free: 89.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.012e-06/0.7608, allocations: 2.969 kB / 482.1 MB, free: 89.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0008088/0.7616, allocations: 332.8 kB / 482.5 MB, free: 89.2 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.399e-05/0.7617, allocations: 10.19 kB / 482.5 MB, free: 89.2 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.449e-05/0.7617, allocations: 7.375 kB / 482.5 MB, free: 89.2 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.7617, allocations: 11.19 kB / 482.5 MB, free: 89.2 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005437/0.7623, allocations: 108.5 kB / 482.6 MB, free: 89.19 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006321/0.763, allocations: 1.216 MB / 483.8 MB, free: 88.01 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004738/0.7634, allocations: 71.09 kB / 483.9 MB, free: 87.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.308e-05/0.7635, allocations: 17.98 kB / 483.9 MB, free: 87.99 MB / 394.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.0002026/0.7637, allocations: 156 kB / 484.1 MB, free: 87.87 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.703e-05/0.7638, allocations: 36.98 kB / 484.1 MB, free: 87.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006478/0.7645, allocations: 184.5 kB / 484.3 MB, free: 87.8 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.841e-06/0.7645, allocations: 1.531 kB / 484.3 MB, free: 87.8 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.968e-06/0.7645, allocations: 4.875 kB / 484.3 MB, free: 87.8 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.463e-06/0.7645, allocations: 1.594 kB / 484.3 MB, free: 87.8 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004236/0.765, allocations: 276.3 kB / 484.5 MB, free: 87.61 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.183e-06/0.765, allocations: 1 kB / 484.6 MB, free: 87.61 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004031/0.7654, allocations: 56.44 kB / 484.6 MB, free: 87.61 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.941e-06/0.7654, allocations: 0.7969 kB / 484.6 MB, free: 87.61 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.756e-05/0.7654, allocations: 5.531 kB / 484.6 MB, free: 87.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005853/0.766, allocations: 1.206 MB / 485.8 MB, free: 86.43 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.147e-06/0.7661, allocations: 1.188 kB / 485.8 MB, free: 86.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005023/0.7666, allocations: 247.3 kB / 486.1 MB, free: 86.28 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/0.7667, allocations: 107.1 kB / 486.2 MB, free: 86.17 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.631e-05/0.7668, allocations: 1.031 kB / 486.2 MB, free: 86.17 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002487/0.767, allocations: 12.56 kB / 486.2 MB, free: 86.17 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.15e-05/0.7671, allocations: 13.95 kB / 486.2 MB, free: 86.16 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.7671, allocations: 5.875 kB / 486.2 MB, free: 86.16 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003992/0.7676, allocations: 274.1 kB / 486.5 MB, free: 86.08 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.35e-07/0.7676, allocations: 0 / 486.5 MB, free: 86.08 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0008765/0.7685, allocations: 128.1 kB / 486.6 MB, free: 86.08 MB / 394.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.0005609/0.769, allocations: 257 kB / 486.8 MB, free: 85.97 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008231/0.7699, allocations: 207.7 kB / 487 MB, free: 85.95 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.852e-06/0.7699, allocations: 3.938 kB / 487 MB, free: 85.94 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003654/0.7703, allocations: 68.41 kB / 487.1 MB, free: 85.94 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003911/0.7707, allocations: 35.38 kB / 487.1 MB, free: 85.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.7717, allocations: 0.6053 MB / 487.8 MB, free: 85.57 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.772, allocations: 0.7765 MB / 488.5 MB, free: 84.87 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.377e-05/0.7721, allocations: 25.97 kB / 488.6 MB, free: 84.87 MB / 394.7 MB Notification: Performance of SimCode: time 1.545e-06/0.7721, allocations: 4 kB / 488.6 MB, free: 84.86 MB / 394.7 MB Notification: Performance of Templates: time 0.0109/0.783, allocations: 7.006 MB / 495.6 MB, free: 84.42 MB / 394.7 MB