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_evenGapTurbulent_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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_Channel_kc_evenGapTurbulent_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.009278/0.009284, allocations: 162.2 kB / 15.11 MB, free: 5.957 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 1.91/1.91, allocations: 170.8 MB / 186.6 MB, free: 1.105 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.003473/0.003472, allocations: 106.8 kB / 226.2 MB, free: 10.08 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4907/0.4907, allocations: 38.06 MB / 303.7 MB, free: 42.4 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006585/0.0006587, allocations: 12 kB / 363 MB, free: 5.461 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1204/0.1211, allocations: 48.72 MB / 411.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.Channel.kc_evenGapTurbulent_KC): time 0.002933/0.1241, allocations: 1.445 MB / 413.2 MB, free: 3.207 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001926/0.1261, allocations: 0.737 MB / 413.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.289e-05/0.1262, allocations: 0 / 413.9 MB, free: 2.469 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002764/0.1265, allocations: 43.81 kB / 413.9 MB, free: 2.426 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003132/0.1269, allocations: 63.7 kB / 414 MB, free: 2.363 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000314/0.1272, allocations: 65.62 kB / 414.1 MB, free: 2.301 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003109/0.1275, allocations: 203.2 kB / 414.3 MB, free: 2.102 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.858e-05/0.1276, allocations: 13.11 kB / 414.3 MB, free: 2.09 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001573/0.1278, allocations: 55.7 kB / 414.3 MB, free: 2.035 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001915/0.128, allocations: 79.67 kB / 414.4 MB, free: 1.957 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.631e-05/0.128, allocations: 4 kB / 414.4 MB, free: 1.953 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004046/0.1284, allocations: 147.7 kB / 414.6 MB, free: 1.809 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.393e-05/0.1285, allocations: 43.88 kB / 414.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.656e-05/0.1286, allocations: 41.64 kB / 414.7 MB, free: 1.719 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.1289, allocations: 115.9 kB / 414.8 MB, free: 1.605 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.1289, allocations: 0 / 414.8 MB, free: 1.605 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.1289, allocations: 0 / 414.8 MB, free: 1.605 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.1289, allocations: 0 / 414.8 MB, free: 1.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.000951/0.1299, allocations: 434.7 kB / 415.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/0.1299, allocations: 8.031 kB / 415.2 MB, free: 1.125 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.099e-05/0.13, allocations: 46.55 kB / 415.2 MB, free: 1.07 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.128e-05/0.1301, allocations: 11.91 kB / 415.3 MB, free: 1.059 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002969/0.1304, allocations: 206.8 kB / 415.5 MB, free: 0.8164 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.917e-05/0.1304, allocations: 4 kB / 415.5 MB, free: 0.8125 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.102e-05/0.1305, allocations: 12 kB / 415.5 MB, free: 0.8008 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005335/0.131, allocations: 169.5 kB / 415.6 MB, free: 0.6289 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.1311, allocations: 4 kB / 415.6 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.285e-05/0.1311, allocations: 4 kB / 415.6 MB, free: 0.6211 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-05/0.1311, allocations: 8 kB / 415.7 MB, free: 0.6133 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006039/0.1317, allocations: 179.8 kB / 415.8 MB, free: 448 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001195/0.133, allocations: 500 kB / 416.3 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006844/0.1337, allocations: 158.4 kB / 416.5 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002667/0.134, allocations: 68.84 kB / 416.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.266e-05/0.1341, allocations: 3.984 kB / 416.5 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.1341, allocations: 38.56 kB / 416.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of pre-optimization done (n=9): time 3.186e-06/0.1341, allocations: 0 / 416.6 MB, free: 15.61 MB / 330.7 MB Notification: Performance of matching and sorting (n=9): time 0.0009337/0.135, allocations: 213.3 kB / 416.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.497e-05/0.1351, allocations: 55.41 kB / 416.8 MB, free: 15.33 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002856/0.1354, allocations: 195.5 kB / 417 MB, free: 15.12 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.783e-05/0.1355, allocations: 25.7 kB / 417.1 MB, free: 15.09 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.116e-05/0.1356, allocations: 116 kB / 417.2 MB, free: 14.98 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.788e-05/0.1356, allocations: 31.55 kB / 417.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.1356, allocations: 4 kB / 417.2 MB, free: 14.94 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1358, allocations: 326.8 kB / 417.5 MB, free: 14.61 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002451/0.1361, allocations: 55.95 kB / 417.6 MB, free: 14.56 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.1364, allocations: 82.45 kB / 417.7 MB, free: 14.47 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.1366, allocations: 63.94 kB / 417.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1367, allocations: 0 / 417.7 MB, free: 14.41 MB / 330.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006525/0.1373, allocations: 173.7 kB / 417.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.1374, allocations: 4 kB / 417.9 MB, free: 14.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.1374, allocations: 4 kB / 417.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.78e-05/0.1374, allocations: 4.094 kB / 417.9 MB, free: 14.22 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005083/0.1379, allocations: 55.84 kB / 418 MB, free: 14.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009571/0.1389, allocations: 1.227 MB / 419.2 MB, free: 12.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002057/0.1391, allocations: 15.97 kB / 419.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.062e-05/0.1392, allocations: 8.188 kB / 419.2 MB, free: 12.87 MB / 330.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 () * Number of clocked 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.0002185/0.1394, allocations: 134.8 kB / 419.3 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.781e-05/0.1395, allocations: 19.77 kB / 419.4 MB, free: 12.71 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007016/0.1402, allocations: 194.8 kB / 419.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.558e-06/0.1402, allocations: 0 / 419.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.97e-06/0.1402, allocations: 0 / 419.6 MB, free: 12.51 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.312e-06/0.1402, allocations: 3.984 kB / 419.6 MB, free: 12.5 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003662/0.1406, allocations: 225.5 kB / 419.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.1406, allocations: 0 / 419.8 MB, free: 12.23 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004282/0.1411, allocations: 47.97 kB / 419.8 MB, free: 12.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.444e-06/0.1411, allocations: 3.953 kB / 419.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.1411, allocations: 4 kB / 419.8 MB, free: 12.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009389/0.1421, allocations: 1.227 MB / 421.1 MB, free: 10.91 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.1421, allocations: 3.953 kB / 421.1 MB, free: 10.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006335/0.1427, allocations: 255.5 kB / 421.3 MB, free: 10.64 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.239e-05/0.1428, allocations: 88.92 kB / 421.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.973e-05/0.1429, allocations: 4 kB / 421.4 MB, free: 10.53 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002093/0.1431, allocations: 11.98 kB / 421.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.167e-05/0.1432, allocations: 11.98 kB / 421.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.634e-05/0.1432, allocations: 3.953 kB / 421.4 MB, free: 10.5 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002006/0.1434, allocations: 157.1 kB / 421.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.7e-07/0.1434, allocations: 0 / 421.6 MB, free: 10.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0004225/0.1439, allocations: 40 kB / 421.6 MB, free: 10.31 MB / 330.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 (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.001094/0.145, allocations: 0.8295 MB / 422.4 MB, free: 9.453 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000839/0.1458, allocations: 159.8 kB / 422.6 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.376e-06/0.1458, allocations: 0 / 422.6 MB, free: 9.297 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005067/0.1464, allocations: 96.06 kB / 422.7 MB, free: 9.203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004502/0.1468, allocations: 27.91 kB / 422.7 MB, free: 9.176 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002646/0.1495, allocations: 1.117 MB / 423.8 MB, free: 8.008 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004094/0.1499, allocations: 0.7318 MB / 424.6 MB, free: 7.25 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0001838/0.1501, allocations: 41.03 kB / 424.6 MB, free: 7.207 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001098/0.1502, allocations: 35.42 kB / 424.6 MB, free: 7.172 MB / 330.7 MB Notification: Performance of SimCode: time 8.11e-07/0.1502, allocations: 0 / 424.6 MB, free: 7.172 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02663/0.1769, allocations: 4.133 MB / 428.8 MB, free: 3.113 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002813/0.1772, allocations: 265.1 kB / 429 MB, free: 2.754 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.916/3.093, allocations: 0 / 429 MB, free: 2.754 MB / 330.7 MB "" Variables in the reference: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 Variables in the result:L,Nu[1],Nu[2],Re[1],Re[2],cp[1],cp[2],d_hyd,eta[1],eta[2],h,input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc_OUT_1[1],kc_OUT_1[2],lambda[1],lambda[2],m_flow[1],m_flow[2],m_flow_IN_con_1[1].L,m_flow_IN_con_1[1].h,m_flow_IN_con_1[1].s,m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].h,m_flow_IN_con_1[2].s,m_flow_IN_con_1[2].target,m_flow_IN_var_1[1].cp,m_flow_IN_var_1[1].eta,m_flow_IN_var_1[1].lambda,m_flow_IN_var_1[1].m_flow,m_flow_IN_var_1[1].rho,m_flow_IN_var_1[2].cp,m_flow_IN_var_1[2].eta,m_flow_IN_var_1[2].lambda,m_flow_IN_var_1[2].m_flow,m_flow_IN_var_1[2].rho,n,rho[1],rho[2],s,time,velocity[1],velocity[2]