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_overall_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_overall_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_StraightPipe_dp_overall_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.009482/0.009487, allocations: 157.4 kB / 15.12 MB, free: 6.043 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.806/1.806, allocations: 170.8 MB / 186.7 MB, free: 1.113 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.001737/0.001737, allocations: 110.7 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.4426/0.4426, allocations: 38.06 MB / 303.7 MB, free: 42.46 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004628/0.000463, allocations: 8 kB / 363 MB, free: 5.465 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1096/0.1101, allocations: 48.7 MB / 411.7 MB, free: 4.684 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.StraightPipe.dp_overall_DPMFLOW): time 0.003528/0.1137, allocations: 1.492 MB / 413.2 MB, free: 3.176 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.007524/0.1212, allocations: 2.62 MB / 415.8 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000138/0.1214, allocations: 0 / 415.8 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003083/0.1218, allocations: 43.77 kB / 415.9 MB, free: 0.5078 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004321/0.1222, allocations: 67.7 kB / 415.9 MB, free: 452 kB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002992/0.1252, allocations: 0.6192 MB / 416.6 MB, free: 15.82 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005686/0.1258, allocations: 270.7 kB / 416.8 MB, free: 15.55 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.126, allocations: 36.31 kB / 416.9 MB, free: 15.52 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000254/0.1262, allocations: 83.53 kB / 416.9 MB, free: 15.44 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003211/0.1266, allocations: 127.4 kB / 417.1 MB, free: 15.31 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.311e-05/0.1266, allocations: 8 kB / 417.1 MB, free: 15.3 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003676/0.1303, allocations: 1.134 MB / 418.2 MB, free: 14.17 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.1305, allocations: 67.69 kB / 418.3 MB, free: 14.1 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001342/0.1307, allocations: 61.58 kB / 418.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001874/0.1326, allocations: 0.5185 MB / 418.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1326, allocations: 0 / 418.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.424e-06/0.1326, allocations: 0 / 418.9 MB, free: 13.52 MB / 330.7 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.1327, allocations: 0 / 418.9 MB, free: 13.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.001875/0.1346, allocations: 0.6315 MB / 419.5 MB, free: 12.84 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.319e-05/0.1346, allocations: 12.02 kB / 419.5 MB, free: 12.82 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001676/0.1348, allocations: 74.53 kB / 419.6 MB, free: 12.74 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001251/0.135, allocations: 31.58 kB / 419.6 MB, free: 12.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005514/0.1355, allocations: 234.7 kB / 419.8 MB, free: 12.44 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.826e-05/0.1356, allocations: 20.55 kB / 419.8 MB, free: 12.42 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001122/0.1357, allocations: 24 kB / 419.9 MB, free: 12.39 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001729/0.1375, allocations: 479.2 kB / 420.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.6e-05/0.1376, allocations: 3.984 kB / 420.3 MB, free: 11.92 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.514e-05/0.1376, allocations: 11.98 kB / 420.4 MB, free: 11.91 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001415/0.1378, allocations: 48.92 kB / 420.4 MB, free: 11.86 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002074/0.1399, allocations: 0.5582 MB / 421 MB, free: 11.3 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004011/0.1439, allocations: 1.315 MB / 422.3 MB, free: 9.867 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001183/0.1452, allocations: 279.8 kB / 422.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004821/0.1457, allocations: 96.8 kB / 422.6 MB, free: 9.488 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.877e-05/0.1458, allocations: 7.984 kB / 422.7 MB, free: 9.48 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.39e-05/0.1458, allocations: 42.5 kB / 422.7 MB, free: 9.43 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 3.707e-06/0.1459, allocations: 4 kB / 422.7 MB, free: 9.426 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.001693/0.1476, allocations: 333.3 kB / 423 MB, free: 9.094 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/0.1477, allocations: 63.34 kB / 423.1 MB, free: 9.02 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1479, allocations: 149.7 kB / 423.2 MB, free: 8.863 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.236e-05/0.148, allocations: 29.7 kB / 423.3 MB, free: 8.828 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001911/0.1482, allocations: 196.1 kB / 423.5 MB, free: 8.633 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001416/0.1483, allocations: 86.75 kB / 423.5 MB, free: 8.547 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.285e-05/0.1484, allocations: 4 kB / 423.5 MB, free: 8.543 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001868/0.1486, allocations: 330.8 kB / 423.9 MB, free: 8.211 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004958/0.1491, allocations: 99.78 kB / 424 MB, free: 8.113 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/0.1497, allocations: 174.2 kB / 424.1 MB, free: 7.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005855/0.1503, allocations: 123.9 kB / 424.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.1504, allocations: 0 / 424.3 MB, free: 7.785 MB / 330.7 MB Notification: Performance of matching and sorting (n=36) (initialization): time 0.001463/0.1518, allocations: 329.1 kB / 424.6 MB, free: 7.457 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.1519, allocations: 8 kB / 424.6 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.139e-05/0.1519, allocations: 0 / 424.6 MB, free: 7.449 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.111e-05/0.152, allocations: 12 kB / 424.6 MB, free: 7.438 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00123/0.1532, allocations: 119.9 kB / 424.7 MB, free: 7.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002104/0.1553, allocations: 2.364 MB / 427.1 MB, free: 4.863 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000452/0.1558, allocations: 43.67 kB / 427.1 MB, free: 4.82 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.926e-05/0.1559, allocations: 12 kB / 427.1 MB, free: 4.809 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.0003887/0.1563, allocations: 171.8 kB / 427.3 MB, free: 4.633 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.521e-05/0.1564, allocations: 15.81 kB / 427.3 MB, free: 4.617 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00182/0.1582, allocations: 378.3 kB / 427.7 MB, free: 4.234 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.648e-06/0.1583, allocations: 3.984 kB / 427.7 MB, free: 4.23 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/0.1583, allocations: 7.953 kB / 427.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.1583, allocations: 0 / 427.7 MB, free: 4.223 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007958/0.1591, allocations: 341.3 kB / 428 MB, free: 3.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.741e-06/0.1592, allocations: 4 kB / 428 MB, free: 3.836 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001155/0.1603, allocations: 103.9 kB / 428.1 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.918e-06/0.1604, allocations: 0 / 428.1 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.398e-05/0.1604, allocations: 12 kB / 428.1 MB, free: 3.723 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002173/0.1626, allocations: 2.36 MB / 430.5 MB, free: 1.27 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.244e-06/0.1627, allocations: 3.984 kB / 430.5 MB, free: 1.266 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001413/0.1641, allocations: 391.2 kB / 430.9 MB, free: 0.8672 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.92e-05/0.1642, allocations: 88.95 kB / 431 MB, free: 0.7617 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.183e-05/0.1643, allocations: 15.89 kB / 431 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.1646, allocations: 19.98 kB / 431 MB, free: 0.7266 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.1647, allocations: 19.97 kB / 431 MB, free: 0.707 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-05/0.1648, allocations: 8 kB / 431 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001211/0.1649, allocations: 99.27 kB / 431.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.1649, allocations: 0 / 431.1 MB, free: 0.6016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001388/0.1663, allocations: 243.4 kB / 431.4 MB, free: 372 kB / 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.3391/0.5054, allocations: 1.133 MB / 432.5 MB, free: 46.91 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.5072, allocations: 308.7 kB / 432.8 MB, free: 46.91 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.709e-06/0.5073, allocations: 0 / 432.8 MB, free: 46.91 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001073/0.5084, allocations: 185 kB / 433 MB, free: 46.91 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006313/0.509, allocations: 20.67 kB / 433 MB, free: 46.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003861/0.5129, allocations: 1.517 MB / 434.5 MB, free: 46.27 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.5133, allocations: 0.8083 MB / 435.3 MB, free: 45.57 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005729/0.5139, allocations: 96.09 kB / 435.4 MB, free: 45.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002252/0.5141, allocations: 91.11 kB / 435.5 MB, free: 45.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.182e-06/0.5141, allocations: 0 / 435.5 MB, free: 45.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07301/0.5872, allocations: 8.225 MB / 443.7 MB, free: 44.86 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000282/0.5875, allocations: 264.5 kB / 444 MB, free: 44.51 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.001/3.589, allocations: 0 / 444 MB, free: 44.51 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]