Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW.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.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_turbulent_DPMFLOW",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.01045/0.01045, allocations: 162.5 kB / 15.11 MB, free: 5.965 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.891/1.891, allocations: 170.8 MB / 186.7 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.001729/0.001729, allocations: 114.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.5115/0.5115, allocations: 38.06 MB / 303.7 MB, free: 42.59 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006983/0.0006985, allocations: 19.98 kB / 363 MB, free: 5.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1152, allocations: 48.7 MB / 411.7 MB, free: 4.668 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_turbulent_DPMFLOW): time 0.00272/0.1179, allocations: 1.484 MB / 413.2 MB, free: 3.168 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.003437/0.1214, allocations: 1.518 MB / 414.7 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001258/0.1216, allocations: 0 / 414.7 MB, free: 1.648 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002697/0.1219, allocations: 39.8 kB / 414.8 MB, free: 1.609 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003561/0.1222, allocations: 71.66 kB / 414.8 MB, free: 1.539 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001219/0.1235, allocations: 363 kB / 415.2 MB, free: 1.184 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003931/0.1239, allocations: 258.8 kB / 415.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.812e-05/0.124, allocations: 36.3 kB / 415.5 MB, free: 0.8945 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001924/0.1242, allocations: 91.52 kB / 415.6 MB, free: 0.8047 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002378/0.1245, allocations: 119.5 kB / 415.7 MB, free: 0.6875 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 3.444e-05/0.1245, allocations: 8 kB / 415.7 MB, free: 0.6797 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001583/0.1261, allocations: 0.6665 MB / 416.4 MB, free: 12 kB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001344/0.1263, allocations: 59.75 kB / 416.4 MB, free: 15.95 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1264, allocations: 69.52 kB / 416.5 MB, free: 15.88 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000859/0.1273, allocations: 359.2 kB / 416.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.801e-06/0.1273, allocations: 0 / 416.8 MB, free: 15.53 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.1273, allocations: 4 kB / 416.8 MB, free: 15.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.083e-06/0.1273, allocations: 0 / 416.8 MB, free: 15.52 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001227/0.1286, allocations: 0.577 MB / 417.4 MB, free: 14.9 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.1286, allocations: 8.031 kB / 417.4 MB, free: 14.89 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001354/0.1288, allocations: 74.53 kB / 417.5 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.369e-05/0.1289, allocations: 31.58 kB / 417.5 MB, free: 14.78 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003813/0.1293, allocations: 238.6 kB / 417.8 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.567e-05/0.1293, allocations: 28.55 kB / 417.8 MB, free: 14.47 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.448e-05/0.1294, allocations: 24 kB / 417.8 MB, free: 14.45 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001157/0.1306, allocations: 463.3 kB / 418.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.1306, allocations: 0 / 418.3 MB, free: 13.99 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.143e-05/0.1307, allocations: 15.98 kB / 418.3 MB, free: 13.98 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.882e-05/0.1308, allocations: 52.97 kB / 418.3 MB, free: 13.93 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001558/0.1323, allocations: 0.5582 MB / 418.9 MB, free: 13.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003039/0.1354, allocations: 1.315 MB / 420.2 MB, free: 11.93 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008787/0.1363, allocations: 287.6 kB / 420.5 MB, free: 11.64 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000348/0.1367, allocations: 104.8 kB / 420.6 MB, free: 11.54 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.971e-05/0.1368, allocations: 8 kB / 420.6 MB, free: 11.53 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.505e-05/0.1368, allocations: 34.56 kB / 420.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 2.355e-06/0.1368, allocations: 0 / 420.6 MB, free: 11.49 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001229/0.1381, allocations: 345.3 kB / 421 MB, free: 11.14 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.462e-05/0.1381, allocations: 55.41 kB / 421 MB, free: 11.08 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001692/0.1383, allocations: 137.7 kB / 421.2 MB, free: 10.93 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.999e-05/0.1384, allocations: 37.64 kB / 421.2 MB, free: 10.89 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.1385, allocations: 196.2 kB / 421.4 MB, free: 10.7 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.986e-05/0.1387, allocations: 82.75 kB / 421.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-05/0.1387, allocations: 8 kB / 421.5 MB, free: 10.61 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1389, allocations: 326.8 kB / 421.8 MB, free: 10.28 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003506/0.1392, allocations: 95.78 kB / 421.9 MB, free: 10.18 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004182/0.1397, allocations: 178.2 kB / 422.1 MB, free: 9.973 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004083/0.1401, allocations: 119.8 kB / 422.2 MB, free: 9.855 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.084e-06/0.1401, allocations: 4 kB / 422.2 MB, free: 9.852 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001041/0.1411, allocations: 329 kB / 422.5 MB, free: 9.523 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.1412, allocations: 11.98 kB / 422.5 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.157e-06/0.1412, allocations: 0 / 422.5 MB, free: 9.512 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.071e-05/0.1412, allocations: 4 kB / 422.5 MB, free: 9.508 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008936/0.1421, allocations: 124.2 kB / 422.6 MB, free: 9.387 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001833/0.144, allocations: 2.364 MB / 425 MB, free: 6.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003406/0.1444, allocations: 35.67 kB / 425 MB, free: 6.895 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.706e-05/0.1445, allocations: 20 kB / 425.1 MB, free: 6.875 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 1 (roughness) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003288/0.1448, allocations: 171.8 kB / 425.2 MB, free: 6.699 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.07e-05/0.1449, allocations: 19.97 kB / 425.2 MB, free: 6.68 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001352/0.1462, allocations: 370.2 kB / 425.6 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.023e-06/0.1463, allocations: 0 / 425.6 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1463, allocations: 0 / 425.6 MB, free: 6.305 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.1463, allocations: 15.94 kB / 425.6 MB, free: 6.289 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006181/0.1469, allocations: 337.3 kB / 426 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.1469, allocations: 0 / 426 MB, free: 5.91 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008172/0.1478, allocations: 115.8 kB / 426.1 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.732e-06/0.1478, allocations: 0 / 426.1 MB, free: 5.797 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.1478, allocations: 8 kB / 426.1 MB, free: 5.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001639/0.1495, allocations: 2.372 MB / 428.4 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1495, allocations: 0 / 428.4 MB, free: 3.324 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009643/0.1505, allocations: 382.9 kB / 428.8 MB, free: 2.934 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.59e-05/0.1506, allocations: 89.05 kB / 428.9 MB, free: 2.828 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.1507, allocations: 12 kB / 428.9 MB, free: 2.816 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002607/0.1509, allocations: 15.94 kB / 428.9 MB, free: 2.801 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.151, allocations: 23.97 kB / 429 MB, free: 2.777 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.702e-05/0.1511, allocations: 12 kB / 429 MB, free: 2.766 MB / 330.7 MB Notification: Performance of sorting global known variables: time 9.538e-05/0.1512, allocations: 99.25 kB / 429.1 MB, free: 2.668 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.5e-07/0.1512, allocations: 0 / 429.1 MB, free: 2.668 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007584/0.152, allocations: 171.5 kB / 429.2 MB, free: 2.5 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 (29): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 4 * 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: 4 {1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001742/0.1537, allocations: 1.029 MB / 430.3 MB, free: 1.445 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001284/0.155, allocations: 311.7 kB / 430.6 MB, free: 1.141 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1551, allocations: 0 / 430.6 MB, free: 1.141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007938/0.1559, allocations: 184.4 kB / 430.7 MB, free: 0.9609 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004158/0.1563, allocations: 15.95 kB / 430.8 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2728/0.4291, allocations: 1.478 MB / 432.2 MB, free: 47.21 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003538/0.4295, allocations: 0.8099 MB / 433 MB, free: 46.52 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005725/0.4301, allocations: 92.52 kB / 433.1 MB, free: 46.52 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002106/0.4303, allocations: 91.09 kB / 433.2 MB, free: 46.51 MB / 330.7 MB Notification: Performance of SimCode: time 8.01e-07/0.4304, allocations: 1.219 kB / 433.2 MB, free: 46.51 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04124/0.4716, allocations: 6.552 MB / 439.8 MB, free: 46.01 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000237/0.4719, allocations: 267.8 kB / 440 MB, free: 45.66 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.868/3.34, allocations: 3.938 kB / 440 MB, free: 45.65 MB / 330.7 MB "" Variables in the reference:time,MIN,A_cross,roughness,d_hyd,K[1],K[2],K[3],K[4],L,eta,rho,input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],input_dp[1],input_dp[2],input_dp[3],input_dp[4],M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],DP[1],DP[2],DP[3],DP[4],velocity[1],velocity[2],velocity[3],velocity[4],Re[1],Re[2],Re[3],Re[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4],lambda_FRI[1],lambda_FRI[2],lambda_FRI[3],lambda_FRI[4],input_DP.y Variables in the result:A_cross,DP[1],DP[2],DP[3],DP[4],DP_plot[1],DP_plot[2],DP_plot[3],DP_plot[4],K[1],K[2],K[3],K[4],L,MIN,M_FLOW[1],M_FLOW[2],M_FLOW[3],M_FLOW[4],Re[1],Re[2],Re[3],Re[4],d_hyd,dp_IN_con[1].K,dp_IN_con[1].L,dp_IN_con[1].d_hyd,dp_IN_con[1].roughness,dp_IN_con[2].K,dp_IN_con[2].L,dp_IN_con[2].d_hyd,dp_IN_con[2].roughness,dp_IN_con[3].K,dp_IN_con[3].L,dp_IN_con[3].d_hyd,dp_IN_con[3].roughness,dp_IN_con[4].K,dp_IN_con[4].L,dp_IN_con[4].d_hyd,dp_IN_con[4].roughness,dp_IN_var[1].eta,dp_IN_var[1].rho,dp_IN_var[2].eta,dp_IN_var[2].rho,dp_IN_var[3].eta,dp_IN_var[3].rho,dp_IN_var[4].eta,dp_IN_var[4].rho,eta,input_DP.duration,input_DP.height,input_DP.offset,input_DP.startTime,input_DP.y,input_dp[1],input_dp[2],input_dp[3],input_dp[4],input_mdot[1],input_mdot[2],input_mdot[3],input_mdot[4],lambda_FRI[1],lambda_FRI[2],lambda_FRI[3],lambda_FRI[4],m_flow_IN_con[1].K,m_flow_IN_con[1].L,m_flow_IN_con[1].d_hyd,m_flow_IN_con[1].roughness,m_flow_IN_con[2].K,m_flow_IN_con[2].L,m_flow_IN_con[2].d_hyd,m_flow_IN_con[2].roughness,m_flow_IN_con[3].K,m_flow_IN_con[3].L,m_flow_IN_con[3].d_hyd,m_flow_IN_con[3].roughness,m_flow_IN_con[4].K,m_flow_IN_con[4].L,m_flow_IN_con[4].d_hyd,m_flow_IN_con[4].roughness,m_flow_IN_var[1].eta,m_flow_IN_var[1].rho,m_flow_IN_var[2].eta,m_flow_IN_var[2].rho,m_flow_IN_var[3].eta,m_flow_IN_var[3].rho,m_flow_IN_var[4].eta,m_flow_IN_var[4].rho,n,rho,roughness,time,velocity[1],velocity[2],velocity[3],velocity[4],zeta_TOT[1],zeta_TOT[2],zeta_TOT[3],zeta_TOT[4]