Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_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.General.kc_approxForcedConvection_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_General_kc_approxForcedConvection_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.01121/0.01121, allocations: 162 kB / 15.12 MB, free: 6.027 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.861/1.861, allocations: 170.8 MB / 186.6 MB, free: 1.121 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.001753/0.001752, allocations: 114.8 kB / 226.2 MB, free: 10.09 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.4809/0.4809, allocations: 38.04 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004719/0.0004721, allocations: 11.98 kB / 363 MB, free: 5.453 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1081, allocations: 48.71 MB / 411.7 MB, free: 4.66 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_KC): time 0.003037/0.1112, allocations: 1.64 MB / 413.4 MB, free: 3.004 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001892/0.1132, allocations: 0.7565 MB / 414.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.884e-05/0.1133, allocations: 0 / 414.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.1136, allocations: 51.73 kB / 414.2 MB, free: 2.195 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004269/0.1141, allocations: 115.5 kB / 414.3 MB, free: 2.082 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000278/0.1144, allocations: 55.86 kB / 414.3 MB, free: 2.027 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000523/0.1149, allocations: 366.5 kB / 414.7 MB, free: 1.668 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001051/0.115, allocations: 44.34 kB / 414.7 MB, free: 1.625 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002116/0.1153, allocations: 107.4 kB / 414.8 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003055/0.1156, allocations: 139.4 kB / 415 MB, free: 1.383 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.1156, allocations: 8 kB / 415 MB, free: 1.375 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003686/0.116, allocations: 127.8 kB / 415.1 MB, free: 1.25 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001035/0.1161, allocations: 59.73 kB / 415.2 MB, free: 1.191 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.588e-05/0.1162, allocations: 65.58 kB / 415.2 MB, free: 1.121 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003964/0.1166, allocations: 227.6 kB / 415.5 MB, free: 0.8984 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.1166, allocations: 3.938 kB / 415.5 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.124e-06/0.1167, allocations: 0 / 415.5 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.1167, allocations: 0 / 415.5 MB, free: 0.8945 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: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.00114/0.1178, allocations: 0.5145 MB / 416 MB, free: 340 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.661e-05/0.1179, allocations: 12.03 kB / 416 MB, free: 328 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.118, allocations: 66.53 kB / 416.1 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.419e-05/0.1181, allocations: 31.62 kB / 416.1 MB, free: 220 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004076/0.1185, allocations: 239.2 kB / 416.3 MB, free: 15.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.126e-05/0.1186, allocations: 20.55 kB / 416.3 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.1186, allocations: 20 kB / 416.4 MB, free: 15.9 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001021/0.1197, allocations: 397.2 kB / 416.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.203e-05/0.1197, allocations: 0 / 416.7 MB, free: 15.51 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.607e-05/0.1198, allocations: 23.92 kB / 416.8 MB, free: 15.48 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.837e-05/0.1198, allocations: 24.64 kB / 416.8 MB, free: 15.46 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00117/0.121, allocations: 414.3 kB / 417.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002104/0.1231, allocations: 0.8812 MB / 418.1 MB, free: 14.12 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001034/0.1242, allocations: 314.2 kB / 418.4 MB, free: 13.8 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003736/0.1246, allocations: 100.8 kB / 418.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.218e-05/0.1247, allocations: 4 kB / 418.5 MB, free: 13.7 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.1247, allocations: 42.48 kB / 418.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 4.899e-06/0.1247, allocations: 0 / 418.5 MB, free: 13.65 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001359/0.1261, allocations: 376.8 kB / 418.9 MB, free: 13.28 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/0.1261, allocations: 55.41 kB / 419 MB, free: 13.21 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005863/0.1267, allocations: 343.3 kB / 419.3 MB, free: 12.86 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.741e-05/0.1268, allocations: 33.7 kB / 419.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001531/0.127, allocations: 164.2 kB / 419.5 MB, free: 12.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.613e-05/0.1271, allocations: 59.19 kB / 419.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.115e-05/0.1271, allocations: 0 / 419.5 MB, free: 12.6 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.1273, allocations: 338.8 kB / 419.9 MB, free: 12.26 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003748/0.1276, allocations: 104.3 kB / 420 MB, free: 12.16 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004214/0.1281, allocations: 158.6 kB / 420.1 MB, free: 11.98 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004329/0.1285, allocations: 119.9 kB / 420.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.1285, allocations: 0 / 420.2 MB, free: 11.86 MB / 330.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001022/0.1296, allocations: 324.9 kB / 420.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.1296, allocations: 11.98 kB / 420.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/0.1296, allocations: 7.984 kB / 420.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.1297, allocations: 4 kB / 420.6 MB, free: 11.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009852/0.1307, allocations: 112 kB / 420.7 MB, free: 11.41 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002755/0.1334, allocations: 3.707 MB / 424.4 MB, free: 7.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003721/0.1338, allocations: 39.98 kB / 424.4 MB, free: 7.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.1339, allocations: 12 kB / 424.5 MB, free: 7.508 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 6 (m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].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 (21): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000301/0.1342, allocations: 182.7 kB / 424.6 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.279e-05/0.1343, allocations: 27.62 kB / 424.7 MB, free: 7.293 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.1355, allocations: 355.3 kB / 425 MB, free: 6.941 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.1355, allocations: 4 kB / 425 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.1355, allocations: 0 / 425 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.089e-06/0.1355, allocations: 0 / 425 MB, free: 6.938 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.1361, allocations: 313.3 kB / 425.3 MB, free: 6.582 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.994e-06/0.1361, allocations: 3.953 kB / 425.3 MB, free: 6.578 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009491/0.1371, allocations: 115.9 kB / 425.4 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.901e-06/0.1371, allocations: 0 / 425.4 MB, free: 6.465 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.858e-05/0.1372, allocations: 4 kB / 425.4 MB, free: 6.461 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002728/0.1399, allocations: 3.703 MB / 429.1 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.546e-06/0.14, allocations: 4.281 kB / 429.1 MB, free: 2.613 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009606/0.1409, allocations: 375.3 kB / 429.5 MB, free: 2.23 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001374/0.1411, allocations: 108.7 kB / 429.6 MB, free: 2.105 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.905e-05/0.1412, allocations: 4 kB / 429.6 MB, free: 2.102 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002878/0.1415, allocations: 15.98 kB / 429.6 MB, free: 2.086 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.708e-05/0.1416, allocations: 7.984 kB / 429.6 MB, free: 2.078 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.1416, allocations: 15.98 kB / 429.7 MB, free: 2.062 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004106/0.142, allocations: 249.9 kB / 429.9 MB, free: 1.82 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.1421, allocations: 3.938 kB / 429.9 MB, free: 1.816 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005338/0.1426, allocations: 67.94 kB / 430 MB, free: 1.75 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 (15): * 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): 6 * 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: 6 {1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001436/0.144, allocations: 0.9418 MB / 430.9 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001678/0.1457, allocations: 324 kB / 431.2 MB, free: 476 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1458, allocations: 0 / 431.2 MB, free: 476 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.1469, allocations: 203.8 kB / 431.4 MB, free: 272 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006493/0.1476, allocations: 61.86 kB / 431.5 MB, free: 212 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2783/0.426, allocations: 2.003 MB / 433.5 MB, free: 47.52 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003416/0.4264, allocations: 0.8155 MB / 434.3 MB, free: 46.82 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003179/0.4267, allocations: 61.86 kB / 434.4 MB, free: 46.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001716/0.4269, allocations: 76.98 kB / 434.4 MB, free: 46.81 MB / 330.7 MB Notification: Performance of SimCode: time 1.072e-06/0.4269, allocations: 2.344 kB / 434.4 MB, free: 46.81 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04586/0.4727, allocations: 7.776 MB / 442.2 MB, free: 46.24 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002779/0.4731, allocations: 276.8 kB / 442.5 MB, free: 45.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.075/3.548, allocations: 7.891 kB / 442.5 MB, free: 45.87 MB / 330.7 MB "" Variables in the reference:time,cp[1],cp[2],eta[1],eta[2],lambda[1],lambda[2],rho[1],rho[2],Nu[1],Nu[2],m_flow_1[1],m_flow_1[2],m_flow_2[1],m_flow_2[2],m_flow_3[1],m_flow_3[2],kc_1[1],kc_1[2],kc_2[1],kc_2[2],kc_3[1],kc_3[2],Re_1[1],Re_1[2],Re_2[1],Re_2[2],Re_3[1],Re_3[2],input_Nu.y Variables in the result:A_cross,Nu[1],Nu[2],Re_1[1],Re_1[2],Re_2[1],Re_2[2],Re_3[1],Re_3[2],cp[1],cp[2],eta[1],eta[2],input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc_1[1],kc_1[2],kc_2[1],kc_2[2],kc_3[1],kc_3[2],lambda[1],lambda[2],m_flow_1[1],m_flow_1[2],m_flow_2[1],m_flow_2[2],m_flow_3[1],m_flow_3[2],m_flow_IN_con_1[1].A_cross,m_flow_IN_con_1[1].exp_Pr,m_flow_IN_con_1[1].perimeter,m_flow_IN_con_1[1].target,m_flow_IN_con_1[2].A_cross,m_flow_IN_con_1[2].exp_Pr,m_flow_IN_con_1[2].perimeter,m_flow_IN_con_1[2].target,m_flow_IN_con_2[1].A_cross,m_flow_IN_con_2[1].exp_Pr,m_flow_IN_con_2[1].perimeter,m_flow_IN_con_2[1].target,m_flow_IN_con_2[2].A_cross,m_flow_IN_con_2[2].exp_Pr,m_flow_IN_con_2[2].perimeter,m_flow_IN_con_2[2].target,m_flow_IN_con_3[1].A_cross,m_flow_IN_con_3[1].exp_Pr,m_flow_IN_con_3[1].perimeter,m_flow_IN_con_3[1].target,m_flow_IN_con_3[2].A_cross,m_flow_IN_con_3[2].exp_Pr,m_flow_IN_con_3[2].perimeter,m_flow_IN_con_3[2].target,m_flow_IN_var_1[1].cp,m_flow_IN_var_1[1].eta,m_flow_IN_var_1[1].eta_wall,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].eta_wall,m_flow_IN_var_1[2].lambda,m_flow_IN_var_1[2].m_flow,m_flow_IN_var_1[2].rho,m_flow_IN_var_2[1].cp,m_flow_IN_var_2[1].eta,m_flow_IN_var_2[1].eta_wall,m_flow_IN_var_2[1].lambda,m_flow_IN_var_2[1].m_flow,m_flow_IN_var_2[1].rho,m_flow_IN_var_2[2].cp,m_flow_IN_var_2[2].eta,m_flow_IN_var_2[2].eta_wall,m_flow_IN_var_2[2].lambda,m_flow_IN_var_2[2].m_flow,m_flow_IN_var_2[2].rho,m_flow_IN_var_3[1].cp,m_flow_IN_var_3[1].eta,m_flow_IN_var_3[1].eta_wall,m_flow_IN_var_3[1].lambda,m_flow_IN_var_3[1].m_flow,m_flow_IN_var_3[1].rho,m_flow_IN_var_3[2].cp,m_flow_IN_var_3[2].eta,m_flow_IN_var_3[2].eta_wall,m_flow_IN_var_3[2].lambda,m_flow_IN_var_3[2].m_flow,m_flow_IN_var_3[2].rho,n,perimeter,rho[1],rho[2],time