Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001126/0.001126, allocations: 108.3 kB / 19.71 MB, free: 436 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 216.4 kB / 23 MB, free: 2.953 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.014/1.014, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 0.7545/0.7545, allocations: 312.3 MB / 0.6108 GB, free: 96.96 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001536/0.001536, allocations: 72.7 kB / 0.7699 GB, free: 19.67 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1332/0.1348, allocations: 73.99 MB / 0.8422 GB, free: 9.812 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference): time 0.002964/0.1377, allocations: 2.682 MB / 0.8448 GB, free: 7.133 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005763/0.1435, allocations: 6.605 MB / 0.8512 GB, free: 0.5273 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001158/0.1436, allocations: 0.625 kB / 0.8512 GB, free: 0.5273 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001496/0.1438, allocations: 39.58 kB / 0.8513 GB, free: 500 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.144, allocations: 116.5 kB / 0.8514 GB, free: 384 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002213/0.1442, allocations: 72.45 kB / 0.8514 GB, free: 312 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003134/0.1445, allocations: 378.8 kB / 0.8518 GB, free: 15.93 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.1447, allocations: 57.52 kB / 0.8519 GB, free: 15.88 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1448, allocations: 135.4 kB / 0.852 GB, free: 15.75 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000213/0.145, allocations: 139.9 kB / 0.8521 GB, free: 15.61 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.145e-05/0.1451, allocations: 24.62 kB / 0.8521 GB, free: 15.59 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.525e-05/0.1451, allocations: 24.78 kB / 0.8522 GB, free: 15.56 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.574e-05/0.1451, allocations: 63.69 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.935e-05/0.1452, allocations: 135.4 kB / 0.8524 GB, free: 15.37 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.1455, allocations: 291.4 kB / 0.8526 GB, free: 15.08 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.1455, allocations: 0.625 kB / 0.8526 GB, free: 15.08 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.863e-06/0.1455, allocations: 0 / 0.8526 GB, free: 15.08 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.272e-06/0.1455, allocations: 0.5938 kB / 0.8526 GB, free: 15.08 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007651/0.1463, allocations: 0.602 MB / 0.8532 GB, free: 14.43 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.69e-05/0.1463, allocations: 8.719 kB / 0.8532 GB, free: 14.42 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.801e-05/0.1464, allocations: 32.75 kB / 0.8533 GB, free: 14.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002475/0.1466, allocations: 209.7 kB / 0.8535 GB, free: 14.16 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.023e-05/0.1466, allocations: 16.75 kB / 0.8535 GB, free: 14.14 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.1467, allocations: 24.59 kB / 0.8535 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003328/0.147, allocations: 284.6 kB / 0.8538 GB, free: 13.82 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.147, allocations: 8.422 kB / 0.8538 GB, free: 13.81 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.147, allocations: 8 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.1471, allocations: 4.594 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002775/0.1473, allocations: 233.6 kB / 0.854 GB, free: 13.56 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008177/0.1481, allocations: 0.6771 MB / 0.8547 GB, free: 12.84 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000383/0.1485, allocations: 241.4 kB / 0.8549 GB, free: 12.59 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001524/0.1487, allocations: 153.5 kB / 0.8551 GB, free: 12.42 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.1487, allocations: 4 kB / 0.8551 GB, free: 12.42 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003318/0.149, allocations: 369.3 kB / 0.8554 GB, free: 12.01 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 1.764e-06/0.149, allocations: 0.625 kB / 0.8554 GB, free: 12.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.2905/0.4395, allocations: 1.077 MB / 0.8565 GB, free: 21.04 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.602e-05/0.4395, allocations: 222.4 kB / 0.8567 GB, free: 20.79 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001997/0.4397, allocations: 248.8 kB / 0.8569 GB, free: 20.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.961e-05/0.4398, allocations: 34.17 kB / 0.8569 GB, free: 20.65 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.21e-05/0.4398, allocations: 157.2 kB / 0.8571 GB, free: 20.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.411e-05/0.4399, allocations: 110.9 kB / 0.8572 GB, free: 20.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.717e-05/0.44, allocations: 75.09 kB / 0.8573 GB, free: 20.48 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.44, allocations: 347.5 kB / 0.8576 GB, free: 20.17 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001733/0.4402, allocations: 207.6 kB / 0.8578 GB, free: 20.06 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001819/0.4404, allocations: 316.4 kB / 0.8581 GB, free: 19.83 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.4407, allocations: 434.2 kB / 0.8585 GB, free: 19.57 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.594e-06/0.4407, allocations: 1.25 kB / 0.8585 GB, free: 19.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004651/0.4412, allocations: 0.5517 MB / 0.8591 GB, free: 19.33 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.4412, allocations: 91.62 kB / 0.8591 GB, free: 19.24 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.297e-06/0.4412, allocations: 6.281 kB / 0.8592 GB, free: 19.24 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.4412, allocations: 7.25 kB / 0.8592 GB, free: 19.24 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001818/0.4414, allocations: 75.5 kB / 0.8592 GB, free: 19.24 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.4414, allocations: 11.28 kB / 0.8592 GB, free: 19.24 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001189/0.4416, allocations: 17.16 kB / 0.8593 GB, free: 19.24 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.4416, allocations: 15.47 kB / 0.8593 GB, free: 19.24 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.4418, allocations: 231.8 kB / 0.8595 GB, free: 19.05 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.655e-05/0.4418, allocations: 29.47 kB / 0.8595 GB, free: 19.04 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.96e-05/0.4418, allocations: 34.2 kB / 0.8596 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.4418, allocations: 3.688 kB / 0.8596 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.4418, allocations: 0 / 0.8596 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.999e-06/0.4418, allocations: 3.047 kB / 0.8596 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006962/0.4425, allocations: 0.7617 MB / 0.8603 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4425, allocations: 0 / 0.8603 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.4427, allocations: 55.2 kB / 0.8604 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.4427, allocations: 0.625 kB / 0.8604 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.812e-05/0.4427, allocations: 16.25 kB / 0.8604 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.4427, allocations: 3.469 kB / 0.8604 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4427, allocations: 3.938 kB / 0.8604 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005739/0.4433, allocations: 0.7325 MB / 0.8611 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.147e-05/0.4433, allocations: 20.2 kB / 0.8611 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.697e-05/0.4434, allocations: 15.41 kB / 0.8611 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001/0.4435, allocations: 21.81 kB / 0.8612 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.466e-05/0.4435, allocations: 30.69 kB / 0.8612 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.4436, allocations: 12.16 kB / 0.8612 GB, free: 18.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001076/0.4437, allocations: 179.8 kB / 0.8614 GB, free: 18.22 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4437, allocations: 3.406 kB / 0.8614 GB, free: 18.22 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002274/0.4439, allocations: 86.09 kB / 0.8615 GB, free: 18.22 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.553e-05/0.444, allocations: 123.1 kB / 0.8616 GB, free: 18.14 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004704/0.4445, allocations: 0.5626 MB / 0.8621 GB, free: 17.79 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4445, allocations: 0.6875 kB / 0.8621 GB, free: 17.79 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001999/0.4447, allocations: 303.9 kB / 0.8624 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003665/0.445, allocations: 85.56 kB / 0.8625 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.4462, allocations: 0.9635 MB / 0.8634 GB, free: 17.12 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001109/0.4463, allocations: 159.4 kB / 0.8636 GB, free: 17.04 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.816e-05/0.4464, allocations: 31.52 kB / 0.8636 GB, free: 17.03 MB / 490.8 MB Notification: Performance of SimCode: time 7.82e-07/0.4464, allocations: 0 / 0.8636 GB, free: 17.03 MB / 490.8 MB Notification: Performance of Templates: time 0.005643/0.452, allocations: 4.023 MB / 0.8675 GB, free: 16.67 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.484590568579733]