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.Bend.dp_edgedOverall_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.00178/0.00178, 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.002013/0.002013, 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.433/1.433, 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.2271/0.2271, allocations: 46.93 MB / 357.7 MB, free: 10.21 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.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_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.002277/0.002277, allocations: 87.84 kB / 0.4917 GB, free: 7.715 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1298, allocations: 66.04 MB / 0.5562 GB, free: 5.547 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW): time 0.003063/0.1329, allocations: 1.784 MB / 0.5579 GB, free: 3.746 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.002947/0.1359, allocations: 1.925 MB / 0.5598 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.63e-05/0.1359, allocations: 8 kB / 0.5598 GB, free: 1.801 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002742/0.1362, allocations: 43.75 kB / 0.5599 GB, free: 1.758 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002925/0.1365, allocations: 79.62 kB / 0.5599 GB, free: 1.68 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00116/0.1377, allocations: 0.5757 MB / 0.5605 GB, free: 1.105 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003498/0.138, allocations: 238.8 kB / 0.5607 GB, free: 0.8711 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.044e-05/0.1381, allocations: 17.69 kB / 0.5607 GB, free: 0.8516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002442/0.1383, allocations: 111.5 kB / 0.5608 GB, free: 0.7422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.1385, allocations: 111.5 kB / 0.5609 GB, free: 0.6328 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.337e-05/0.1385, allocations: 8 kB / 0.561 GB, free: 0.625 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.1402, allocations: 1.177 MB / 0.5621 GB, free: 15.45 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001056/0.1403, allocations: 67.69 kB / 0.5622 GB, free: 15.38 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001282/0.1404, allocations: 103.3 kB / 0.5623 GB, free: 15.28 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001191/0.1416, allocations: 0.8022 MB / 0.5631 GB, free: 14.47 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.1416, allocations: 3.984 kB / 0.5631 GB, free: 14.47 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.1416, allocations: 0 / 0.5631 GB, free: 14.47 MB / 430.1 MB Notification: Performance of Transformations before backend: time 6.663e-06/0.1416, allocations: 0 / 0.5631 GB, free: 14.47 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.001037/0.1427, allocations: 0.6071 MB / 0.5636 GB, free: 13.81 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.381e-05/0.1427, allocations: 12.03 kB / 0.5637 GB, free: 13.8 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.218e-05/0.1428, allocations: 62.72 kB / 0.5637 GB, free: 13.73 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.457e-05/0.1428, allocations: 28.75 kB / 0.5637 GB, free: 13.7 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002901/0.1431, allocations: 247.5 kB / 0.564 GB, free: 13.42 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.006e-05/0.1432, allocations: 12.44 kB / 0.564 GB, free: 13.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.713e-05/0.1432, allocations: 23.98 kB / 0.564 GB, free: 13.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000687/0.1439, allocations: 376.4 kB / 0.5644 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.132e-05/0.1439, allocations: 0 / 0.5644 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.1439, allocations: 8 kB / 0.5644 GB, free: 13.01 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.705e-05/0.144, allocations: 36.62 kB / 0.5644 GB, free: 12.97 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007159/0.1447, allocations: 390.3 kB / 0.5648 GB, free: 12.59 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001601/0.1463, allocations: 1.024 MB / 0.5658 GB, free: 11.47 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000631/0.1469, allocations: 275.5 kB / 0.5661 GB, free: 11.19 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002017/0.1471, allocations: 88.8 kB / 0.5661 GB, free: 11.1 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.1472, allocations: 7.984 kB / 0.5661 GB, free: 11.09 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.1472, allocations: 34.5 kB / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of pre-optimization done (n=21): time 1.393e-06/0.1472, allocations: 0 / 0.5662 GB, free: 11.05 MB / 430.1 MB Notification: Performance of matching and sorting (n=21): time 0.0007917/0.148, allocations: 329.3 kB / 0.5665 GB, free: 10.72 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.135e-05/0.148, allocations: 55.41 kB / 0.5665 GB, free: 10.66 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.1483, allocations: 223.7 kB / 0.5668 GB, free: 10.42 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.908e-05/0.1483, allocations: 29.7 kB / 0.5668 GB, free: 10.39 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.1485, allocations: 156.5 kB / 0.5669 GB, free: 10.23 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.81e-05/0.1485, allocations: 79.44 kB / 0.567 GB, free: 10.15 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.402e-05/0.1486, allocations: 45.7 kB / 0.5671 GB, free: 10.1 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001584/0.1488, allocations: 330.8 kB / 0.5674 GB, free: 9.77 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001994/0.149, allocations: 83.94 kB / 0.5675 GB, free: 9.688 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002226/0.1492, allocations: 106.5 kB / 0.5676 GB, free: 9.574 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005593/0.1497, allocations: 201 kB / 0.5677 GB, free: 9.371 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.1498, allocations: 4 kB / 0.5677 GB, free: 9.367 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005498/0.1503, allocations: 264.1 kB / 0.568 GB, free: 9.105 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.1503, allocations: 7.938 kB / 0.568 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.1503, allocations: 0 / 0.568 GB, free: 9.098 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1503, allocations: 4 kB / 0.568 GB, free: 9.094 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004093/0.1507, allocations: 87.89 kB / 0.5681 GB, free: 9.008 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.1522, allocations: 2.387 MB / 0.5704 GB, free: 6.527 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001666/0.1524, allocations: 31.77 kB / 0.5705 GB, free: 6.496 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.706e-05/0.1524, allocations: 15.94 kB / 0.5705 GB, free: 6.48 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (23): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001676/0.1526, allocations: 153.7 kB / 0.5706 GB, free: 6.32 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.195e-05/0.1526, allocations: 19.86 kB / 0.5706 GB, free: 6.301 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007709/0.1534, allocations: 351.5 kB / 0.571 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1534, allocations: 0 / 0.571 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-06/0.1534, allocations: 0 / 0.571 GB, free: 5.945 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1534, allocations: 4 kB / 0.571 GB, free: 5.941 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004216/0.1538, allocations: 313.3 kB / 0.5713 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1538, allocations: 0 / 0.5713 GB, free: 5.586 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004007/0.1542, allocations: 95.88 kB / 0.5714 GB, free: 5.492 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.906e-06/0.1542, allocations: 4 kB / 0.5714 GB, free: 5.488 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.1543, allocations: 8 kB / 0.5714 GB, free: 5.48 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001574/0.1558, allocations: 2.391 MB / 0.5737 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1558, allocations: 0 / 0.5737 GB, free: 2.996 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005903/0.1564, allocations: 356 kB / 0.5741 GB, free: 2.633 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001449/0.1566, allocations: 136.7 kB / 0.5742 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.777e-05/0.1566, allocations: 12 kB / 0.5742 GB, free: 2.469 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.1568, allocations: 12.09 kB / 0.5742 GB, free: 2.457 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.215e-05/0.1569, allocations: 19.97 kB / 0.5742 GB, free: 2.438 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.1569, allocations: 8 kB / 0.5742 GB, free: 2.43 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001703/0.1571, allocations: 169.5 kB / 0.5744 GB, free: 2.266 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.1571, allocations: 0 / 0.5744 GB, free: 2.266 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005599/0.1576, allocations: 171.2 kB / 0.5746 GB, free: 2.098 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * 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): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001344/0.159, allocations: 1.047 MB / 0.5756 GB, free: 1.023 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0007654/0.1597, allocations: 251.7 kB / 0.5758 GB, free: 0.7773 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 6.493e-06/0.1597, allocations: 4 kB / 0.5758 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004564/0.1602, allocations: 159.8 kB / 0.576 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004564/0.1607, allocations: 55.78 kB / 0.576 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004062/0.1647, allocations: 2.827 MB / 0.5788 GB, free: 13.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000445/0.1652, allocations: 0.7831 MB / 0.5796 GB, free: 12.84 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.000241/0.1654, allocations: 85.77 kB / 0.5796 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001587/0.1656, allocations: 85.91 kB / 0.5797 GB, free: 12.67 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.1656, allocations: 0 / 0.5797 GB, free: 12.67 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03517/0.2007, allocations: 8.938 MB / 0.5884 GB, free: 3.945 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.76/11.96, allocations: 4.062 kB / 0.5885 GB, free: 3.941 MB / 446.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_4_1_0-beta_om_ModelicaTest_Fluid_Dissipation_Verifications_PressureLoss_Bend_dp_edgedOverall_DPMFLOW.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Fluid.Dissipation.Verifications.PressureLoss.Bend.dp_edgedOverall_DPMFLOW.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 15.289322759956121] Failed to read output from testmodel.py, exit status != 0: ['time', 'delta[1]', 'delta[2]', 'delta[3]', 'delta[4]', '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]', 'DP_plot[1]', 'DP_plot[2]', 'DP_plot[3]', 'DP_plot[4]', 'velocity[1]', 'velocity[2]', 'velocity[3]', 'velocity[4]', 'Re[1]', 'Re[2]', 'Re[3]', 'Re[4]', 'zeta_TOT[1]', 'zeta_TOT[2]', 'zeta_TOT[3]', 'zeta_TOT[4]', 'input_DP.y'] 12.052113461773843 12.292559278 12.146837465 Calling exit ...