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_volumeFlowRate_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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.0101/0.0101, 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.743/1.743, allocations: 170.8 MB / 186.6 MB, free: 1.023 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.001753/0.001752, allocations: 119.8 kB / 226.2 MB, free: 10.07 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.4756/0.4756, allocations: 38.05 MB / 303.7 MB, free: 42.58 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007405/0.0007408, allocations: 8 kB / 363 MB, free: 5.449 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.145, allocations: 48.71 MB / 411.7 MB, free: 4.664 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.002464/0.1475, allocations: 1.324 MB / 413.1 MB, free: 3.328 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001906/0.1495, allocations: 0.788 MB / 413.8 MB, free: 2.535 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.1496, allocations: 3.938 kB / 413.8 MB, free: 2.531 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002304/0.1498, allocations: 27.89 kB / 413.9 MB, free: 2.504 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002025/0.1501, allocations: 47.75 kB / 413.9 MB, free: 2.457 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004737/0.1505, allocations: 103.7 kB / 414 MB, free: 2.355 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002609/0.1508, allocations: 155.3 kB / 414.2 MB, free: 2.203 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.045e-05/0.1509, allocations: 29.36 kB / 414.2 MB, free: 2.172 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.21e-05/0.151, allocations: 39.8 kB / 414.2 MB, free: 2.133 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001551/0.1512, allocations: 67.69 kB / 414.3 MB, free: 2.066 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.1513, allocations: 4 kB / 414.3 MB, free: 2.062 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005403/0.1518, allocations: 215.6 kB / 414.5 MB, free: 1.852 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 7.156e-05/0.1519, allocations: 39.83 kB / 414.6 MB, free: 1.812 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.152, allocations: 41.64 kB / 414.6 MB, free: 1.766 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003428/0.1523, allocations: 147.7 kB / 414.7 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1523, allocations: 0 / 414.7 MB, free: 1.621 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1523, allocations: 0 / 414.7 MB, free: 1.621 MB / 314.7 MB Notification: Performance of Transformations before backend: time 1.403e-05/0.1524, allocations: 0 / 414.7 MB, free: 1.621 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007958/0.1532, allocations: 450.8 kB / 415.2 MB, free: 1.133 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.1532, allocations: 12.03 kB / 415.2 MB, free: 1.121 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.391e-05/0.1533, allocations: 46.55 kB / 415.2 MB, free: 1.066 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001288/0.1546, allocations: 95.62 kB / 415.3 MB, free: 0.9727 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000335/0.155, allocations: 222.7 kB / 415.6 MB, free: 0.7148 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.431e-05/0.155, allocations: 12 kB / 415.6 MB, free: 0.7031 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.805e-05/0.1551, allocations: 12 kB / 415.6 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008394/0.1559, allocations: 289.3 kB / 415.9 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.156, allocations: 0 / 415.9 MB, free: 412 kB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/0.156, allocations: 4 kB / 415.9 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.063e-05/0.1561, allocations: 31.98 kB / 415.9 MB, free: 376 kB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008472/0.1569, allocations: 271.8 kB / 416.2 MB, free: 104 kB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001961/0.1589, allocations: 0.7794 MB / 416.9 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006548/0.1596, allocations: 194.3 kB / 417.1 MB, free: 15.03 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000291/0.1599, allocations: 72.83 kB / 417.2 MB, free: 14.96 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.25e-05/0.16, allocations: 4 kB / 417.2 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.632e-05/0.16, allocations: 30.56 kB / 417.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of pre-optimization done (n=10): time 2.725e-06/0.16, allocations: 0 / 417.2 MB, free: 14.91 MB / 330.7 MB Notification: Performance of matching and sorting (n=10): time 0.001127/0.1612, allocations: 269.3 kB / 417.5 MB, free: 14.64 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.634e-05/0.1612, allocations: 59.39 kB / 417.6 MB, free: 14.57 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002532/0.1615, allocations: 184 kB / 417.7 MB, free: 14.39 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.1615, allocations: 33.7 kB / 417.8 MB, free: 14.35 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.1617, allocations: 135.6 kB / 417.9 MB, free: 14.21 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.779e-05/0.1617, allocations: 51.33 kB / 418 MB, free: 14.16 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.045e-05/0.1618, allocations: 0 / 418 MB, free: 14.16 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001455/0.1619, allocations: 330.8 kB / 418.3 MB, free: 13.83 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003039/0.1622, allocations: 71.92 kB / 418.3 MB, free: 13.76 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003505/0.1626, allocations: 122.8 kB / 418.5 MB, free: 13.61 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003765/0.163, allocations: 87.92 kB / 418.5 MB, free: 13.53 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.517e-06/0.163, allocations: 4 kB / 418.6 MB, free: 13.52 MB / 330.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0009467/0.164, allocations: 261.5 kB / 418.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.198e-05/0.164, allocations: 4 kB / 418.8 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.164, allocations: 4.094 kB / 418.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.064e-05/0.1641, allocations: 3.938 kB / 418.8 MB, free: 13.25 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007446/0.1648, allocations: 87.91 kB / 418.9 MB, free: 13.16 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001233/0.1661, allocations: 1.789 MB / 420.7 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003452/0.1664, allocations: 32.03 kB / 420.7 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.383e-05/0.1665, allocations: 15.97 kB / 420.7 MB, free: 11.26 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 initialization (17): * Single equations (assignments): 14 * 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.0002073/0.1667, allocations: 142.8 kB / 420.9 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.653e-05/0.1668, allocations: 11.91 kB / 420.9 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.1681, allocations: 294.6 kB / 421.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.1681, allocations: 0 / 421.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.351e-06/0.1682, allocations: 0 / 421.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.1682, allocations: 0 / 421.2 MB, free: 10.8 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003884/0.1686, allocations: 241.4 kB / 421.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.1686, allocations: 0 / 421.4 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.1691, allocations: 59.95 kB / 421.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.067e-06/0.1692, allocations: 4 kB / 421.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.115e-05/0.1692, allocations: 7.938 kB / 421.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001219/0.1704, allocations: 1.797 MB / 423.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/0.1705, allocations: 0 / 423.3 MB, free: 8.578 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006927/0.1712, allocations: 267.3 kB / 423.5 MB, free: 8.301 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001286/0.1713, allocations: 89.05 kB / 423.6 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.391e-05/0.1714, allocations: 4 kB / 423.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002576/0.1716, allocations: 15.98 kB / 423.7 MB, free: 8.176 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.1717, allocations: 7.984 kB / 423.7 MB, free: 8.168 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.231e-05/0.1717, allocations: 4 kB / 423.7 MB, free: 8.164 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0001998/0.172, allocations: 151.2 kB / 423.8 MB, free: 8.016 MB / 330.7 MB Notification: Performance of sort global known variables: time 4e-07/0.172, allocations: 0 / 423.8 MB, free: 8.016 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0005023/0.1725, allocations: 59.84 kB / 423.9 MB, free: 7.957 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 (13): * 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): 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.001157/0.1736, allocations: 0.8218 MB / 424.7 MB, free: 7.109 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1747, allocations: 212.1 kB / 424.9 MB, free: 6.902 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.1747, allocations: 0 / 424.9 MB, free: 6.902 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006043/0.1753, allocations: 103.9 kB / 425 MB, free: 6.801 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003934/0.1757, allocations: 12.19 kB / 425 MB, free: 6.789 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003038/0.1788, allocations: 1.181 MB / 426.2 MB, free: 5.543 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.1792, allocations: 0.7514 MB / 426.9 MB, free: 4.766 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003458/0.1796, allocations: 53.52 kB / 427 MB, free: 4.715 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001859/0.1798, allocations: 59.41 kB / 427.1 MB, free: 4.656 MB / 330.7 MB Notification: Performance of SimCode: time 1.062e-06/0.1798, allocations: 0 / 427.1 MB, free: 4.656 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03314/0.213, allocations: 4.715 MB / 431.8 MB, free: 8 kB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2564/0.4694, allocations: 274.8 kB / 432 MB, free: 50.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.659/3.128, allocations: 4.094 kB / 432 MB, free: 50.12 MB / 330.7 MB "" Variables in the reference:time,V_flow[1],V_flow[2],V_flow[3],a[1],a[2],a[3],rho,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:DP[1],DP[2],DP[3],DP_plot[1],DP_plot[2],DP_plot[3],M_FLOW[1],M_FLOW[2],M_FLOW[3],V_flow[1],V_flow[2],V_flow[3],a[1],a[2],a[3],b,dp_IN_con[1].a,dp_IN_con[1].b,dp_IN_con[1].dp_min,dp_IN_con[2].a,dp_IN_con[2].b,dp_IN_con[2].dp_min,dp_IN_con[3].a,dp_IN_con[3].b,dp_IN_con[3].dp_min,dp_IN_var[1].rho,dp_IN_var[2].rho,dp_IN_var[3].rho,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,m_flow_IN_con[1].b,m_flow_IN_con[1].dp_min,m_flow_IN_con[2].a,m_flow_IN_con[2].b,m_flow_IN_con[2].dp_min,m_flow_IN_con[3].a,m_flow_IN_con[3].b,m_flow_IN_con[3].dp_min,m_flow_IN_var[1].rho,m_flow_IN_var[2].rho,m_flow_IN_var[3].rho,n,rho,time