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.Channel.kc_evenGapOverall.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.Channel.kc_evenGapOverall,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.|m_flow.1.|m_flow.2.|m_flow.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.|Nu_4.1.|Nu_4.2.|Nu_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|mflow_test|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapOverall") Notification: Performance of loadModel(ModelicaTest): time 2.019/2.019, allocations: 209.4 MB / 217.3 MB, free: 4.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.673e-05, allocations: 0 / 271.3 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3297, allocations: 48.7 MB / 320 MB, free: 14.41 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.46, allocations: 86.03 MB / 406.1 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/0.4603, allocations: 91.94 kB / 406.2 MB, free: 10.3 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08496/0.5453, allocations: 21.01 MB / 427.2 MB, free: 5.066 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.432e-06/0.5454, allocations: 3.938 kB / 427.2 MB, free: 5.062 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.824e-05/0.5454, allocations: 4 kB / 427.2 MB, free: 5.059 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: 134 * Number of variables: 134 Notification: Performance of Generate backend data structure: time 0.002073/0.5475, allocations: 0.713 MB / 427.9 MB, free: 4.301 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.113e-05/0.5476, allocations: 16.02 kB / 427.9 MB, free: 4.285 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002355/0.5479, allocations: 51.34 kB / 428 MB, free: 4.234 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008575/0.5487, allocations: 303.1 kB / 428.3 MB, free: 3.895 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.144e-05/0.5488, allocations: 16 kB / 428.3 MB, free: 3.879 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.549, allocations: 32 kB / 428.3 MB, free: 3.848 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001523/0.5505, allocations: 402.4 kB / 428.7 MB, free: 3.453 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002036/0.5526, allocations: 0.5867 MB / 429.3 MB, free: 2.852 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.265e-05/0.5527, allocations: 7.984 kB / 429.3 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.343e-05/0.5528, allocations: 0 / 429.3 MB, free: 2.844 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.831e-05/0.5529, allocations: 21.31 kB / 429.3 MB, free: 2.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004711/0.5576, allocations: 1.351 MB / 430.7 MB, free: 1.422 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009778/0.5587, allocations: 283.8 kB / 430.9 MB, free: 1.113 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004754/0.5592, allocations: 122.7 kB / 431.1 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.216e-05/0.5593, allocations: 7.984 kB / 431.1 MB, free: 0.9766 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/0.5593, allocations: 38.5 kB / 431.1 MB, free: 0.9297 MB / 362.7 MB Notification: Performance of pre-optimization done (n=23): time 5.837e-06/0.5594, allocations: 4 kB / 431.1 MB, free: 0.9258 MB / 362.7 MB Notification: Performance of matching and sorting (n=23): time 0.00148/0.5609, allocations: 299.3 kB / 431.4 MB, free: 0.6328 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.705e-05/0.561, allocations: 110.8 kB / 431.5 MB, free: 0.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004342/0.5615, allocations: 192.5 kB / 431.7 MB, free: 312 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 5.813e-05/0.5615, allocations: 25.7 kB / 431.7 MB, free: 280 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003448/0.5619, allocations: 314 kB / 432 MB, free: 15.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000152/0.5621, allocations: 78.84 kB / 432.1 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/0.5621, allocations: 0 / 432.1 MB, free: 15.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002225/0.5624, allocations: 326.9 kB / 432.4 MB, free: 15.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004881/0.5629, allocations: 112.7 kB / 432.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006076/0.5635, allocations: 216.6 kB / 432.7 MB, free: 15.19 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005886/0.5641, allocations: 152.5 kB / 432.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.5642, allocations: 4 kB / 432.9 MB, free: 15.04 MB / 378.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001592/0.5658, allocations: 369.5 kB / 433.3 MB, free: 14.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.806e-05/0.5658, allocations: 4.438 kB / 433.3 MB, free: 14.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001779/0.566, allocations: 43.97 kB / 433.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.88e-05/0.5661, allocations: 4 kB / 433.3 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004518/0.5665, allocations: 43.89 kB / 433.4 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.641e-05/0.5666, allocations: 4 kB / 433.4 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005757/0.5672, allocations: 43.78 kB / 433.4 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.5e-05/0.5673, allocations: 27.92 kB / 433.4 MB, free: 14.5 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 12 (m_flow_IN_con_4[3].target,m_flow_IN_con_4[2].target,m_flow_IN_con_4[1].target,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 (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.0002249/0.5675, allocations: 108.9 kB / 433.5 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.5678, allocations: 35.64 kB / 433.6 MB, free: 14.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001793/0.5696, allocations: 411 kB / 434 MB, free: 13.95 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.5697, allocations: 8 kB / 434 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.576e-05/0.5697, allocations: 11.98 kB / 434 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.483e-06/0.5697, allocations: 0 / 434 MB, free: 13.93 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001316/0.5711, allocations: 365.8 kB / 434.3 MB, free: 13.54 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001601/0.5712, allocations: 35.97 kB / 434.4 MB, free: 13.5 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003625/0.5716, allocations: 31.97 kB / 434.4 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.356e-06/0.5717, allocations: 0 / 434.4 MB, free: 13.47 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.504e-05/0.5717, allocations: 11.98 kB / 434.4 MB, free: 13.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.484e-06/0.5718, allocations: 4 kB / 434.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.5718, allocations: 4 kB / 434.4 MB, free: 13.45 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001462/0.5733, allocations: 0.5614 MB / 435 MB, free: 12.86 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003759/0.5737, allocations: 152.7 kB / 435.1 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.953e-05/0.5738, allocations: 4 kB / 435.1 MB, free: 12.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000674/0.5745, allocations: 19.98 kB / 435.2 MB, free: 12.67 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.5746, allocations: 27.92 kB / 435.2 MB, free: 12.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.011e-05/0.5747, allocations: 15.98 kB / 435.2 MB, free: 12.62 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002863/0.575, allocations: 148.5 kB / 435.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.01e-06/0.5751, allocations: 4 kB / 435.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001744/0.5768, allocations: 203.2 kB / 435.6 MB, free: 12.28 MB / 378.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 (17): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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.001044/0.5779, allocations: 292.8 kB / 435.8 MB, free: 11.98 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001251/0.5792, allocations: 0.587 MB / 436.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.482e-06/0.5792, allocations: 352 / 436.4 MB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005614/0.5798, allocations: 457.1 kB / 436.9 MB, free: 10.8 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004906/0.5803, allocations: 28.64 kB / 436.9 MB, free: 10.78 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002439/0.5828, allocations: 0.6429 MB / 437.5 MB, free: 10.1 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009774/0.5838, allocations: 0.9001 MB / 438.4 MB, free: 9.176 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001238/0.5839, allocations: 19.38 kB / 438.5 MB, free: 9.156 MB / 378.7 MB Notification: Performance of SimCode: time 2.703e-06/0.5839, allocations: 0 / 438.5 MB, free: 9.156 MB / 378.7 MB Notification: Performance of Templates: time 0.02309/0.607, allocations: 7.527 MB / 446 MB, free: 1.621 MB / 378.7 MB