Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_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.StraightPipe.kc_turbulent_KC,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent_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.01427/0.01428, allocations: 163.3 kB / 15.12 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.946/1.946, allocations: 170.8 MB / 186.6 MB, free: 1.109 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.002298/0.002298, allocations: 110.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.5966/0.5966, allocations: 38.05 MB / 303.7 MB, free: 42.42 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006945/0.0006949, allocations: 12 kB / 363 MB, free: 5.469 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1118, allocations: 48.72 MB / 411.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent_KC): time 0.002928/0.1148, allocations: 1.531 MB / 413.3 MB, free: 3.121 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001914/0.1167, allocations: 0.7448 MB / 414 MB, free: 2.375 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.475e-05/0.1169, allocations: 7.938 kB / 414 MB, free: 2.367 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002847/0.1172, allocations: 43.73 kB / 414.1 MB, free: 2.324 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000391/0.1176, allocations: 79.62 kB / 414.1 MB, free: 2.246 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.118, allocations: 59.88 kB / 414.2 MB, free: 2.188 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004588/0.1185, allocations: 306.6 kB / 414.5 MB, free: 1.887 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001102/0.1186, allocations: 40.3 kB / 414.5 MB, free: 1.848 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.1188, allocations: 83.52 kB / 414.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002775/0.1191, allocations: 127.5 kB / 414.7 MB, free: 1.641 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.346e-05/0.1191, allocations: 4 kB / 414.7 MB, free: 1.637 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003757/0.1195, allocations: 119.8 kB / 414.9 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001023/0.1196, allocations: 55.75 kB / 414.9 MB, free: 1.465 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.896e-05/0.1197, allocations: 61.58 kB / 415 MB, free: 1.398 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000369/0.1201, allocations: 191.5 kB / 415.2 MB, free: 1.211 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.1201, allocations: 0 / 415.2 MB, free: 1.211 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.314e-06/0.1201, allocations: 0 / 415.2 MB, free: 1.211 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1202, allocations: 4 kB / 415.2 MB, free: 1.207 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.00114/0.1213, allocations: 0.5141 MB / 415.7 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/0.1214, allocations: 8.031 kB / 415.7 MB, free: 0.6406 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001133/0.1215, allocations: 62.55 kB / 415.7 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.023e-05/0.1216, allocations: 23.72 kB / 415.8 MB, free: 0.5469 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003991/0.122, allocations: 250.5 kB / 416 MB, free: 268 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.768e-05/0.122, allocations: 12.56 kB / 416 MB, free: 252 kB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.645e-05/0.1221, allocations: 24 kB / 416 MB, free: 228 kB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00103/0.1232, allocations: 381.2 kB / 416.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.518e-05/0.1232, allocations: 0 / 416.4 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.277e-05/0.1232, allocations: 8 kB / 416.4 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.435e-05/0.1233, allocations: 28.64 kB / 416.5 MB, free: 15.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001076/0.1244, allocations: 394.1 kB / 416.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.1266, allocations: 0.8346 MB / 417.7 MB, free: 14.54 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008429/0.1275, allocations: 266.3 kB / 417.9 MB, free: 14.27 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000369/0.1279, allocations: 96.84 kB / 418 MB, free: 14.17 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.87e-05/0.128, allocations: 7.969 kB / 418 MB, free: 14.16 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.717e-05/0.128, allocations: 42.64 kB / 418.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=16): time 3.707e-06/0.128, allocations: 4 kB / 418.1 MB, free: 14.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=16): time 0.001327/0.1294, allocations: 336.8 kB / 418.4 MB, free: 13.78 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/0.1295, allocations: 59.41 kB / 418.5 MB, free: 13.71 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005935/0.1301, allocations: 338.8 kB / 418.8 MB, free: 13.36 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.543e-05/0.1301, allocations: 29.7 kB / 418.8 MB, free: 13.33 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001777/0.1303, allocations: 172 kB / 419 MB, free: 13.16 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.45e-05/0.1304, allocations: 55.2 kB / 419.1 MB, free: 13.1 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.502e-05/0.1304, allocations: 4 kB / 419.1 MB, free: 13.1 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001769/0.1306, allocations: 338.8 kB / 419.4 MB, free: 12.76 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.131, allocations: 108.4 kB / 419.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004639/0.1315, allocations: 196.6 kB / 419.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004538/0.132, allocations: 131.8 kB / 419.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.154e-06/0.132, allocations: 3.953 kB / 419.8 MB, free: 12.29 MB / 330.7 MB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001149/0.1331, allocations: 352.9 kB / 420.2 MB, free: 11.94 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.595e-05/0.1332, allocations: 5.875 kB / 420.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.18e-05/0.1332, allocations: 4 kB / 420.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.399e-05/0.1332, allocations: 4 kB / 420.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001059/0.1343, allocations: 123.9 kB / 420.3 MB, free: 11.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003012/0.1373, allocations: 3.657 MB / 424 MB, free: 8.008 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004427/0.1378, allocations: 51.84 kB / 424 MB, free: 7.957 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.486e-05/0.1379, allocations: 15.98 kB / 424 MB, free: 7.941 MB / 330.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: 6 (m_flow_IN_con_2[3].roughness,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[1].roughness,m_flow_IN_con_1[3].roughness,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[1].roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (28): * Single equations (assignments): 22 * 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.0003588/0.1383, allocations: 182.7 kB / 424.2 MB, free: 7.754 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.562e-05/0.1384, allocations: 27.7 kB / 424.2 MB, free: 7.727 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001188/0.1396, allocations: 339.6 kB / 424.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.1396, allocations: 0 / 424.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.1396, allocations: 0 / 424.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.119e-06/0.1396, allocations: 0 / 424.6 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006128/0.1402, allocations: 297.4 kB / 424.8 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.1403, allocations: 0 / 424.8 MB, free: 7.047 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009654/0.1412, allocations: 115.9 kB / 425 MB, free: 6.934 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.1413, allocations: 3.938 kB / 425 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.585e-05/0.1413, allocations: 11.98 kB / 425 MB, free: 6.918 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002872/0.1442, allocations: 3.649 MB / 428.6 MB, free: 3.129 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/0.1442, allocations: 0 / 428.6 MB, free: 3.129 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009962/0.1452, allocations: 371.3 kB / 429 MB, free: 2.754 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001505/0.1454, allocations: 100.7 kB / 429.1 MB, free: 2.637 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.651e-05/0.1455, allocations: 3.938 kB / 429.1 MB, free: 2.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002952/0.1458, allocations: 15.98 kB / 429.1 MB, free: 2.617 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.1459, allocations: 11.98 kB / 429.1 MB, free: 2.605 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.146, allocations: 11.98 kB / 429.1 MB, free: 2.594 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004063/0.1464, allocations: 241.9 kB / 429.4 MB, free: 2.359 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1464, allocations: 0 / 429.4 MB, free: 2.359 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006098/0.147, allocations: 79.92 kB / 429.4 MB, free: 2.281 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 (16): * Single equations (assignments): 10 * 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.001617/0.1486, allocations: 0.9228 MB / 430.4 MB, free: 1.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001691/0.1504, allocations: 319.6 kB / 430.7 MB, free: 1.016 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.1504, allocations: 4 kB / 430.7 MB, free: 1.012 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001101/0.1515, allocations: 196.5 kB / 430.9 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007566/0.1523, allocations: 64.77 kB / 430.9 MB, free: 0.75 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2828/0.4351, allocations: 1.929 MB / 432.9 MB, free: 47.49 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004623/0.4356, allocations: 0.7965 MB / 433.7 MB, free: 46.79 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005469/0.4362, allocations: 82.52 kB / 433.7 MB, free: 46.79 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002343/0.4365, allocations: 73.62 kB / 433.8 MB, free: 46.79 MB / 330.7 MB Notification: Performance of SimCode: time 1.262e-06/0.4365, allocations: 0 / 433.8 MB, free: 46.79 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07962/0.5161, allocations: 7.772 MB / 441.6 MB, free: 46.23 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/0.5164, allocations: 259.4 kB / 441.8 MB, free: 45.88 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.912/3.429, allocations: 4 kB / 441.8 MB, free: 45.88 MB / 330.7 MB "" Variables in the reference: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],kc[1],kc[2],kc[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],input_Nu.y Variables in the result:L,Nu[1],Nu[2],Nu[3],Re_1[1],Re_1[2],Re_1[3],Re_2[1],Re_2[2],Re_2[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],input_Nu.duration,input_Nu.height,input_Nu.offset,input_Nu.startTime,input_Nu.y,kc[1],kc[2],kc[3],lambda[1],lambda[2],lambda[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_IN_con_1[1].K,m_flow_IN_con_1[1].L,m_flow_IN_con_1[1].d_hyd,m_flow_IN_con_1[1].roughness,m_flow_IN_con_1[2].K,m_flow_IN_con_1[2].L,m_flow_IN_con_1[2].d_hyd,m_flow_IN_con_1[2].roughness,m_flow_IN_con_1[3].K,m_flow_IN_con_1[3].L,m_flow_IN_con_1[3].d_hyd,m_flow_IN_con_1[3].roughness,m_flow_IN_con_2[1].K,m_flow_IN_con_2[1].L,m_flow_IN_con_2[1].d_hyd,m_flow_IN_con_2[1].roughness,m_flow_IN_con_2[2].K,m_flow_IN_con_2[2].L,m_flow_IN_con_2[2].d_hyd,m_flow_IN_con_2[2].roughness,m_flow_IN_con_2[3].K,m_flow_IN_con_2[3].L,m_flow_IN_con_2[3].d_hyd,m_flow_IN_con_2[3].roughness,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,m_flow_IN_var_1[3].cp,m_flow_IN_var_1[3].eta,m_flow_IN_var_1[3].lambda,m_flow_IN_var_1[3].m_flow,m_flow_IN_var_1[3].rho,m_flow_IN_var_2[1].cp,m_flow_IN_var_2[1].eta,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].lambda,m_flow_IN_var_2[2].m_flow,m_flow_IN_var_2[2].rho,m_flow_IN_var_2[3].cp,m_flow_IN_var_2[3].eta,m_flow_IN_var_2[3].lambda,m_flow_IN_var_2[3].m_flow,m_flow_IN_var_2[3].rho,n,rho[1],rho[2],rho[3],time