Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC,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.|Nu.1.|Nu.2.|Nu.3.|m_flow_1.1.|m_flow_1.2.|m_flow_1.3.|m_flow_2.1.|m_flow_2.2.|m_flow_2.3.|m_flow_3.1.|m_flow_3.2.|m_flow_3.3.|m_flow_4.1.|m_flow_4.2.|m_flow_4.3.|kc_OUT_1.1.|kc_OUT_1.2.|kc_OUT_1.3.|kc_OUT_2.1.|kc_OUT_2.2.|kc_OUT_2.3.|kc_OUT_3.1.|kc_OUT_3.2.|kc_OUT_3.3.|kc_OUT_4.1.|kc_OUT_4.2.|kc_OUT_4.3.|Re_1.1.|Re_1.2.|Re_1.3.|Re_2.1.|Re_2.2.|Re_2.3.|Re_3.1.|Re_3.2.|Re_3.3.|Re_4.1.|Re_4.2.|Re_4.3.|input_Nu.y",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapLaminar_KC") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.002721/0.002721, allocations: 347.2 kB / 15.93 MB, free: 6.219 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 3.452/3.452, allocations: 341.5 MB / 358.2 MB, free: 12.64 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00353/0.00353, allocations: 222.1 kB / 397.9 MB, free: 4.973 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4779/0.4779, allocations: 76.1 MB / 0.5014 GB, free: 112.6 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004636/0.0004639, allocations: 12 kB / 0.5592 GB, free: 53.45 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08343/0.08392, allocations: 48.7 MB / 0.6067 GB, free: 4.641 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3885/0.4724, allocations: 82.03 MB / 0.6869 GB, free: 30.69 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003438/0.4728, allocations: 102.2 kB / 0.687 GB, free: 30.59 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06689/0.5398, allocations: 14.03 MB / 0.7007 GB, free: 16.7 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.097e-06/0.5398, allocations: 0 / 0.7007 GB, free: 16.7 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.701e-05/0.5399, allocations: 8 kB / 0.7007 GB, free: 16.69 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.002064/0.542, allocations: 0.6445 MB / 0.7013 GB, free: 16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.004e-05/0.542, allocations: 8.031 kB / 0.7013 GB, free: 15.99 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003021/0.5424, allocations: 57.05 kB / 0.7013 GB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007648/0.5432, allocations: 303.2 kB / 0.7016 GB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.438e-05/0.5433, allocations: 45.25 kB / 0.7017 GB, free: 15.56 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.5434, allocations: 52.81 kB / 0.7017 GB, free: 15.51 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002627/0.5461, allocations: 0.6951 MB / 0.7024 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.314e-05/0.5462, allocations: 1.938 kB / 0.7024 GB, free: 14.81 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.78e-05/0.5463, allocations: 20 kB / 0.7024 GB, free: 14.79 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001145/0.5464, allocations: 40.55 kB / 0.7025 GB, free: 14.75 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00287/0.5493, allocations: 0.752 MB / 0.7032 GB, free: 14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004985/0.5544, allocations: 1.438 MB / 0.7046 GB, free: 12.52 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001822/0.5563, allocations: 454.5 kB / 0.705 GB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007515/0.5571, allocations: 166 kB / 0.7052 GB, free: 11.9 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.154e-05/0.5572, allocations: 11.81 kB / 0.7052 GB, free: 11.89 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.741e-05/0.5573, allocations: 38.75 kB / 0.7052 GB, free: 11.85 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 5.27e-06/0.5573, allocations: 0 / 0.7052 GB, free: 11.85 MB / 362.7 MB Notification: Performance of matching and sorting (n=28): time 0.002667/0.56, allocations: 0.552 MB / 0.7058 GB, free: 11.29 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.5601, allocations: 55.41 kB / 0.7058 GB, free: 11.22 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001255/0.5613, allocations: 0.5251 MB / 0.7064 GB, free: 10.7 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.286e-05/0.5615, allocations: 33.7 kB / 0.7064 GB, free: 10.66 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000255/0.5618, allocations: 224.5 kB / 0.7066 GB, free: 10.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001768/0.562, allocations: 102.5 kB / 0.7067 GB, free: 10.33 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.87e-05/0.562, allocations: 12 kB / 0.7067 GB, free: 10.32 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5622, allocations: 354.8 kB / 0.707 GB, free: 9.965 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008015/0.563, allocations: 160.6 kB / 0.7072 GB, free: 9.805 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000827/0.5639, allocations: 258.6 kB / 0.7074 GB, free: 9.52 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009307/0.5648, allocations: 195.8 kB / 0.7076 GB, free: 9.328 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/0.5649, allocations: 4 kB / 0.7076 GB, free: 9.324 MB / 362.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.002184/0.5671, allocations: 497.5 kB / 0.7081 GB, free: 8.832 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.5672, allocations: 8 kB / 0.7081 GB, free: 8.824 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/0.5672, allocations: 8.328 kB / 0.7081 GB, free: 8.816 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.21e-05/0.5673, allocations: 8 kB / 0.7081 GB, free: 8.809 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002673/0.5699, allocations: 215.8 kB / 0.7083 GB, free: 8.598 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005096/0.5751, allocations: 7.322 MB / 0.7155 GB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009289/0.5761, allocations: 63.3 kB / 0.7156 GB, free: 0.9336 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001065/0.5762, allocations: 26.09 kB / 0.7156 GB, free: 0.9102 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005568/0.5768, allocations: 228.9 kB / 0.7158 GB, free: 0.6836 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001597/0.577, allocations: 47.39 kB / 0.7158 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002535/0.5796, allocations: 0.5393 MB / 0.7164 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.5796, allocations: 0 / 0.7164 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.5797, allocations: 0 / 0.7164 GB, free: 116 kB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.5797, allocations: 4 kB / 0.7164 GB, free: 112 kB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001446/0.5812, allocations: 437.6 kB / 0.7168 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.103e-06/0.5812, allocations: 0 / 0.7168 GB, free: 15.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002782/0.584, allocations: 199.9 kB / 0.717 GB, free: 15.44 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.029e-05/0.5841, allocations: 7.938 kB / 0.717 GB, free: 15.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.246e-05/0.5842, allocations: 15.94 kB / 0.717 GB, free: 15.42 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007159/0.5914, allocations: 7.31 MB / 0.7241 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.042e-06/0.5915, allocations: 3.188 kB / 0.7241 GB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00213/0.5936, allocations: 0.5074 MB / 0.7246 GB, free: 7.305 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003271/0.594, allocations: 128.4 kB / 0.7248 GB, free: 7.16 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001667/0.5942, allocations: 8 kB / 0.7248 GB, free: 7.152 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006494/0.5948, allocations: 15.98 kB / 0.7248 GB, free: 7.137 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/0.595, allocations: 27.91 kB / 0.7248 GB, free: 7.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-05/0.5951, allocations: 12 kB / 0.7248 GB, free: 7.098 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001048/0.5962, allocations: 387 kB / 0.7252 GB, free: 6.723 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.52e-07/0.5962, allocations: 0 / 0.7252 GB, free: 6.723 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001202/0.5974, allocations: 139.8 kB / 0.7253 GB, free: 6.586 MB / 378.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 (28): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * 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: 12 {1,1,1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006457/0.5981, allocations: 186 kB / 0.7255 GB, free: 6.402 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004426/0.6026, allocations: 0.5359 MB / 0.726 GB, free: 5.867 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.316e-05/0.6026, allocations: 4 kB / 0.726 GB, free: 5.863 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003242/0.6059, allocations: 355.6 kB / 0.7264 GB, free: 5.516 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001432/0.6074, allocations: 92.14 kB / 0.7265 GB, free: 5.434 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003943/0.6114, allocations: 1.047 MB / 0.7275 GB, free: 4.371 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008548/0.6123, allocations: 0.9021 MB / 0.7284 GB, free: 3.445 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008431/0.6132, allocations: 134.2 kB / 0.7285 GB, free: 3.328 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.6134, allocations: 35.42 kB / 0.7285 GB, free: 3.293 MB / 378.7 MB Notification: Performance of SimCode: time 1.713e-06/0.6134, allocations: 7.938 kB / 0.7285 GB, free: 3.285 MB / 378.7 MB Notification: Performance of Templates: time 0.03563/0.6491, allocations: 8.241 MB / 0.7366 GB, free: 11.2 MB / 394.7 MB