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.00241/0.00241, allocations: 84.44 kB / 19.18 MB, free: 0.7383 MB / 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.002758/0.002758, allocations: 173.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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.67/1.67, allocations: 177.1 MB / 202.8 MB, free: 5.77 MB / 186.7 MB " [Timeout remaining time 178] 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 1.339/1.339, allocations: 292.9 MB / 0.5392 GB, free: 49.81 MB / 410.7 MB " [Timeout remaining time 178] 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 2.134e-06/2.134e-06, allocations: 0 / 0.6999 GB, free: 8.586 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.712e-05/2.926e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference): time 0.004889/0.004918, allocations: 2.692 MB / 0.7025 GB, free: 5.871 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.01061/0.01553, allocations: 6.604 MB / 0.709 GB, free: 15.26 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003625/0.01589, allocations: 0 / 0.709 GB, free: 15.26 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002704/0.01616, allocations: 43.56 kB / 0.709 GB, free: 15.21 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0006308/0.01679, allocations: 130.9 kB / 0.7091 GB, free: 15.09 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000423/0.01722, allocations: 67.84 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0008587/0.01808, allocations: 397.8 kB / 0.7096 GB, free: 14.63 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002639/0.01834, allocations: 52.91 kB / 0.7096 GB, free: 14.58 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005426/0.01888, allocations: 207.5 kB / 0.7098 GB, free: 14.38 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004641/0.01935, allocations: 119.6 kB / 0.7099 GB, free: 14.26 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 9.163e-05/0.01944, allocations: 24 kB / 0.7099 GB, free: 14.24 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.694e-05/0.01954, allocations: 24 kB / 0.71 GB, free: 14.21 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0001077/0.01964, allocations: 67.69 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002568/0.0199, allocations: 107.8 kB / 0.7101 GB, free: 14.04 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0006302/0.02053, allocations: 299 kB / 0.7104 GB, free: 13.75 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.02054, allocations: 3.984 kB / 0.7104 GB, free: 13.75 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.252e-06/0.02054, allocations: 0 / 0.7104 GB, free: 13.75 MB / 426.8 MB Notification: Performance of Transformations before backend: time 1.157e-05/0.02055, allocations: 0 / 0.7104 GB, free: 13.75 MB / 426.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.001801/0.02235, allocations: 0.5885 MB / 0.711 GB, free: 13.11 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.008e-05/0.0224, allocations: 12.03 kB / 0.711 GB, free: 13.09 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000133/0.02254, allocations: 32.75 kB / 0.711 GB, free: 13.06 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005245/0.02306, allocations: 208.8 kB / 0.7112 GB, free: 12.83 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.072e-05/0.02311, allocations: 20.75 kB / 0.7113 GB, free: 12.81 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.219e-05/0.02319, allocations: 20.38 kB / 0.7113 GB, free: 12.79 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009456/0.02414, allocations: 292.4 kB / 0.7116 GB, free: 12.49 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.879e-05/0.02418, allocations: 11.94 kB / 0.7116 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.63e-05/0.02423, allocations: 11.94 kB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.071e-05/0.02425, allocations: 12 kB / 0.7116 GB, free: 12.45 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009148/0.02516, allocations: 240.5 kB / 0.7118 GB, free: 12.2 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002128/0.02729, allocations: 0.6678 MB / 0.7125 GB, free: 11.5 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009136/0.0282, allocations: 246 kB / 0.7127 GB, free: 11.23 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004091/0.02861, allocations: 144.5 kB / 0.7128 GB, free: 11.07 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.083e-05/0.02863, allocations: 4 kB / 0.7129 GB, free: 11.07 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000734/0.02937, allocations: 367.7 kB / 0.7132 GB, free: 10.67 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.545e-06/0.02937, allocations: 0 / 0.7132 GB, free: 10.67 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.00297/0.03234, allocations: 1.078 MB / 0.7143 GB, free: 9.496 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002094/0.03255, allocations: 213.6 kB / 0.7145 GB, free: 9.238 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004303/0.03298, allocations: 253.8 kB / 0.7147 GB, free: 8.984 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 5.39e-05/0.03303, allocations: 33.7 kB / 0.7147 GB, free: 8.945 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001705/0.0332, allocations: 152.9 kB / 0.7149 GB, free: 8.789 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001627/0.03337, allocations: 115.1 kB / 0.715 GB, free: 8.676 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001802/0.03355, allocations: 74.19 kB / 0.7151 GB, free: 8.594 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002391/0.03379, allocations: 346.7 kB / 0.7154 GB, free: 8.246 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004964/0.03428, allocations: 207.9 kB / 0.7156 GB, free: 8.023 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005743/0.03486, allocations: 315.2 kB / 0.7159 GB, free: 7.652 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.03569, allocations: 435 kB / 0.7163 GB, free: 7.16 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.0357, allocations: 0 / 0.7163 GB, free: 7.16 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009611/0.03666, allocations: 0.5498 MB / 0.7168 GB, free: 6.566 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.522e-05/0.03674, allocations: 95.61 kB / 0.7169 GB, free: 6.457 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.657e-06/0.03675, allocations: 3.984 kB / 0.7169 GB, free: 6.453 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.022e-05/0.03678, allocations: 4 kB / 0.7169 GB, free: 6.449 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003241/0.03711, allocations: 79.89 kB / 0.717 GB, free: 6.371 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.03712, allocations: 7.938 kB / 0.717 GB, free: 6.363 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002401/0.03736, allocations: 19.98 kB / 0.717 GB, free: 6.344 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.577e-05/0.0374, allocations: 20.22 kB / 0.7171 GB, free: 6.324 MB / 426.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.0002723/0.03767, allocations: 219 kB / 0.7173 GB, free: 6.09 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.03772, allocations: 31.81 kB / 0.7173 GB, free: 6.059 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.603e-05/0.03781, allocations: 34.95 kB / 0.7173 GB, free: 6.023 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.03781, allocations: 3.938 kB / 0.7173 GB, free: 6.02 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.314e-06/0.03782, allocations: 4 kB / 0.7173 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.497e-06/0.03783, allocations: 7.922 kB / 0.7174 GB, free: 6.008 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001304/0.03913, allocations: 0.7639 MB / 0.7181 GB, free: 5.184 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.03913, allocations: 0 / 0.7181 GB, free: 5.184 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003016/0.03944, allocations: 59.91 kB / 0.7182 GB, free: 5.125 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/0.03944, allocations: 7.984 kB / 0.7182 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.05e-05/0.03947, allocations: 11.98 kB / 0.7182 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.03948, allocations: 0 / 0.7182 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.03948, allocations: 3.938 kB / 0.7182 GB, free: 5.102 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00123/0.04071, allocations: 0.7192 MB / 0.7189 GB, free: 4.324 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.962e-05/0.04077, allocations: 31.86 kB / 0.7189 GB, free: 4.293 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.836e-05/0.04083, allocations: 11.94 kB / 0.7189 GB, free: 4.281 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002105/0.04104, allocations: 15.98 kB / 0.7189 GB, free: 4.266 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001036/0.04114, allocations: 35.89 kB / 0.719 GB, free: 4.23 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.729e-05/0.04117, allocations: 11.98 kB / 0.719 GB, free: 4.219 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002072/0.04138, allocations: 177.2 kB / 0.7192 GB, free: 4.047 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.04138, allocations: 0 / 0.7192 GB, free: 4.047 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003854/0.04176, allocations: 88 kB / 0.7192 GB, free: 3.961 MB / 426.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 0.000172/0.04194, allocations: 127 kB / 0.7194 GB, free: 3.832 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009562/0.04289, allocations: 0.5609 MB / 0.7199 GB, free: 3.203 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.04289, allocations: 0 / 0.7199 GB, free: 3.203 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2018/0.2447, allocations: 299.8 kB / 0.7202 GB, free: 37.11 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007439/0.2454, allocations: 87.28 kB / 0.7203 GB, free: 37.11 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001367/0.2468, allocations: 0.7944 MB / 0.721 GB, free: 36.71 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001309/0.2469, allocations: 159.5 kB / 0.7212 GB, free: 36.63 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001344/0.247, allocations: 34.91 kB / 0.7212 GB, free: 36.62 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.242e-05/0.2471, allocations: 27.38 kB / 0.7213 GB, free: 36.61 MB / 426.8 MB Notification: Performance of SimCode: time 1.142e-06/0.2471, allocations: 0 / 0.7213 GB, free: 36.61 MB / 426.8 MB Notification: Performance of Templates: time 0.01026/0.2574, allocations: 4.559 MB / 0.7257 GB, free: 36.2 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.018919717986137]