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_volumeFlowRate_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.001735/0.001735, allocations: 120.2 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.002026/0.002026, allocations: 205 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.468/1.468, allocations: 230.4 MB / 254.7 MB, free: 15.04 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.2352/0.2352, allocations: 46.92 MB / 357.7 MB, free: 10.23 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_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_General_dp_volumeFlowRate_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.002287/0.002287, allocations: 87.86 kB / 0.4917 GB, free: 7.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1339, allocations: 66.04 MB / 0.5562 GB, free: 5.578 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW): time 0.003037/0.1369, allocations: 1.68 MB / 0.5578 GB, free: 3.883 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001545/0.1385, allocations: 0.9113 MB / 0.5587 GB, free: 2.965 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.114e-05/0.1385, allocations: 4 kB / 0.5587 GB, free: 2.961 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002032/0.1387, allocations: 31.83 kB / 0.5587 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001827/0.1389, allocations: 55.73 kB / 0.5588 GB, free: 2.875 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004192/0.1393, allocations: 134.7 kB / 0.5589 GB, free: 2.746 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002969/0.1396, allocations: 143.3 kB / 0.5591 GB, free: 2.605 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.586e-05/0.1397, allocations: 9.453 kB / 0.5591 GB, free: 2.594 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.979e-05/0.1398, allocations: 55.77 kB / 0.5591 GB, free: 2.539 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001174/0.1399, allocations: 75.61 kB / 0.5592 GB, free: 2.465 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.742e-05/0.1399, allocations: 4 kB / 0.5592 GB, free: 2.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004542/0.1403, allocations: 215.6 kB / 0.5594 GB, free: 2.25 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.1404, allocations: 35.89 kB / 0.5594 GB, free: 2.215 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 9.111e-05/0.1405, allocations: 63.55 kB / 0.5595 GB, free: 2.152 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004647/0.141, allocations: 247 kB / 0.5597 GB, free: 1.91 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.141, allocations: 0 / 0.5597 GB, free: 1.91 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.141, allocations: 0 / 0.5597 GB, free: 1.91 MB / 414.1 MB Notification: Performance of Transformations before backend: time 8.916e-06/0.141, allocations: 0 / 0.5597 GB, free: 1.91 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: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.0007035/0.1417, allocations: 482.5 kB / 0.5602 GB, free: 1.391 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.406e-05/0.1417, allocations: 8.031 kB / 0.5602 GB, free: 1.383 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.656e-05/0.1418, allocations: 50.73 kB / 0.5602 GB, free: 1.324 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001196/0.143, allocations: 116.6 kB / 0.5604 GB, free: 1.211 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003172/0.1433, allocations: 232.1 kB / 0.5606 GB, free: 0.9453 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.1433, allocations: 12.36 kB / 0.5606 GB, free: 0.9336 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.741e-05/0.1434, allocations: 8.375 kB / 0.5606 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007763/0.1441, allocations: 321.5 kB / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.1441, allocations: 0 / 0.5609 GB, free: 0.6055 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.276e-05/0.1442, allocations: 4 kB / 0.5609 GB, free: 0.6016 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.681e-05/0.1442, allocations: 27.92 kB / 0.5609 GB, free: 0.5742 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009242/0.1451, allocations: 327.7 kB / 0.5613 GB, free: 260 kB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001624/0.1468, allocations: 0.8258 MB / 0.5621 GB, free: 15.34 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007617/0.1475, allocations: 218.4 kB / 0.5623 GB, free: 15.11 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003041/0.1478, allocations: 92.75 kB / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1479, allocations: 0 / 0.5624 GB, free: 15.02 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1479, allocations: 30.56 kB / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1479, allocations: 0 / 0.5624 GB, free: 14.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=10): time 0.001101/0.149, allocations: 297.2 kB / 0.5627 GB, free: 14.68 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.213e-05/0.149, allocations: 55.41 kB / 0.5627 GB, free: 14.62 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002073/0.1492, allocations: 189.4 kB / 0.5629 GB, free: 14.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.635e-05/0.1493, allocations: 25.7 kB / 0.5629 GB, free: 14.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.1494, allocations: 147.7 kB / 0.5631 GB, free: 14.24 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.805e-05/0.1494, allocations: 35.73 kB / 0.5631 GB, free: 14.2 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.1495, allocations: 49.64 kB / 0.5631 GB, free: 14.15 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001536/0.1497, allocations: 330.8 kB / 0.5635 GB, free: 13.82 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003141/0.15, allocations: 79.91 kB / 0.5635 GB, free: 13.74 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003601/0.1504, allocations: 142.7 kB / 0.5637 GB, free: 13.57 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006741/0.151, allocations: 214.6 kB / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.151, allocations: 0 / 0.5639 GB, free: 13.34 MB / 430.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0008039/0.1518, allocations: 277.5 kB / 0.5641 GB, free: 13.06 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.784e-05/0.1519, allocations: 8 kB / 0.5642 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.1519, allocations: 3.938 kB / 0.5642 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/0.1519, allocations: 4.094 kB / 0.5642 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000469/0.1524, allocations: 79.86 kB / 0.5642 GB, free: 12.97 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001173/0.1535, allocations: 1.785 MB / 0.566 GB, free: 11.11 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002442/0.1538, allocations: 31.8 kB / 0.566 GB, free: 11.08 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.437e-05/0.1538, allocations: 19.91 kB / 0.566 GB, free: 11.06 MB / 430.1 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 (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.0001759/0.154, allocations: 146.1 kB / 0.5662 GB, free: 10.91 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.58e-05/0.154, allocations: 11.89 kB / 0.5662 GB, free: 10.9 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008721/0.1549, allocations: 266.7 kB / 0.5664 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1549, allocations: 4 kB / 0.5664 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1549, allocations: 0 / 0.5664 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.1549, allocations: 0 / 0.5664 GB, free: 10.62 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003525/0.1553, allocations: 253.5 kB / 0.5667 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.1553, allocations: 0 / 0.5667 GB, free: 10.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003912/0.1557, allocations: 75.8 kB / 0.5668 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/0.1557, allocations: 0 / 0.5668 GB, free: 10.25 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.797e-05/0.1557, allocations: 15.98 kB / 0.5668 GB, free: 10.23 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.1568, allocations: 1.781 MB / 0.5685 GB, free: 8.383 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/0.1568, allocations: 4.031 kB / 0.5685 GB, free: 8.379 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007777/0.1576, allocations: 319.4 kB / 0.5688 GB, free: 8.051 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.315e-05/0.1577, allocations: 89 kB / 0.5689 GB, free: 7.945 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.685e-05/0.1577, allocations: 4 kB / 0.5689 GB, free: 7.941 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002114/0.1579, allocations: 11.98 kB / 0.5689 GB, free: 7.93 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.427e-05/0.158, allocations: 11.97 kB / 0.5689 GB, free: 7.918 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.468e-05/0.158, allocations: 12.17 kB / 0.5689 GB, free: 7.906 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0002072/0.1583, allocations: 144.9 kB / 0.5691 GB, free: 7.766 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1583, allocations: 3.938 kB / 0.5691 GB, free: 7.762 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004189/0.1587, allocations: 59.83 kB / 0.5691 GB, free: 7.703 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 (10): * Single equations (assignments): 7 * 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.001297/0.16, allocations: 0.8761 MB / 0.57 GB, free: 6.801 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000934/0.1609, allocations: 227.6 kB / 0.5702 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.1609, allocations: 448 / 0.5702 GB, free: 6.578 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004932/0.1614, allocations: 139.7 kB / 0.5703 GB, free: 6.441 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000296/0.1617, allocations: 12 kB / 0.5704 GB, free: 6.43 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004033/0.1657, allocations: 2.338 MB / 0.5726 GB, free: 3.977 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004034/0.1661, allocations: 0.7397 MB / 0.5734 GB, free: 3.211 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.1663, allocations: 64.98 kB / 0.5734 GB, free: 3.148 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001471/0.1665, allocations: 59.38 kB / 0.5735 GB, free: 3.09 MB / 430.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1665, allocations: 0 / 0.5735 GB, free: 3.09 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03004/0.1965, allocations: 4.917 MB / 0.5783 GB, free: 14.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.68/11.88, allocations: 7.875 kB / 0.5783 GB, free: 14.37 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_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_volumeFlowRate_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.General.dp_volumeFlowRate_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.948944721836597] Failed to read output from testmodel.py, exit status != 0: ['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'] 11.966671258211136 11.980778444 11.837059116 Calling exit ...