Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") Notification: Performance of loadModel(ModelicaTest): time 2.062/2.062, allocations: 209.4 MB / 217.3 MB, free: 4.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.226e-05/1.231e-05, allocations: 0 / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2759/0.276, allocations: 48.68 MB / 320 MB, free: 14.39 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1214/0.3975, allocations: 81.66 MB / 401.7 MB, free: 14.77 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003098/0.3978, allocations: 91.94 kB / 401.8 MB, free: 14.68 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05327/0.4511, allocations: 13.51 MB / 415.3 MB, free: 1.039 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.101e-06/0.4512, allocations: 0 / 415.3 MB, free: 1.039 MB / 346.7 MB Notification: Performance of Transformations before backend: time 2.53e-05/0.4512, allocations: 4 kB / 415.3 MB, free: 1.035 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001093/0.4523, allocations: 0.6307 MB / 415.9 MB, free: 368 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.4524, allocations: 12.03 kB / 415.9 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001093/0.4525, allocations: 39.53 kB / 416 MB, free: 316 kB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004631/0.453, allocations: 287.2 kB / 416.3 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.453, allocations: 12 kB / 416.3 MB, free: 15.97 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.068e-05/0.4531, allocations: 24 kB / 416.3 MB, free: 15.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006771/0.4538, allocations: 317.9 kB / 416.6 MB, free: 15.64 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009151/0.4547, allocations: 485.7 kB / 417.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.56e-05/0.4548, allocations: 0 / 417.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.3e-05/0.4548, allocations: 0 / 417.1 MB, free: 15.15 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.84e-05/0.4549, allocations: 20.72 kB / 417.1 MB, free: 15.13 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002274/0.4571, allocations: 1.151 MB / 418.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005275/0.4577, allocations: 271.5 kB / 418.5 MB, free: 13.64 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002515/0.458, allocations: 114.5 kB / 418.6 MB, free: 13.52 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.914e-05/0.458, allocations: 15.95 kB / 418.6 MB, free: 13.5 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.955e-05/0.4581, allocations: 38.5 kB / 418.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.052e-06/0.4581, allocations: 0 / 418.7 MB, free: 13.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.0007958/0.4589, allocations: 286.3 kB / 419 MB, free: 13.17 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.722e-05/0.459, allocations: 114.8 kB / 419.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002879/0.4593, allocations: 204.4 kB / 419.3 MB, free: 12.82 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 3.713e-05/0.4593, allocations: 25.7 kB / 419.3 MB, free: 12.79 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002008/0.4596, allocations: 282.4 kB / 419.6 MB, free: 12.51 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.374e-05/0.4596, allocations: 55.2 kB / 419.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.249e-05/0.4597, allocations: 0 / 419.6 MB, free: 12.46 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001612/0.4598, allocations: 322.8 kB / 419.9 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002598/0.4601, allocations: 112.1 kB / 420 MB, free: 12.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003254/0.4605, allocations: 196.1 kB / 420.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003031/0.4608, allocations: 137.5 kB / 420.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.4608, allocations: 0 / 420.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0007917/0.4616, allocations: 337.3 kB / 420.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.015e-05/0.4616, allocations: 4.781 kB / 420.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.249e-05/0.4617, allocations: 31.97 kB / 420.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4618, allocations: 4 kB / 420.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002768/0.462, allocations: 43.91 kB / 420.8 MB, free: 11.24 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.318e-05/0.4621, allocations: 8.234 kB / 420.8 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002853/0.4624, allocations: 35.83 kB / 420.8 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.983e-05/0.4624, allocations: 15.98 kB / 420.8 MB, free: 11.18 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0001521/0.4626, allocations: 123.8 kB / 421 MB, free: 11.06 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.4627, allocations: 19.72 kB / 421 MB, free: 11.04 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009157/0.4637, allocations: 380.3 kB / 421.4 MB, free: 10.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.386e-05/0.4637, allocations: 7.984 kB / 421.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.717e-06/0.4637, allocations: 0 / 421.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.604e-06/0.4637, allocations: 0 / 421.4 MB, free: 10.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007225/0.4645, allocations: 345.8 kB / 421.7 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.687e-05/0.4646, allocations: 31.97 kB / 421.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002029/0.4648, allocations: 31.91 kB / 421.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.538e-06/0.4648, allocations: 4 kB / 421.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-05/0.4648, allocations: 8 kB / 421.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.4649, allocations: 0 / 421.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.452e-06/0.4649, allocations: 4 kB / 421.8 MB, free: 10.21 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008092/0.4657, allocations: 0.5544 MB / 422.3 MB, free: 9.625 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.4659, allocations: 140.8 kB / 422.5 MB, free: 9.469 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.466, allocations: 4 kB / 422.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003508/0.4663, allocations: 23.97 kB / 422.5 MB, free: 9.441 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.603e-05/0.4664, allocations: 15.98 kB / 422.5 MB, free: 9.426 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.952e-05/0.4665, allocations: 15.92 kB / 422.5 MB, free: 9.41 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001892/0.4667, allocations: 160.5 kB / 422.7 MB, free: 9.258 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.01e-07/0.4667, allocations: 3.938 kB / 422.7 MB, free: 9.254 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008266/0.4675, allocations: 143.5 kB / 422.8 MB, free: 9.113 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.0004804/0.468, allocations: 229.1 kB / 423 MB, free: 8.879 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0008042/0.4689, allocations: 495.6 kB / 423.5 MB, free: 8.34 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.977e-06/0.4689, allocations: 4.062 kB / 423.5 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004641/0.4694, allocations: 375.1 kB / 423.9 MB, free: 7.914 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004213/0.4698, allocations: 28.33 kB / 423.9 MB, free: 7.887 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.4712, allocations: 0.543 MB / 424.5 MB, free: 7.312 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006105/0.4718, allocations: 0.853 MB / 425.3 MB, free: 6.434 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.761e-05/0.4719, allocations: 23.42 kB / 425.3 MB, free: 6.41 MB / 362.7 MB Notification: Performance of SimCode: time 1.604e-06/0.4719, allocations: 0 / 425.3 MB, free: 6.41 MB / 362.7 MB Notification: Performance of Templates: time 0.01167/0.4836, allocations: 6.188 MB / 431.5 MB, free: 228 kB / 362.7 MB