Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_StraightPipe_kc_turbulent",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.00965/0.009654, allocations: 176.3 kB / 15.13 MB, free: 5.949 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 2.126/2.126, allocations: 194.5 MB / 210.3 MB, free: 7.605 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001753/0.001754, allocations: 112.1 kB / 255.6 MB, free: 10.22 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2713/0.2713, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004773/0.0004776, allocations: 14.09 kB / 406.3 MB, free: 51.73 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1007/0.1012, allocations: 54.87 MB / 461.2 MB, free: 3.168 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.StraightPipe.kc_turbulent): time 0.002463/0.1038, allocations: 1.672 MB / 462.8 MB, free: 1.477 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1059, allocations: 1.011 MB / 463.9 MB, free: 472 kB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001392/0.1061, allocations: 3.938 kB / 463.9 MB, free: 468 kB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002934/0.1064, allocations: 47.73 kB / 463.9 MB, free: 420 kB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002402/0.1066, allocations: 67.58 kB / 464 MB, free: 352 kB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007027/0.1073, allocations: 126.9 kB / 464.1 MB, free: 228 kB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005551/0.1079, allocations: 354.4 kB / 464.4 MB, free: 15.88 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.108, allocations: 32.73 kB / 464.5 MB, free: 15.84 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002531/0.1083, allocations: 103.5 kB / 464.6 MB, free: 15.74 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000307/0.1086, allocations: 147.4 kB / 464.7 MB, free: 15.6 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.1087, allocations: 8 kB / 464.7 MB, free: 15.59 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006091/0.1093, allocations: 187.6 kB / 464.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001177/0.1094, allocations: 63.73 kB / 465 MB, free: 15.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001163/0.1096, allocations: 69.52 kB / 465 MB, free: 15.27 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005092/0.1101, allocations: 235.4 kB / 465.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.466e-06/0.1101, allocations: 4 kB / 465.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.1101, allocations: 0 / 465.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.1102, allocations: 4 kB / 465.3 MB, free: 15.03 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: 74 * Number of variables: 74 Notification: Performance of Generate backend data structure: time 0.001649/0.1118, allocations: 0.5924 MB / 465.9 MB, free: 14.39 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.448e-05/0.1119, allocations: 12.03 kB / 465.9 MB, free: 14.38 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.112, allocations: 70.53 kB / 465.9 MB, free: 14.3 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.654e-05/0.1121, allocations: 31.62 kB / 466 MB, free: 14.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004516/0.1126, allocations: 254.5 kB / 466.2 MB, free: 13.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.072e-05/0.1126, allocations: 16.56 kB / 466.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.552e-05/0.1127, allocations: 28 kB / 466.3 MB, free: 13.94 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00125/0.114, allocations: 445.8 kB / 466.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.674e-05/0.114, allocations: 0 / 466.7 MB, free: 13.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.879e-05/0.1141, allocations: 15.95 kB / 466.7 MB, free: 13.46 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.683e-05/0.1141, allocations: 16.56 kB / 466.7 MB, free: 13.45 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001279/0.1154, allocations: 353.8 kB / 467.1 MB, free: 13.1 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002435/0.1179, allocations: 1.092 MB / 468.2 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008817/0.1188, allocations: 255.7 kB / 468.4 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005264/0.1194, allocations: 122.5 kB / 468.5 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.836e-05/0.1195, allocations: 4 kB / 468.6 MB, free: 11.54 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.299e-05/0.1195, allocations: 38.5 kB / 468.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=14): time 3.797e-06/0.1196, allocations: 0 / 468.6 MB, free: 11.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=14): time 0.001857/0.1214, allocations: 397.1 kB / 469 MB, free: 11.1 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.996e-05/0.1215, allocations: 102.8 kB / 469.1 MB, free: 10.97 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007281/0.1223, allocations: 401.5 kB / 469.5 MB, free: 10.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.884e-05/0.1224, allocations: 25.77 kB / 469.5 MB, free: 10.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.1226, allocations: 203.7 kB / 469.7 MB, free: 10.34 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.874e-05/0.1227, allocations: 51.28 kB / 469.7 MB, free: 10.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.692e-05/0.1227, allocations: 4 kB / 469.7 MB, free: 10.28 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.1229, allocations: 338.8 kB / 470.1 MB, free: 9.941 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005888/0.1235, allocations: 132.1 kB / 470.2 MB, free: 9.812 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006723/0.1242, allocations: 239.8 kB / 470.4 MB, free: 9.523 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006677/0.1249, allocations: 171.8 kB / 470.6 MB, free: 9.355 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.701e-06/0.1249, allocations: 0 / 470.6 MB, free: 9.355 MB / 314.7 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.001612/0.1265, allocations: 424.8 kB / 471 MB, free: 8.934 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.156e-05/0.1266, allocations: 8.188 kB / 471 MB, free: 8.926 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.281e-05/0.1267, allocations: 27.98 kB / 471.1 MB, free: 8.898 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/0.1267, allocations: 7.938 kB / 471.1 MB, free: 8.891 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004702/0.1272, allocations: 60.27 kB / 471.1 MB, free: 8.832 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.1273, allocations: 11.92 kB / 471.1 MB, free: 8.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005368/0.1278, allocations: 59.52 kB / 471.2 MB, free: 8.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-05/0.1279, allocations: 16 kB / 471.2 MB, free: 8.746 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003222/0.1282, allocations: 177.7 kB / 471.4 MB, free: 8.562 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.1283, allocations: 31.62 kB / 471.4 MB, free: 8.531 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001083/0.1294, allocations: 299.9 kB / 471.7 MB, free: 8.23 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.1295, allocations: 4 kB / 471.7 MB, free: 8.227 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.819e-06/0.1295, allocations: 3.953 kB / 471.7 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.1295, allocations: 3.984 kB / 471.7 MB, free: 8.219 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007268/0.1302, allocations: 297.4 kB / 472 MB, free: 7.879 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.866e-05/0.1303, allocations: 23.98 kB / 472 MB, free: 7.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.1306, allocations: 27.97 kB / 472.1 MB, free: 7.828 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.001e-05/0.1307, allocations: 8 kB / 472.1 MB, free: 7.82 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.1307, allocations: 8 kB / 472.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.1307, allocations: 0 / 472.1 MB, free: 7.812 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1307, allocations: 4 kB / 472.1 MB, free: 7.809 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001363/0.1321, allocations: 0.5331 MB / 472.6 MB, free: 7.258 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001809/0.1323, allocations: 116.7 kB / 472.7 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.638e-05/0.1324, allocations: 0 / 472.7 MB, free: 7.125 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004592/0.1329, allocations: 23.97 kB / 472.8 MB, free: 7.102 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.133, allocations: 15.98 kB / 472.8 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.676e-05/0.1331, allocations: 11.95 kB / 472.8 MB, free: 7.074 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000514/0.1336, allocations: 287.1 kB / 473.1 MB, free: 6.797 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.1336, allocations: 4 kB / 473.1 MB, free: 6.793 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0007557/0.1344, allocations: 91.91 kB / 473.2 MB, free: 6.703 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002016/0.1364, allocations: 1.128 MB / 474.3 MB, free: 5.547 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001486/0.1379, allocations: 454.8 kB / 474.7 MB, free: 5.066 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.138, allocations: 0 / 474.7 MB, free: 5.066 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007233/0.1387, allocations: 290.1 kB / 475 MB, free: 4.746 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.1397, allocations: 61.39 kB / 475.1 MB, free: 4.688 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006197/0.146, allocations: 2.194 MB / 477.3 MB, free: 2.379 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005493/0.1466, allocations: 0.8028 MB / 478.1 MB, free: 1.551 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0003599/0.147, allocations: 70.84 kB / 478.1 MB, free: 1.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001941/0.1472, allocations: 83.41 kB / 478.2 MB, free: 1.398 MB / 314.7 MB Notification: Performance of SimCode: time 1.122e-06/0.1472, allocations: 0 / 478.2 MB, free: 1.398 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03947/0.1867, allocations: 8.279 MB / 486.5 MB, free: 9.227 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003342/0.1871, allocations: 226.8 kB / 486.7 MB, free: 8.988 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.854/3.041, allocations: 0 / 486.7 MB, free: 8.988 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],m_flow[1],m_flow[2],m_flow[3],Re_1[1],Re_1[2],Re_1[3],Nu_1[1],Nu_1[2],Nu_1[3],Nu_2[1],Nu_2[2],Nu_2[3],Re,Pr[1],Pr[2],Pr[3],input_mflow_0.y,input_mflow_1.y,input_mflow_2.y Variables in the result:L,Nu_1[1],Nu_1[2],Nu_1[3],Nu_2[1],Nu_2[2],Nu_2[3],Pr[1],Pr[2],Pr[3],Re,Re_1[1],Re_1[2],Re_1[3],cp[1],cp[2],cp[3],d_hyd,eta[1],eta[2],eta[3],frac_dtoL,input_mflow_0.duration,input_mflow_0.height,input_mflow_0.offset,input_mflow_0.startTime,input_mflow_0.y,input_mflow_1.amplitude,input_mflow_1.freqHz,input_mflow_1.offset,input_mflow_1.phase,input_mflow_1.startTime,input_mflow_1.y,input_mflow_2.fallTimeConst,input_mflow_2.offset,input_mflow_2.outMax,input_mflow_2.riseTime,input_mflow_2.riseTimeConst,input_mflow_2.startTime,input_mflow_2.y,input_mflow_2.y_riseTime,lambda[1],lambda[2],lambda[3],m_flow[1],m_flow[2],m_flow[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