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_evenGapTurbulent_KC.conf.json Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|velocity.1.|velocity.2.|cp.1.|cp.2.|eta.1.|eta.2.|lambda.1.|lambda.2.|rho.1.|rho.2.|Nu.1.|Nu.2.|m_flow.1.|m_flow.2.|kc_OUT_1.1.|kc_OUT_1.2.|Re.1.|Re.2.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC") Notification: Performance of loadModel(ModelicaTest): time 1.797/1.797, allocations: 209.3 MB / 222.4 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.778e-05/2.8e-05, allocations: 8 kB / 277.9 MB, free: 15.29 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08635/0.0864, allocations: 48.71 MB / 326.6 MB, free: 14.49 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3324/0.4188, allocations: 78.48 MB / 405 MB, free: 9.266 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002674/0.4191, allocations: 96 kB / 405.1 MB, free: 9.25 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02568/0.4448, allocations: 6.681 MB / 411.8 MB, free: 6.605 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.739e-06/0.4449, allocations: 0 / 411.8 MB, free: 6.605 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.4e-05/0.4449, allocations: 0 / 411.8 MB, free: 6.605 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006846/0.4456, allocations: 412.4 kB / 412.2 MB, free: 6.211 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.367e-05/0.4457, allocations: 19.55 kB / 412.2 MB, free: 6.203 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.278e-05/0.4458, allocations: 15.62 kB / 412.3 MB, free: 6.191 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002767/0.4461, allocations: 202 kB / 412.5 MB, free: 5.977 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.36e-05/0.4462, allocations: 11.39 kB / 412.5 MB, free: 5.973 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.459e-05/0.4462, allocations: 11 kB / 412.5 MB, free: 5.973 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004693/0.4467, allocations: 155.3 kB / 412.6 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4467, allocations: 0 / 412.6 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.059e-05/0.4468, allocations: 3.875 kB / 412.6 MB, free: 5.91 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.684e-05/0.4469, allocations: 12.17 kB / 412.6 MB, free: 5.906 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004617/0.4473, allocations: 148.8 kB / 412.8 MB, free: 5.84 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.4487, allocations: 499.9 kB / 413.3 MB, free: 5.352 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006302/0.4493, allocations: 140.3 kB / 413.4 MB, free: 5.219 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001782/0.4496, allocations: 48.58 kB / 413.5 MB, free: 5.176 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.063e-05/0.4496, allocations: 4 kB / 413.5 MB, free: 5.172 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.929e-05/0.4497, allocations: 30.56 kB / 413.5 MB, free: 5.133 MB / 314.7 MB Notification: Performance of pre-optimization done (n=9): time 3.599e-06/0.4497, allocations: 0 / 413.5 MB, free: 5.133 MB / 314.7 MB Notification: Performance of matching and sorting (n=9): time 0.0005413/0.4502, allocations: 127.1 kB / 413.6 MB, free: 5.012 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.4503, allocations: 58.22 kB / 413.7 MB, free: 4.945 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002961/0.4506, allocations: 171.7 kB / 413.8 MB, free: 4.785 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.4507, allocations: 29.7 kB / 413.9 MB, free: 4.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.915e-05/0.4508, allocations: 172.2 kB / 414 MB, free: 4.594 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.009e-05/0.4508, allocations: 34.73 kB / 414.1 MB, free: 4.562 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.87e-05/0.4509, allocations: 4 kB / 414.1 MB, free: 4.559 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.602e-05/0.451, allocations: 314.8 kB / 414.4 MB, free: 4.246 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001651/0.4511, allocations: 35.78 kB / 414.4 MB, free: 4.215 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001794/0.4513, allocations: 57.73 kB / 414.5 MB, free: 4.156 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001921/0.4516, allocations: 50.23 kB / 414.5 MB, free: 4.113 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.756e-06/0.4516, allocations: 8 kB / 414.5 MB, free: 4.105 MB / 314.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005141/0.4521, allocations: 131.1 kB / 414.7 MB, free: 3.984 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.305e-05/0.4522, allocations: 4 kB / 414.7 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.303e-06/0.4522, allocations: 0 / 414.7 MB, free: 3.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.4522, allocations: 11.92 kB / 414.7 MB, free: 3.969 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006379/0.4529, allocations: 47.91 kB / 414.7 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008948/0.4538, allocations: 1.22 MB / 415.9 MB, free: 2.668 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002785/0.4541, allocations: 23.3 kB / 416 MB, free: 2.648 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.034e-05/0.4542, allocations: 7.938 kB / 416 MB, free: 2.641 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 2 (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 (11): * 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): 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.0001224/0.4543, allocations: 107.5 kB / 416.1 MB, free: 2.531 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.32e-05/0.4544, allocations: 20 kB / 416.1 MB, free: 2.512 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006054/0.4551, allocations: 158 kB / 416.3 MB, free: 2.375 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.378e-06/0.4551, allocations: 3.953 kB / 416.3 MB, free: 2.371 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.112e-06/0.4551, allocations: 0 / 416.3 MB, free: 2.371 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.765e-06/0.4552, allocations: 0 / 416.3 MB, free: 2.371 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004599/0.4556, allocations: 220.3 kB / 416.5 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.4557, allocations: 0 / 416.5 MB, free: 2.125 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005847/0.4563, allocations: 51.39 kB / 416.5 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.429e-06/0.4563, allocations: 0 / 416.5 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.381e-05/0.4563, allocations: 4 kB / 416.5 MB, free: 2.074 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008543/0.4572, allocations: 1.222 MB / 417.7 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.033e-06/0.4572, allocations: 0 / 417.7 MB, free: 0.8203 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004711/0.4577, allocations: 236.6 kB / 418 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.818e-05/0.4578, allocations: 92.86 kB / 418.1 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.753e-05/0.4579, allocations: 3.125 kB / 418.1 MB, free: 488 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000319/0.4583, allocations: 12.17 kB / 418.1 MB, free: 476 kB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.993e-05/0.4584, allocations: 7.984 kB / 418.1 MB, free: 468 kB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.392e-05/0.4584, allocations: 3.938 kB / 418.1 MB, free: 464 kB / 314.7 MB Notification: Performance of sorting global known variables: time 0.0002224/0.4586, allocations: 152.5 kB / 418.2 MB, free: 332 kB / 314.7 MB Notification: Performance of sort global known variables: time 1.923e-06/0.4587, allocations: 4 kB / 418.3 MB, free: 328 kB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007463/0.4594, allocations: 37.75 kB / 418.3 MB, free: 292 kB / 314.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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0003349/0.4598, allocations: 154.7 kB / 418.4 MB, free: 132 kB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0007389/0.4606, allocations: 110.4 kB / 418.5 MB, free: 32 kB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.402e-06/0.4606, allocations: 0 / 418.5 MB, free: 32 kB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005598/0.4612, allocations: 67.19 kB / 418.6 MB, free: 15.97 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005122/0.4617, allocations: 34.19 kB / 418.6 MB, free: 15.95 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009094/0.4627, allocations: 245.8 kB / 418.9 MB, free: 15.7 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005882/0.4633, allocations: 0.7316 MB / 419.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.947e-05/0.4634, allocations: 15.44 kB / 419.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of SimCode: time 2.309e-06/0.4634, allocations: 0 / 419.6 MB, free: 14.93 MB / 330.7 MB Notification: Performance of Templates: time 0.01219/0.4756, allocations: 3.477 MB / 423.1 MB, free: 11.46 MB / 330.7 MB