Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_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.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_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.01009/0.01009, 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.77/1.77, 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.001749/0.001749, allocations: 102 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.4473/0.4473, allocations: 38.04 MB / 303.7 MB, free: 42.45 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004776, allocations: 19.98 kB / 363 MB, free: 5.441 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1399, allocations: 48.7 MB / 411.7 MB, free: 4.656 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.002818/0.1428, allocations: 1.558 MB / 413.3 MB, free: 3.082 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002355/0.1452, allocations: 1.033 MB / 414.3 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.364e-05/0.1453, allocations: 0 / 414.3 MB, free: 2.047 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003427/0.1457, allocations: 55.73 kB / 414.4 MB, free: 1.992 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003117/0.146, allocations: 71.52 kB / 414.4 MB, free: 1.922 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005291/0.1466, allocations: 123.6 kB / 414.6 MB, free: 1.801 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004152/0.147, allocations: 286.4 kB / 414.8 MB, free: 1.52 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001087/0.1471, allocations: 40.72 kB / 414.9 MB, free: 1.48 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001945/0.1473, allocations: 91.45 kB / 415 MB, free: 1.391 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002416/0.1476, allocations: 115.4 kB / 415.1 MB, free: 1.277 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.982e-05/0.1476, allocations: 8 kB / 415.1 MB, free: 1.27 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007489/0.1484, allocations: 295.5 kB / 415.4 MB, free: 0.9805 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 8.018e-05/0.1485, allocations: 51.7 kB / 415.4 MB, free: 0.9297 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 9.116e-05/0.1486, allocations: 69.52 kB / 415.5 MB, free: 0.8555 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0005149/0.1491, allocations: 263.7 kB / 415.8 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.1491, allocations: 7.938 kB / 415.8 MB, free: 0.5898 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1491, allocations: 4 kB / 415.8 MB, free: 0.5859 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.1492, allocations: 0 / 415.8 MB, free: 0.5859 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: 95 * Number of variables: 95 Notification: Performance of Generate backend data structure: time 0.0009587/0.1501, allocations: 0.5228 MB / 416.3 MB, free: 16 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.557e-05/0.1502, allocations: 15.97 kB / 416.3 MB, free: 0 / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.1503, allocations: 74.52 kB / 416.4 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.534e-05/0.1504, allocations: 35.58 kB / 416.4 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003961/0.1509, allocations: 242.6 kB / 416.7 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.1509, allocations: 24.98 kB / 416.7 MB, free: 15.58 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.273e-05/0.151, allocations: 32 kB / 416.7 MB, free: 15.55 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00119/0.1522, allocations: 497.4 kB / 417.2 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.085e-05/0.1522, allocations: 7.938 kB / 417.2 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.005e-05/0.1523, allocations: 8 kB / 417.2 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.216e-05/0.1524, allocations: 36.98 kB / 417.2 MB, free: 15 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001101/0.1535, allocations: 423.7 kB / 417.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002356/0.1559, allocations: 1.185 MB / 418.8 MB, free: 13.3 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003148/0.1562, allocations: 82.53 kB / 418.9 MB, free: 13.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002108/0.1564, allocations: 52.77 kB / 419 MB, free: 13.16 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.61e-05/0.1565, allocations: 4 kB / 419 MB, free: 13.15 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.922e-05/0.1565, allocations: 30.56 kB / 419 MB, free: 13.11 MB / 330.7 MB Notification: Performance of pre-optimization done (n=7): time 2.555e-06/0.1566, allocations: 0 / 419 MB, free: 13.11 MB / 330.7 MB Notification: Performance of matching and sorting (n=7): time 0.0007663/0.1573, allocations: 169.7 kB / 419.2 MB, free: 12.94 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.1574, allocations: 59.39 kB / 419.2 MB, free: 12.87 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002241/0.1576, allocations: 166.2 kB / 419.4 MB, free: 12.7 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 2.298e-05/0.1577, allocations: 25.7 kB / 419.4 MB, free: 12.67 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001938/0.1579, allocations: 227.2 kB / 419.6 MB, free: 12.44 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.895e-05/0.1579, allocations: 23.66 kB / 419.7 MB, free: 12.42 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.023e-05/0.158, allocations: 8 kB / 419.7 MB, free: 12.41 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000164/0.1581, allocations: 326.7 kB / 420 MB, free: 12.08 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002452/0.1584, allocations: 59.89 kB / 420.1 MB, free: 12.02 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003638/0.1588, allocations: 177.5 kB / 420.2 MB, free: 11.79 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.1591, allocations: 87.89 kB / 420.3 MB, free: 11.71 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.724e-06/0.1591, allocations: 4 kB / 420.3 MB, free: 11.7 MB / 330.7 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0007966/0.1599, allocations: 265.8 kB / 420.6 MB, free: 11.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/0.16, allocations: 12.09 kB / 420.6 MB, free: 11.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.16, allocations: 4 kB / 420.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.228e-05/0.16, allocations: 4 kB / 420.6 MB, free: 11.42 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005788/0.1606, allocations: 99.83 kB / 420.7 MB, free: 11.32 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001333/0.1619, allocations: 1.778 MB / 422.5 MB, free: 9.473 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002419/0.1622, allocations: 27.75 kB / 422.5 MB, free: 9.445 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.857e-05/0.1623, allocations: 20 kB / 422.5 MB, free: 9.426 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (dp_IN_con[3].target,dp_IN_con[2].target,dp_IN_con[1].target,m_flow_IN_con[3].target,m_flow_IN_con[2].target,m_flow_IN_con[1].target,NominalMassFlowRate) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * 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): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003438/0.1626, allocations: 186.9 kB / 422.7 MB, free: 9.234 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.457e-05/0.1627, allocations: 7.906 kB / 422.7 MB, free: 9.227 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008683/0.1635, allocations: 202 kB / 422.9 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.198e-06/0.1636, allocations: 0 / 422.9 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1636, allocations: 0 / 422.9 MB, free: 9.02 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.1636, allocations: 11.94 kB / 422.9 MB, free: 9.008 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005025/0.1641, allocations: 289.5 kB / 423.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.1641, allocations: 0 / 423.2 MB, free: 8.676 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004151/0.1646, allocations: 63.97 kB / 423.3 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.1646, allocations: 0 / 423.3 MB, free: 8.613 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.234e-05/0.1646, allocations: 8 kB / 423.3 MB, free: 8.605 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/0.1659, allocations: 1.77 MB / 425 MB, free: 6.766 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.1659, allocations: 4.031 kB / 425 MB, free: 6.762 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005699/0.1665, allocations: 239.4 kB / 425.3 MB, free: 6.512 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/0.1666, allocations: 88.95 kB / 425.4 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.189e-05/0.1666, allocations: 0 / 425.4 MB, free: 6.406 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001478/0.1668, allocations: 8 kB / 425.4 MB, free: 6.398 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.163e-05/0.1669, allocations: 19.92 kB / 425.4 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.952e-05/0.1669, allocations: 4 kB / 425.4 MB, free: 6.375 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001272/0.167, allocations: 111.2 kB / 425.5 MB, free: 6.266 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.1671, allocations: 0 / 425.5 MB, free: 6.266 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0006261/0.1677, allocations: 99.58 kB / 425.6 MB, free: 6.168 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 (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * 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: 3 {1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001104/0.1688, allocations: 0.8136 MB / 426.4 MB, free: 5.328 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.000917/0.1697, allocations: 192.8 kB / 426.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1698, allocations: 0 / 426.6 MB, free: 5.141 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000559/0.1703, allocations: 91.94 kB / 426.7 MB, free: 5.051 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003476/0.1707, allocations: 12.44 kB / 426.7 MB, free: 5.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002707/0.1734, allocations: 1.228 MB / 427.9 MB, free: 3.707 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005252/0.174, allocations: 0.7985 MB / 428.7 MB, free: 2.883 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003459/0.1743, allocations: 65.19 kB / 428.8 MB, free: 2.82 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001508/0.1745, allocations: 75.41 kB / 428.9 MB, free: 2.746 MB / 330.7 MB Notification: Performance of SimCode: time 1.152e-06/0.1745, allocations: 0 / 428.9 MB, free: 2.746 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3448/0.5193, allocations: 4.844 MB / 433.7 MB, free: 46.67 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002927/0.5197, allocations: 279.6 kB / 434 MB, free: 46.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.668/3.188, allocations: 3.938 kB / 434 MB, free: 46.31 MB / 330.7 MB "" Variables in the reference:time,A_cross,A_cross_nom,dp_nom,m_flow_nom,exp,NominalMassFlowRate,V_flow_nom,zeta_TOT,zeta_TOT_nom,rho_nom,rho[1],rho[2],rho[3],input_mdot[1],input_mdot[2],input_mdot[3],input_dp[1],input_dp[2],input_dp[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],input_DP.y Variables in the result:A_cross,A_cross_nom,DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],NominalMassFlowRate,V_flow_nom,dp_IN_con[1].A_cross,dp_IN_con[1].A_cross_nom,dp_IN_con[1].V_flow_nom,dp_IN_con[1].dp_nom,dp_IN_con[1].exp,dp_IN_con[1].m_flow_nom,dp_IN_con[1].rho_nom,dp_IN_con[1].target,dp_IN_con[1].zeta_TOT_nom,dp_IN_con[2].A_cross,dp_IN_con[2].A_cross_nom,dp_IN_con[2].V_flow_nom,dp_IN_con[2].dp_nom,dp_IN_con[2].exp,dp_IN_con[2].m_flow_nom,dp_IN_con[2].rho_nom,dp_IN_con[2].target,dp_IN_con[2].zeta_TOT_nom,dp_IN_con[3].A_cross,dp_IN_con[3].A_cross_nom,dp_IN_con[3].V_flow_nom,dp_IN_con[3].dp_nom,dp_IN_con[3].exp,dp_IN_con[3].m_flow_nom,dp_IN_con[3].rho_nom,dp_IN_con[3].target,dp_IN_con[3].zeta_TOT_nom,dp_IN_var[1].rho,dp_IN_var[1].zeta_TOT,dp_IN_var[2].rho,dp_IN_var[2].zeta_TOT,dp_IN_var[3].rho,dp_IN_var[3].zeta_TOT,dp_nom,exp,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_mdot[1],input_mdot[2],input_mdot[3],m_flow_IN_con[1].A_cross,m_flow_IN_con[1].A_cross_nom,m_flow_IN_con[1].V_flow_nom,m_flow_IN_con[1].dp_nom,m_flow_IN_con[1].exp,m_flow_IN_con[1].m_flow_nom,m_flow_IN_con[1].rho_nom,m_flow_IN_con[1].target,m_flow_IN_con[1].zeta_TOT_nom,m_flow_IN_con[2].A_cross,m_flow_IN_con[2].A_cross_nom,m_flow_IN_con[2].V_flow_nom,m_flow_IN_con[2].dp_nom,m_flow_IN_con[2].exp,m_flow_IN_con[2].m_flow_nom,m_flow_IN_con[2].rho_nom,m_flow_IN_con[2].target,m_flow_IN_con[2].zeta_TOT_nom,m_flow_IN_con[3].A_cross,m_flow_IN_con[3].A_cross_nom,m_flow_IN_con[3].V_flow_nom,m_flow_IN_con[3].dp_nom,m_flow_IN_con[3].exp,m_flow_IN_con[3].m_flow_nom,m_flow_IN_con[3].rho_nom,m_flow_IN_con[3].target,m_flow_IN_con[3].zeta_TOT_nom,m_flow_IN_var[1].rho,m_flow_IN_var[1].zeta_TOT,m_flow_IN_var[2].rho,m_flow_IN_var[2].zeta_TOT,m_flow_IN_var[3].rho,m_flow_IN_var[3].zeta_TOT,m_flow_nom,n,rho[1],rho[2],rho[3],rho_nom,time,zeta_TOT,zeta_TOT_nom