Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001639/0.001639, allocations: 122.6 kB / 18.5 MB, free: 4.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001992/0.001992, allocations: 206.6 kB / 21.45 MB, free: 1.629 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.4 MB / 254.7 MB, free: 15.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2387/0.2387, allocations: 46.93 MB / 357.7 MB, free: 10.3 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002366/0.002366, allocations: 79.86 kB / 0.4917 GB, free: 7.801 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1405, allocations: 66.03 MB / 0.5562 GB, free: 5.637 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW): time 0.003501/0.144, allocations: 1.938 MB / 0.5581 GB, free: 3.68 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002047/0.146, allocations: 1.129 MB / 0.5592 GB, free: 2.547 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.1461, allocations: 4 kB / 0.5592 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003436/0.1465, allocations: 75.58 kB / 0.5593 GB, free: 2.469 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002398/0.1467, allocations: 79.52 kB / 0.5593 GB, free: 2.391 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005097/0.1472, allocations: 154.3 kB / 0.5595 GB, free: 2.242 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003635/0.1476, allocations: 270.4 kB / 0.5597 GB, free: 1.977 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.202e-05/0.1477, allocations: 20.75 kB / 0.5598 GB, free: 1.957 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002595/0.1479, allocations: 107.4 kB / 0.5599 GB, free: 1.852 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.1481, allocations: 123.3 kB / 0.56 GB, free: 1.73 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.394e-05/0.1481, allocations: 12 kB / 0.56 GB, free: 1.719 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005652/0.1487, allocations: 315.5 kB / 0.5603 GB, free: 1.41 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 9.169e-05/0.1488, allocations: 59.62 kB / 0.5603 GB, free: 1.352 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001516/0.1489, allocations: 115.2 kB / 0.5605 GB, free: 1.238 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006573/0.1496, allocations: 438.1 kB / 0.5609 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1496, allocations: 0 / 0.5609 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.704e-06/0.1496, allocations: 0 / 0.5609 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.1496, allocations: 4 kB / 0.5609 GB, free: 0.8047 MB / 414.1 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.0008841/0.1505, allocations: 0.5809 MB / 0.5614 GB, free: 180 kB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.114e-05/0.1505, allocations: 8.031 kB / 0.5614 GB, free: 172 kB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.831e-05/0.1506, allocations: 74.72 kB / 0.5615 GB, free: 88 kB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.487e-05/0.1507, allocations: 32.7 kB / 0.5616 GB, free: 56 kB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003088/0.151, allocations: 236 kB / 0.5618 GB, free: 15.79 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.792e-05/0.151, allocations: 24.94 kB / 0.5618 GB, free: 15.76 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.594e-05/0.1511, allocations: 36 kB / 0.5618 GB, free: 15.73 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007955/0.1519, allocations: 497.4 kB / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.134e-05/0.1519, allocations: 0 / 0.5623 GB, free: 15.23 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.1519, allocations: 15.94 kB / 0.5623 GB, free: 15.21 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.025e-05/0.152, allocations: 32.98 kB / 0.5624 GB, free: 15.18 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006877/0.1527, allocations: 431.6 kB / 0.5628 GB, free: 14.76 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.1543, allocations: 1.193 MB / 0.5639 GB, free: 13.46 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.1546, allocations: 74.52 kB / 0.564 GB, free: 13.38 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001311/0.1547, allocations: 40.83 kB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.334e-05/0.1547, allocations: 4.141 kB / 0.564 GB, free: 13.34 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.082e-05/0.1547, allocations: 30.56 kB / 0.5641 GB, free: 13.3 MB / 430.1 MB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/0.1547, allocations: 4 kB / 0.5641 GB, free: 13.29 MB / 430.1 MB Notification: Performance of matching and sorting (n=7): time 0.0005222/0.1553, allocations: 153.5 kB / 0.5642 GB, free: 13.14 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.923e-05/0.1553, allocations: 55.34 kB / 0.5643 GB, free: 13.07 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001846/0.1555, allocations: 166.4 kB / 0.5644 GB, free: 12.89 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.31e-05/0.1555, allocations: 25.7 kB / 0.5645 GB, free: 12.86 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001593/0.1557, allocations: 227.9 kB / 0.5647 GB, free: 12.64 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.159e-05/0.1557, allocations: 31.73 kB / 0.5647 GB, free: 12.61 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.247e-05/0.1558, allocations: 57.7 kB / 0.5648 GB, free: 12.54 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001585/0.156, allocations: 322.8 kB / 0.5651 GB, free: 12.22 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000147/0.1561, allocations: 51.95 kB / 0.5651 GB, free: 12.17 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002465/0.1564, allocations: 176.2 kB / 0.5653 GB, free: 11.94 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004166/0.1568, allocations: 244 kB / 0.5655 GB, free: 11.64 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.338e-05/0.1568, allocations: 4 kB / 0.5655 GB, free: 11.64 MB / 430.1 MB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0005012/0.1573, allocations: 245.5 kB / 0.5658 GB, free: 11.39 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.1573, allocations: 8 kB / 0.5658 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1573, allocations: 4 kB / 0.5658 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.085e-05/0.1573, allocations: 4 kB / 0.5658 GB, free: 11.38 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/0.1577, allocations: 91.89 kB / 0.5659 GB, free: 11.29 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.1589, allocations: 1.782 MB / 0.5676 GB, free: 9.434 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001536/0.1591, allocations: 27.84 kB / 0.5676 GB, free: 9.406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.383e-05/0.1591, allocations: 12 kB / 0.5676 GB, free: 9.395 MB / 430.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000317/0.1594, allocations: 186.6 kB / 0.5678 GB, free: 9.203 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.536e-05/0.1595, allocations: 19.89 kB / 0.5678 GB, free: 9.184 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005352/0.16, allocations: 193.9 kB / 0.568 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.16, allocations: 0 / 0.568 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.16, allocations: 0 / 0.568 GB, free: 8.988 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.16, allocations: 3.984 kB / 0.568 GB, free: 8.984 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004022/0.1604, allocations: 297.5 kB / 0.5683 GB, free: 8.645 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.1604, allocations: 3.938 kB / 0.5683 GB, free: 8.641 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002542/0.1607, allocations: 59.97 kB / 0.5684 GB, free: 8.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.1607, allocations: 8 kB / 0.5684 GB, free: 8.574 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.1607, allocations: 3.938 kB / 0.5684 GB, free: 8.57 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001168/0.1618, allocations: 1.778 MB / 0.5701 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.1618, allocations: 0 / 0.5701 GB, free: 6.723 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003711/0.1622, allocations: 211.4 kB / 0.5703 GB, free: 6.5 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.293e-05/0.1623, allocations: 92.98 kB / 0.5704 GB, free: 6.391 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.1623, allocations: 7.984 kB / 0.5704 GB, free: 6.383 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.336e-05/0.1624, allocations: 8.094 kB / 0.5704 GB, free: 6.375 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.688e-05/0.1625, allocations: 7.984 kB / 0.5704 GB, free: 6.367 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.636e-05/0.1625, allocations: 8 kB / 0.5704 GB, free: 6.359 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.955e-05/0.1626, allocations: 115.1 kB / 0.5705 GB, free: 6.246 MB / 430.1 MB Notification: Performance of sort global known variables: time 6e-08/0.1626, allocations: 0 / 0.5705 GB, free: 6.246 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004984/0.1631, allocations: 103.6 kB / 0.5706 GB, free: 6.145 MB / 430.1 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 (not torn): 3 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 3 systems {1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008834/0.164, allocations: 0.7987 MB / 0.5714 GB, free: 5.32 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0006175/0.1646, allocations: 183.7 kB / 0.5716 GB, free: 5.141 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1646, allocations: 5.062 kB / 0.5716 GB, free: 5.137 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002944/0.1649, allocations: 87.89 kB / 0.5717 GB, free: 5.051 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002673/0.1651, allocations: 13.39 kB / 0.5717 GB, free: 5.039 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/0.1682, allocations: 2.209 MB / 0.5739 GB, free: 2.637 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004673/0.1686, allocations: 0.7943 MB / 0.5746 GB, free: 1.816 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0001801/0.1688, allocations: 61.2 kB / 0.5747 GB, free: 1.758 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001165/0.1689, allocations: 79.41 kB / 0.5748 GB, free: 1.68 MB / 430.1 MB Notification: Performance of SimCode: time 7.22e-07/0.1689, allocations: 0 / 0.5748 GB, free: 1.68 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03095/0.1999, allocations: 5.369 MB / 0.58 GB, free: 12.46 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.35/11.55, allocations: 7.672 kB / 0.58 GB, free: 12.46 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-05 --interface-type ModelExchange --solver CVode --output-interval 0.0002 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_nominalPressureLossLawDensity_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_nominalPressureLossLawDensity_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.978324160911143] Failed to read output from testmodel.py, exit status != 0: ['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'] 11.648405199870467 11.967834291 11.517542296 Calling exit ...