Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow_1.1.|m_flow_1.2.|m_flow_2.1.|m_flow_2.2.|m_flow_3.1.|m_flow_3.2.|kc_1.1.|kc_1.2.|kc_2.1.|kc_2.2.|kc_3.1.|kc_3.2.|Re_1.1.|Re_1.2.|Re_2.1.|Re_2.2.|Re_3.1.|Re_3.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC") Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 234.9 MB / 251.1 MB, free: 9.562 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005829/0.0005831, allocations: 8 kB / 315 MB, free: 9.594 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3406, allocations: 54.86 MB / 369.8 MB, free: 10.74 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1568/0.4975, allocations: 86.6 MB / 456.4 MB, free: 4.016 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/0.498, allocations: 99.94 kB / 456.5 MB, free: 3.918 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0453/0.5433, allocations: 10.02 MB / 466.5 MB, free: 9.805 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5433, allocations: 0 / 466.5 MB, free: 9.805 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.436e-05/0.5434, allocations: 8 kB / 466.5 MB, free: 9.797 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00101/0.5444, allocations: 0.5068 MB / 467.1 MB, free: 9.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.5444, allocations: 8.031 kB / 467.1 MB, free: 9.234 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.005e-05/0.5445, allocations: 31.58 kB / 467.1 MB, free: 9.203 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003709/0.5449, allocations: 243.1 kB / 467.3 MB, free: 8.922 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.988e-05/0.545, allocations: 20.56 kB / 467.3 MB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.35e-05/0.545, allocations: 32 kB / 467.4 MB, free: 8.871 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.5461, allocations: 389.2 kB / 467.8 MB, free: 8.48 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.841e-05/0.5461, allocations: 3.938 kB / 467.8 MB, free: 8.477 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.495e-05/0.5462, allocations: 12 kB / 467.8 MB, free: 8.465 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.914e-05/0.5462, allocations: 28.59 kB / 467.8 MB, free: 8.438 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.5474, allocations: 422.3 kB / 468.2 MB, free: 8.023 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002135/0.5496, allocations: 0.8891 MB / 469.1 MB, free: 7.086 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/0.5506, allocations: 302.3 kB / 469.4 MB, free: 6.781 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.125e-05/0.5507, allocations: 7.938 kB / 469.4 MB, free: 6.773 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.5507, allocations: 30.56 kB / 469.4 MB, free: 6.734 MB / 394.7 MB Notification: Performance of pre-optimization done (n=15): time 2.725e-06/0.5507, allocations: 4 kB / 469.4 MB, free: 6.73 MB / 394.7 MB Notification: Performance of matching and sorting (n=15): time 0.00133/0.5521, allocations: 366.9 kB / 469.8 MB, free: 6.367 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.43e-05/0.5521, allocations: 59.41 kB / 469.9 MB, free: 6.297 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/0.5527, allocations: 347.2 kB / 470.2 MB, free: 5.945 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.469e-05/0.5527, allocations: 29.7 kB / 470.2 MB, free: 5.91 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.5529, allocations: 218.6 kB / 470.4 MB, free: 5.695 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.437e-05/0.553, allocations: 51.3 kB / 470.5 MB, free: 5.645 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.215e-05/0.553, allocations: 4 kB / 470.5 MB, free: 5.641 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5531, allocations: 326.8 kB / 470.8 MB, free: 5.312 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003762/0.5535, allocations: 100.3 kB / 470.9 MB, free: 5.215 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.554, allocations: 152.3 kB / 471.1 MB, free: 5.047 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004216/0.5544, allocations: 119.9 kB / 471.2 MB, free: 4.93 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.5544, allocations: 0 / 471.2 MB, free: 4.93 MB / 394.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0009933/0.5554, allocations: 316.2 kB / 471.5 MB, free: 4.617 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.939e-05/0.5554, allocations: 4 kB / 471.5 MB, free: 4.613 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.884e-06/0.5555, allocations: 4 kB / 471.5 MB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.019e-05/0.5555, allocations: 7.938 kB / 471.5 MB, free: 4.602 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001015/0.5565, allocations: 111.8 kB / 471.6 MB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00267/0.5592, allocations: 3.704 MB / 475.3 MB, free: 0.6484 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003712/0.5596, allocations: 39.98 kB / 475.4 MB, free: 0.6094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.974e-05/0.5597, allocations: 8 kB / 475.4 MB, free: 0.6016 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003231/0.56, allocations: 177.7 kB / 475.5 MB, free: 428 kB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.082e-05/0.5601, allocations: 27.62 kB / 475.6 MB, free: 400 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001202/0.5613, allocations: 359.3 kB / 475.9 MB, free: 32 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.31e-06/0.5613, allocations: 0 / 475.9 MB, free: 32 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.5613, allocations: 0 / 475.9 MB, free: 32 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.573e-06/0.5614, allocations: 3.984 kB / 475.9 MB, free: 28 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2915/0.8528, allocations: 304.7 kB / 476.2 MB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.839e-06/0.8529, allocations: 4.594 kB / 476.2 MB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/0.8539, allocations: 108.4 kB / 476.3 MB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.286e-06/0.854, allocations: 3.312 kB / 476.3 MB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.463e-05/0.854, allocations: 7.406 kB / 476.3 MB, free: 98.27 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002125/0.8561, allocations: 3.702 MB / 480 MB, free: 94.77 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/0.8562, allocations: 2.891 kB / 480 MB, free: 94.77 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001079/0.8573, allocations: 373.3 kB / 480.4 MB, free: 94.64 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001223/0.8574, allocations: 105.4 kB / 480.5 MB, free: 94.55 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.562e-05/0.8575, allocations: 4.266 kB / 480.5 MB, free: 94.55 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002948/0.8578, allocations: 11.3 kB / 480.5 MB, free: 94.55 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.429e-05/0.8579, allocations: 17.06 kB / 480.5 MB, free: 94.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.26e-05/0.858, allocations: 11.94 kB / 480.5 MB, free: 94.55 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004445/0.8584, allocations: 253.4 kB / 480.8 MB, free: 94.46 MB / 394.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.8584, allocations: 0 / 480.8 MB, free: 94.46 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.000548/0.859, allocations: 77.86 kB / 480.9 MB, free: 94.46 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 (15): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003452/0.8593, allocations: 171.1 kB / 481 MB, free: 94.38 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.001701/0.8611, allocations: 331.2 kB / 481.4 MB, free: 94.38 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.8611, allocations: 3.172 kB / 481.4 MB, free: 94.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00117/0.8623, allocations: 208.8 kB / 481.6 MB, free: 94.38 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004973/0.8628, allocations: 60.61 kB / 481.6 MB, free: 94.37 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001666/0.8645, allocations: 0.6931 MB / 482.3 MB, free: 94.05 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003343/0.8648, allocations: 0.7971 MB / 483.1 MB, free: 93.35 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001218/0.865, allocations: 30.75 kB / 483.1 MB, free: 93.34 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.865, allocations: 0 / 483.1 MB, free: 93.34 MB / 394.7 MB Notification: Performance of Templates: time 0.01941/0.8844, allocations: 11.16 MB / 494.3 MB, free: 88.99 MB / 394.7 MB