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.General.kc_approxForcedConvection.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.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.017/2.017, allocations: 209.2 MB / 225.4 MB, free: 0.6172 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006025/0.0006026, allocations: 19.98 kB / 283.1 MB, free: 9.672 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3437/0.3444, allocations: 48.69 MB / 331.8 MB, free: 6.516 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1486/0.493, allocations: 82.42 MB / 414.2 MB, free: 12.02 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003905/0.4935, allocations: 103.9 kB / 414.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06053/0.554, allocations: 13.64 MB / 428 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5541, allocations: 8 kB / 428 MB, free: 14.13 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.5541, allocations: 4 kB / 428 MB, free: 14.12 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.00145/0.5555, allocations: 0.6549 MB / 428.6 MB, free: 13.42 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.5556, allocations: 12.03 kB / 428.6 MB, free: 13.41 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001145/0.5557, allocations: 39.53 kB / 428.7 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004807/0.5562, allocations: 283.2 kB / 429 MB, free: 13.05 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.486e-05/0.5563, allocations: 29 kB / 429 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.47e-05/0.5564, allocations: 40 kB / 429 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001556/0.558, allocations: 0.5691 MB / 429.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.558, allocations: 0 / 429.6 MB, free: 12.39 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-05/0.5581, allocations: 12 kB / 429.6 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-05/0.5581, allocations: 24.94 kB / 429.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001488/0.5596, allocations: 435.6 kB / 430.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003147/0.5628, allocations: 1.312 MB / 431.4 MB, free: 10.56 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001035/0.5639, allocations: 315.5 kB / 431.7 MB, free: 10.23 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.398e-05/0.5639, allocations: 15.97 kB / 431.7 MB, free: 10.21 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.558e-05/0.564, allocations: 30.56 kB / 431.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of pre-optimization done (n=17): time 3.045e-06/0.564, allocations: 0 / 431.7 MB, free: 10.17 MB / 362.7 MB Notification: Performance of matching and sorting (n=17): time 0.002403/0.5664, allocations: 0.7579 MB / 432.5 MB, free: 9.352 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.5665, allocations: 106.8 kB / 432.6 MB, free: 9.223 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00098/0.5675, allocations: 0.49 MB / 433.1 MB, free: 8.727 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.16e-05/0.5676, allocations: 29.7 kB / 433.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002136/0.5678, allocations: 246.8 kB / 433.3 MB, free: 8.449 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.646e-05/0.5679, allocations: 59.11 kB / 433.4 MB, free: 8.391 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.5679, allocations: 8.031 kB / 433.4 MB, free: 8.383 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001611/0.5681, allocations: 326.8 kB / 433.7 MB, free: 8.055 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006454/0.5688, allocations: 152.1 kB / 433.9 MB, free: 7.902 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007298/0.5695, allocations: 242.7 kB / 434.1 MB, free: 7.629 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007073/0.5702, allocations: 179.8 kB / 434.3 MB, free: 7.453 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.959e-06/0.5703, allocations: 0 / 434.3 MB, free: 7.453 MB / 362.7 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.001652/0.5719, allocations: 433.6 kB / 434.7 MB, free: 7.023 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.588e-05/0.572, allocations: 11.98 kB / 434.7 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001184/0.5721, allocations: 31.98 kB / 434.8 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.298e-05/0.5721, allocations: 4 kB / 434.8 MB, free: 6.977 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003498/0.5725, allocations: 39.95 kB / 434.8 MB, free: 6.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.569e-05/0.5725, allocations: 12.03 kB / 434.8 MB, free: 6.926 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005062/0.573, allocations: 59.5 kB / 434.9 MB, free: 6.867 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.728e-05/0.5731, allocations: 19.97 kB / 434.9 MB, free: 6.848 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 () * Number of clocked 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.0003831/0.5735, allocations: 205.6 kB / 435.1 MB, free: 6.637 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001401/0.5736, allocations: 39.53 kB / 435.1 MB, free: 6.598 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.5752, allocations: 440.7 kB / 435.6 MB, free: 6.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.252e-05/0.5752, allocations: 4 kB / 435.6 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5752, allocations: 0 / 435.6 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.5753, allocations: 0 / 435.6 MB, free: 6.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009053/0.5762, allocations: 385.2 kB / 435.9 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001005/0.5763, allocations: 31.98 kB / 436 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002957/0.5766, allocations: 31.91 kB / 436 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5766, allocations: 0 / 436 MB, free: 5.668 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.711e-05/0.5767, allocations: 11.98 kB / 436 MB, free: 5.656 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.021e-06/0.5767, allocations: 4 kB / 436 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.675e-06/0.5767, allocations: 0 / 436 MB, free: 5.652 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001612/0.5783, allocations: 0.6304 MB / 436.7 MB, free: 5.004 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003608/0.5787, allocations: 168.4 kB / 436.8 MB, free: 4.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.5788, allocations: 8 kB / 436.8 MB, free: 4.812 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.5793, allocations: 23.98 kB / 436.8 MB, free: 4.789 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.5794, allocations: 27.91 kB / 436.9 MB, free: 4.762 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.5795, allocations: 11.98 kB / 436.9 MB, free: 4.75 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006616/0.5802, allocations: 355.1 kB / 437.2 MB, free: 4.402 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.5802, allocations: 0 / 437.2 MB, free: 4.402 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0008677/0.581, allocations: 135.8 kB / 437.4 MB, free: 4.27 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 () * Number of clocked 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.0005527/0.5816, allocations: 220.7 kB / 437.6 MB, free: 4.051 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001668/0.5833, allocations: 0.577 MB / 438.2 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.5833, allocations: 0.6875 kB / 438.2 MB, free: 3.418 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008692/0.5842, allocations: 415.4 kB / 438.6 MB, free: 2.957 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007975/0.585, allocations: 97.72 kB / 438.7 MB, free: 2.863 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002241/0.5873, allocations: 0.8994 MB / 439.6 MB, free: 1.922 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006028/0.5879, allocations: 0.8499 MB / 440.4 MB, free: 1.047 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001404/0.5881, allocations: 31.42 kB / 440.4 MB, free: 1.016 MB / 362.7 MB Notification: Performance of SimCode: time 3.186e-06/0.5881, allocations: 0 / 440.4 MB, free: 1.016 MB / 362.7 MB Notification: Performance of Templates: time 0.01831/0.6064, allocations: 7.628 MB / 448.1 MB, free: 9.422 MB / 378.7 MB