Inclusion Criteria:  Subjects who met the following criteria were considered eligible to participate/continue in the study:  Provided signed and dated informed consent before any study specific procedures were conducted. Male and female subjects aged 18 to 45 years (both inclusive) at the Screening Visit. Healthy as determined by the Principal Investigator on the basis of medical history, physical examination, clinical laboratory test results, vital signs and digital 12 lead electrocardiogram (ECG). If a vital sign or ECG assessment was outside of the reference range at the Screening Visit or baseline, the assessment could have been repeated once as soon as possible and in any cases before enrollment to rule out any error. Non-smoker or ex-smoker for at least 3 months prior to the Screening Visit. Body mass index (BMI) between 18.5 and 29.9 kg/m2 (both inclusive) at the Screening Visit and on admission to each treatment period. Negative test results for hepatitis B surface antigen (HBsAg), hepatitis B core antibody (anti HBc), immunoglobulin M (IgM) anti-HBc, hepatitis C virus antibody (anti HCV) and human immunodeficiency virus (HIV) (Types 1 and 2) antibodies at the Screening Visit. Negative screen for alcohol and drugs of abuse at the Screening Visit and on admission to each treatment period. Subject had to be willing and able to be confined to the clinical unit and had to adhere to the study and lifestyle restrictions. Male subjects had to use together with his female partner/spouse a highly effective contraception form of birth control in combination with a barrier method throughout the clinical study period. And agreed not to father a child or to donate sperm starting at the Screening Visit and throughout the clinical study. Female subjects had to either be of non childbearing potential or had to use highly effective methods of contraception from at least 3 months before the Screening Visit and throughout the clinical study in combination with a barrier method.  Exclusion Criteria:  Clinically relevant history or presence of respiratory, gastrointestinal, renal, hepatic, hematological, lymphatic, neurological, cardiovascular, psychiatric, musculoskeletal, genitourinary, immunological, dermatological, endocrine, connective tissue disease or disorders within 5 years before the first IMP administration. Documented coronary artery disease (any of prior myocardial infarction, positive stress test, positive nuclear perfusion study, prior coronary artery bypass graft [CABG] surgery or percutaneous coronary intervention, angiogram showing at least 75% stenosis in a major coronary artery), acute coronary syndrome or current symptoms of myocardial ischemia and angina. Clinically relevant surgical history involving the stomach and/or intestinal system, potentially affecting absorption of IMPs. Any clinically relevant findings in the laboratory tests, particularly any abnormality in the coagulation tests or the liver function tests, as judged by the Principal Investigator, at the Screening Visit and on admission to each treatment period. If a laboratory assessment was outside of the reference range at the local laboratory at the Screening Visit or baseline, the assessment could have been repeated once as soon as possible and in any cases before enrollment to rule out laboratory error. Subjects with alanine aminotransferase (ALT) > 1.0 x the upper limit of normal (ULN) and/or aspartate aminotransferase (AST) > 1.0 x ULN and/or total bilirubin > 1.0 x ULN (isolated bilirubin > 1.0 x ULN and 1.5 x ULN was acceptable if bilirubin was fractionated and direct bilirubin < 35%), as confirmed by subsequent repeat assessment, at the Screening Visit and on admission to each treatment period. History of relevant atopy or drug hypersensitivity. History of alcoholism or drug abuse. History of drinking > 24 g (males) and > 12 g (females) of pure alcohol per day (10 g pure alcohol = 250 mL of beer [5%] or 35 mL of spirits [35%] or 100 mL of wine [12%]) within 3 months before first admission to the clinical unit. Use of alcohol within 72 hours before the Screening Visit and from 48 hours before dosing until completion of the Follow-up Visit. Significant infection or known inflammatory process at the Screening Visit or upon admission to all treatment periods, as judged by the Principal Investigator. Acute gastrointestinal symptoms (e.g., nausea, vomiting, diarrhea, heartburn) at the time of the Screening Visit or upon admission to all treatment periods.  Subjects with blood pressure (BP) measurements (mean of triplicate) outside the ranges, at the Screening Visit or admission to the first treatment period:  Systolic BP (SBP) < 100 mmHg or > 140 mmHg Diastolic BP (DBP) < 60 mmHg or > 90 mmHg Symptomatic orthostatic hypotension (drop of > 20 mmHg in SBP and/or > 10 mmHg in DBP when moving from supine to standing position), together with other symptoms, e.g., dizziness, at the Screening Visit or admission to the first treatment period. Abnormal fundoscopy. Electrocardiogram (mean of triplicate) with corrected QT interval using the Fridericia's formula (QTcF) > 450 ms at the Screening Visit or admission to the first treatment period. Having an estimated glomerular filtration rate (eGFR) < 90 mL/min, based on creatinine clearance calculation by the Cockcroft Gault formula and normalized to an average surface area of 1.73m2. Previous use of BIA 5 1058. Use of any investigational drug or participation in any clinical study within 60 days or 5 half life times, whichever was longer, before first administration of IMP. Having received IMP in more than 3 studies within 12 months before the Screening Visit. Donated or received blood within 56 days before first administration of IMP. Donated or received plasma within 30 days before first administration of IMP. History of any significant bleeding within the last 56 days prior to first administration of IMP. Vegetarians, vegans or other medical dietary restrictions. Not able to communicate reliably with the Principal Investigator. Unlikely to comply with the requirements of the study.  Use of over the counter (OTC) medications (including oral natural health products, vitamin and herbal supplements) within 7 days before the first IMP administration until the Follow up Visit.  Use of prescription medications that could have affected the safety or other study assessments, in the Principal Investigator's opinion, within 14 days before the first IMP administration until the Follow-up Visit. By exception, acetaminophen/paracetamol 1000 mg/day was permitted.  CYP2B6, CYP2C8, CYP2D6, CYP3A4 (BIA 5-1058 metabolism) and CYP2C9, CYP2C19, CYP3A4 (bosentan metabolism): Use of inhibitors taken within 7 days before the first IMP administration and inducers taken within 28 days before first IMP administration.  Any known allergy or contra-indication to any of the IMPs or their content. The subject was an employee or the close relative of an employee of the Sponsor or the Contract Research Organization (CRO) involved in the clinical study.  Vulnerable subjects, e.g., subjects kept in detention, protected adults under guardianship, trusteeship and soldiers or subjects committed to an institution by governmental or juridical order.  If female:  Pregnant or breast-feeding.