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.001144/0.001144, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001648/0.002792, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.001068/0.001068, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001339/0.002408, allocations: 475.7 kB / 11.72 MB, free: 2.453 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 0.9535/0.9535, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09619/1.05, allocations: 53.67 MB / 243.3 MB, free: 15.59 MB / 250.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.7664/0.7664, allocations: 291.2 MB / 0.5226 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03042/0.7968, allocations: 21.03 MB / 0.5432 GB, free: 31.97 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: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.5446 GB, free: 30.57 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.07e-05/1.21e-05, allocations: 6.25 kB / 0.5446 GB, free: 30.57 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference): time 0.002246/0.002258, allocations: 2.934 MB / 0.5474 GB, free: 27.62 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00377/0.006029, allocations: 6.778 MB / 0.554 GB, free: 20.84 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001117/0.00614, allocations: 3.938 kB / 0.5541 GB, free: 20.83 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.84e-05/0.006209, allocations: 39.62 kB / 0.5541 GB, free: 20.79 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.006376, allocations: 127 kB / 0.5542 GB, free: 20.67 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001355/0.006512, allocations: 67.86 kB / 0.5543 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002133/0.006725, allocations: 397.9 kB / 0.5547 GB, free: 20.21 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001104/0.006836, allocations: 58.8 kB / 0.5547 GB, free: 20.16 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.007024, allocations: 254.5 kB / 0.555 GB, free: 19.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001505/0.007174, allocations: 123.6 kB / 0.5551 GB, free: 19.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.859e-05/0.007203, allocations: 28 kB / 0.5551 GB, free: 19.76 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.555e-05/0.007228, allocations: 24 kB / 0.5551 GB, free: 19.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.827e-05/0.007257, allocations: 43.81 kB / 0.5552 GB, free: 19.69 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.537e-05/0.007332, allocations: 91.81 kB / 0.5552 GB, free: 19.6 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001685/0.007501, allocations: 195.4 kB / 0.5554 GB, free: 19.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.127e-06/0.00751, allocations: 0 / 0.5554 GB, free: 19.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.00751, allocations: 3.938 kB / 0.5554 GB, free: 19.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.011e-05/0.00752, allocations: 0 / 0.5554 GB, free: 19.41 MB / 410.7 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.0005549/0.008075, allocations: 0.6321 MB / 0.5561 GB, free: 18.73 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.799e-05/0.008103, allocations: 11.89 kB / 0.5561 GB, free: 18.72 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.872e-05/0.008152, allocations: 40.91 kB / 0.5561 GB, free: 18.68 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001538/0.008306, allocations: 193.5 kB / 0.5563 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.74e-05/0.008323, allocations: 16.75 kB / 0.5563 GB, free: 18.45 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.718e-05/0.00835, allocations: 28.33 kB / 0.5563 GB, free: 18.42 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001748/0.008525, allocations: 240.7 kB / 0.5566 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.008536, allocations: 3.984 kB / 0.5566 GB, free: 18.16 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.008549, allocations: 8 kB / 0.5566 GB, free: 18.15 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.008554, allocations: 8 kB / 0.5566 GB, free: 18.14 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.97e-05/0.008654, allocations: 138.5 kB / 0.5567 GB, free: 18 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004858/0.00914, allocations: 0.5114 MB / 0.5572 GB, free: 17.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001568/0.009297, allocations: 152.1 kB / 0.5574 GB, free: 17.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.58e-05/0.009342, allocations: 104.5 kB / 0.5575 GB, free: 17.17 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.009353, allocations: 11.92 kB / 0.5575 GB, free: 17.16 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001476/0.0095, allocations: 317.4 kB / 0.5578 GB, free: 16.8 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.653e-06/0.009502, allocations: 0 / 0.5578 GB, free: 16.8 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006337/0.01014, allocations: 0.8125 MB / 0.5586 GB, free: 15.9 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.01017, allocations: 277 kB / 0.5588 GB, free: 15.57 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.783e-05/0.01027, allocations: 229 kB / 0.559 GB, free: 15.32 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.52e-05/0.01029, allocations: 33.7 kB / 0.5591 GB, free: 15.29 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.395e-05/0.01032, allocations: 137.3 kB / 0.5592 GB, free: 15.15 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.687e-05/0.01037, allocations: 119 kB / 0.5593 GB, free: 15.03 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.545e-05/0.01042, allocations: 74.16 kB / 0.5594 GB, free: 14.95 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.2298/0.2402, allocations: 339.3 kB / 0.5597 GB, free: 79.55 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.2404, allocations: 145.6 kB / 0.5599 GB, free: 79.45 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.996e-05/0.2405, allocations: 247.5 kB / 0.5601 GB, free: 79.22 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001828/0.2407, allocations: 350 kB / 0.5604 GB, free: 78.96 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.2407, allocations: 2.594 kB / 0.5604 GB, free: 78.96 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002908/0.241, allocations: 384.5 kB / 0.5608 GB, free: 78.74 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.268e-05/0.241, allocations: 91.05 kB / 0.5609 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.086e-06/0.241, allocations: 5.844 kB / 0.5609 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.241, allocations: 4.344 kB / 0.5609 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003/0.2413, allocations: 110.2 kB / 0.561 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.2413, allocations: 8.219 kB / 0.561 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001226/0.2415, allocations: 21.67 kB / 0.561 GB, free: 78.65 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.2415, allocations: 14.66 kB / 0.561 GB, free: 78.65 MB / 410.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.000145/0.2416, allocations: 205.5 kB / 0.5612 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.2417, allocations: 34.39 kB / 0.5613 GB, free: 78.47 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.797e-05/0.2417, allocations: 37.59 kB / 0.5613 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.64e-06/0.2417, allocations: 2.797 kB / 0.5613 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.2417, allocations: 1.219 kB / 0.5613 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.244e-05/0.2417, allocations: 23.92 kB / 0.5613 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.55e-05/0.2417, allocations: 8.953 kB / 0.5613 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.296e-05/0.2418, allocations: 14.16 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.2419, allocations: 16.16 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.357e-05/0.2419, allocations: 26.09 kB / 0.5614 GB, free: 78.46 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003155/0.2422, allocations: 390.2 kB / 0.5618 GB, free: 78.23 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003239/0.2426, allocations: 0.5964 MB / 0.5624 GB, free: 77.82 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001078/0.2427, allocations: 137.2 kB / 0.5625 GB, free: 77.75 MB / 410.8 MB Notification: Performance of sorting global known variables: time 7.25e-05/0.2427, allocations: 81.84 kB / 0.5626 GB, free: 77.74 MB / 410.8 MB Notification: Performance of Backend: time 1.41e-07/0.2427, allocations: 0 / 0.5626 GB, free: 77.74 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0003768/0.2431, allocations: 487.3 kB / 0.563 GB, free: 77.4 MB / 410.8 MB Notification: Performance of SimCode: time 0.007571/0.2507, allocations: 1.315 MB / 0.5643 GB, free: 76.47 MB / 410.8 MB Notification: Performance of Templates: time 0.007308/0.258, allocations: 5.278 MB / 0.5695 GB, free: 75.45 MB / 410.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 -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5897177001461387]