Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.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.0009404/0.0009404, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001321/0.002262, 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.001058/0.001058, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001338/0.002396, 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 1.001/1.001, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09571/1.096, allocations: 53.67 MB / 243.3 MB, free: 15.57 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.7863/0.7863, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0264/0.8127, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.804e-05/1.937e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.52 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid): time 0.00244/0.002459, allocations: 2.961 MB / 0.5475 GB, free: 27.55 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004612/0.007071, allocations: 6.77 MB / 0.5541 GB, free: 20.77 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001739/0.007245, allocations: 8 kB / 0.5541 GB, free: 20.76 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.881e-05/0.007344, allocations: 35.58 kB / 0.5541 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002068/0.007551, allocations: 127 kB / 0.5543 GB, free: 20.6 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001737/0.007724, allocations: 71.83 kB / 0.5543 GB, free: 20.53 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002499/0.007974, allocations: 393.9 kB / 0.5547 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.008106, allocations: 66.78 kB / 0.5548 GB, free: 20.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002306/0.008337, allocations: 238.6 kB / 0.555 GB, free: 19.85 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001791/0.008516, allocations: 131.6 kB / 0.5551 GB, free: 19.72 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.292e-05/0.008549, allocations: 24 kB / 0.5551 GB, free: 19.7 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.816e-05/0.008577, allocations: 24 kB / 0.5552 GB, free: 19.67 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.008606, allocations: 39.81 kB / 0.5552 GB, free: 19.63 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.06e-05/0.008687, allocations: 99.8 kB / 0.5553 GB, free: 19.54 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001991/0.008886, allocations: 195.3 kB / 0.5555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.191e-05/0.008898, allocations: 4 kB / 0.5555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.182e-06/0.008899, allocations: 3.938 kB / 0.5555 GB, free: 19.34 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.209e-05/0.008911, allocations: 0 / 0.5555 GB, free: 19.34 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.0006005/0.009512, allocations: 0.6321 MB / 0.5561 GB, free: 18.66 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.116e-05/0.009543, allocations: 11.89 kB / 0.5561 GB, free: 18.65 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.009595, allocations: 40.91 kB / 0.5562 GB, free: 18.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001735/0.009769, allocations: 189.5 kB / 0.5563 GB, free: 18.4 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.791e-05/0.009787, allocations: 16.69 kB / 0.5564 GB, free: 18.38 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.138e-05/0.009818, allocations: 28.33 kB / 0.5564 GB, free: 18.36 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.01001, allocations: 244.7 kB / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.15e-05/0.01002, allocations: 4 kB / 0.5566 GB, free: 18.09 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.01004, allocations: 8 kB / 0.5566 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.01004, allocations: 4 kB / 0.5566 GB, free: 18.08 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001109/0.01015, allocations: 138.5 kB / 0.5568 GB, free: 17.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005532/0.01071, allocations: 0.5114 MB / 0.5573 GB, free: 17.39 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.01088, allocations: 158.1 kB / 0.5574 GB, free: 17.21 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.956e-05/0.01093, allocations: 104.5 kB / 0.5575 GB, free: 17.1 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.036e-05/0.01094, allocations: 7.938 kB / 0.5575 GB, free: 17.09 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001704/0.01111, allocations: 318.8 kB / 0.5578 GB, free: 16.73 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.605e-06/0.01111, allocations: 0 / 0.5578 GB, free: 16.73 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007126/0.01182, allocations: 0.8217 MB / 0.5586 GB, free: 15.82 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.01186, allocations: 273 kB / 0.5589 GB, free: 15.49 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.01197, allocations: 225 kB / 0.5591 GB, free: 15.26 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.539e-05/0.01198, allocations: 33.7 kB / 0.5591 GB, free: 15.22 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.651e-05/0.01202, allocations: 137.3 kB / 0.5593 GB, free: 15.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.662e-05/0.01206, allocations: 119 kB / 0.5594 GB, free: 14.96 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.938e-05/0.01212, allocations: 74.16 kB / 0.5594 GB, free: 14.89 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.3245/0.3366, allocations: 341.6 kB / 0.5598 GB, free: 79.49 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001987/0.3368, allocations: 147.6 kB / 0.5599 GB, free: 79.39 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001053/0.3369, allocations: 252.5 kB / 0.5602 GB, free: 79.16 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.3371, allocations: 341.2 kB / 0.5605 GB, free: 78.91 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.3371, allocations: 2.625 kB / 0.5605 GB, free: 78.91 MB / 410.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003315/0.3374, allocations: 385.3 kB / 0.5609 GB, free: 78.69 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.343e-05/0.3375, allocations: 90.72 kB / 0.5609 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.3375, allocations: 4.844 kB / 0.5609 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.3375, allocations: 5.5 kB / 0.5609 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003248/0.3379, allocations: 109.9 kB / 0.5611 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3379, allocations: 9.562 kB / 0.5611 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001301/0.338, allocations: 20.27 kB / 0.5611 GB, free: 78.59 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.842e-05/0.338, allocations: 15.69 kB / 0.5611 GB, free: 78.59 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.0001667/0.3382, allocations: 210.6 kB / 0.5613 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.738e-05/0.3382, allocations: 34.39 kB / 0.5613 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.267e-05/0.3383, allocations: 35.55 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.3383, allocations: 1.266 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.3383, allocations: 1.406 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.079e-05/0.3383, allocations: 24.94 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.3384, allocations: 12.45 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.401e-05/0.3384, allocations: 11.47 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.661e-05/0.3385, allocations: 15.59 kB / 0.5614 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.79e-05/0.3386, allocations: 26.41 kB / 0.5615 GB, free: 78.41 MB / 410.8 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00035/0.3389, allocations: 395.8 kB / 0.5618 GB, free: 78.17 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0003735/0.3393, allocations: 0.5898 MB / 0.5624 GB, free: 77.77 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001306/0.3394, allocations: 138.2 kB / 0.5625 GB, free: 77.7 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.02e-05/0.3395, allocations: 85.27 kB / 0.5626 GB, free: 77.68 MB / 410.8 MB Notification: Performance of Backend: time 4.41e-07/0.3395, allocations: 1.938 kB / 0.5626 GB, free: 77.68 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0005105/0.34, allocations: 478.1 kB / 0.5631 GB, free: 77.35 MB / 410.8 MB Notification: Performance of SimCode: time 0.00779/0.3478, allocations: 1.327 MB / 0.5644 GB, free: 76.41 MB / 410.8 MB Notification: Performance of Templates: time 0.009494/0.3573, allocations: 5.26 MB / 0.5695 GB, free: 75.43 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.630364811979234]