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.0009441/0.0009441, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009164/0.0009164, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9396/0.9396, allocations: 177.1 MB / 203.5 MB, free: 5.77 MB / 186.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.7306/0.7306, allocations: 291.1 MB / 0.5382 GB, free: 51.8 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.492e-06/1.492e-06, allocations: 0 / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.463e-05/2.612e-05, allocations: 5.094 kB / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference): time 0.00587/0.005896, allocations: 2.698 MB / 0.7 GB, free: 7.664 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.008027/0.01392, allocations: 6.611 MB / 0.7064 GB, free: 1.043 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001429/0.01407, allocations: 4 kB / 0.7064 GB, free: 1.039 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001301/0.0142, allocations: 35.58 kB / 0.7065 GB, free: 1.004 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.01444, allocations: 127 kB / 0.7066 GB, free: 0.8789 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.01467, allocations: 75.84 kB / 0.7067 GB, free: 0.8047 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002771/0.01495, allocations: 389.8 kB / 0.707 GB, free: 432 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001486/0.01509, allocations: 60.81 kB / 0.7071 GB, free: 376 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.01527, allocations: 203.5 kB / 0.7073 GB, free: 172 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001952/0.01547, allocations: 119.6 kB / 0.7074 GB, free: 52 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.0155, allocations: 24 kB / 0.7074 GB, free: 28 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.296e-05/0.01553, allocations: 24 kB / 0.7075 GB, free: 4 kB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 6.591e-05/0.0156, allocations: 59.88 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001136/0.01571, allocations: 111.7 kB / 0.7076 GB, free: 15.83 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003014/0.01601, allocations: 302.9 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.01602, allocations: 4 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.073e-06/0.01602, allocations: 0 / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of Transformations before backend: time 4.539e-06/0.01602, allocations: 0 / 0.7079 GB, free: 15.54 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.006922/0.02294, allocations: 0.5885 MB / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/0.02299, allocations: 12.03 kB / 0.7085 GB, free: 14.88 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.615e-05/0.02307, allocations: 32.75 kB / 0.7085 GB, free: 14.85 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002707/0.02334, allocations: 212.7 kB / 0.7087 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.605e-05/0.02336, allocations: 16.75 kB / 0.7087 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.449e-05/0.02341, allocations: 24.38 kB / 0.7088 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004212/0.02383, allocations: 292.5 kB / 0.709 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.02385, allocations: 7.953 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.423e-05/0.02387, allocations: 8 kB / 0.7091 GB, free: 14.26 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.195e-06/0.02388, allocations: 4 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003603/0.02424, allocations: 236.4 kB / 0.7093 GB, free: 14.01 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009951/0.02524, allocations: 0.6757 MB / 0.71 GB, free: 13.29 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00347/0.02871, allocations: 238 kB / 0.7102 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.0289, allocations: 152.4 kB / 0.7103 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.02891, allocations: 0 / 0.7103 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003945/0.02931, allocations: 369.2 kB / 0.7107 GB, free: 12.46 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.342e-06/0.02931, allocations: 0 / 0.7107 GB, free: 12.46 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001609/0.03092, allocations: 1.087 MB / 0.7117 GB, free: 11.29 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001012/0.03102, allocations: 221.6 kB / 0.712 GB, free: 11.02 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.03124, allocations: 241.9 kB / 0.7122 GB, free: 10.78 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.722e-05/0.03127, allocations: 33.7 kB / 0.7122 GB, free: 10.74 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.478e-05/0.03137, allocations: 156.8 kB / 0.7124 GB, free: 10.58 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003085/0.03445, allocations: 123 kB / 0.7125 GB, free: 10.46 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.03455, allocations: 70.2 kB / 0.7125 GB, free: 10.38 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.03466, allocations: 342.7 kB / 0.7129 GB, free: 10.04 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002474/0.03491, allocations: 207.9 kB / 0.7131 GB, free: 9.812 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002866/0.0352, allocations: 319.1 kB / 0.7134 GB, free: 9.438 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004627/0.03566, allocations: 431.1 kB / 0.7138 GB, free: 8.949 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.03566, allocations: 4 kB / 0.7138 GB, free: 8.945 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0006664/0.03633, allocations: 0.5461 MB / 0.7143 GB, free: 8.355 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.064e-05/0.0364, allocations: 97.12 kB / 0.7144 GB, free: 8.242 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/0.03641, allocations: 4 kB / 0.7144 GB, free: 8.238 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.03643, allocations: 7.938 kB / 0.7144 GB, free: 8.23 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.03665, allocations: 75.89 kB / 0.7145 GB, free: 8.156 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.03666, allocations: 8 kB / 0.7145 GB, free: 8.148 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001549/0.03682, allocations: 15.98 kB / 0.7145 GB, free: 8.133 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.466e-05/0.03684, allocations: 20 kB / 0.7145 GB, free: 8.113 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.0002109/0.03705, allocations: 227 kB / 0.7148 GB, free: 7.871 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.044e-05/0.03709, allocations: 31.81 kB / 0.7148 GB, free: 7.84 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.109e-05/0.03714, allocations: 30.95 kB / 0.7148 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.03715, allocations: 4 kB / 0.7148 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.03715, allocations: 0 / 0.7148 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.03716, allocations: 0 / 0.7148 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.04101, allocations: 0.7639 MB / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.04101, allocations: 0 / 0.7156 GB, free: 6.98 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001511/0.04116, allocations: 59.95 kB / 0.7156 GB, free: 6.922 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.04116, allocations: 0 / 0.7156 GB, free: 6.922 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.04118, allocations: 8 kB / 0.7156 GB, free: 6.914 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.04118, allocations: 4 kB / 0.7156 GB, free: 6.91 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.04119, allocations: 7.875 kB / 0.7156 GB, free: 6.902 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007854/0.04197, allocations: 0.723 MB / 0.7164 GB, free: 6.121 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.961e-05/0.04201, allocations: 23.81 kB / 0.7164 GB, free: 6.098 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.698e-05/0.04206, allocations: 16.05 kB / 0.7164 GB, free: 6.082 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.04219, allocations: 20.11 kB / 0.7164 GB, free: 6.062 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.067e-05/0.04229, allocations: 39.88 kB / 0.7164 GB, free: 6.023 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.942e-05/0.0423, allocations: 8 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001405/0.04244, allocations: 181.2 kB / 0.7166 GB, free: 5.84 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.04245, allocations: 3.938 kB / 0.7166 GB, free: 5.836 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003316/0.04278, allocations: 92 kB / 0.7167 GB, free: 5.746 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.0001386/0.04292, allocations: 118.9 kB / 0.7168 GB, free: 5.625 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001177/0.04409, allocations: 0.5687 MB / 0.7174 GB, free: 4.988 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.04409, allocations: 0 / 0.7174 GB, free: 4.988 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002851/0.04438, allocations: 305.8 kB / 0.7177 GB, free: 4.656 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004732/0.04485, allocations: 83.47 kB / 0.7178 GB, free: 4.578 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001224/0.04608, allocations: 0.8163 MB / 0.7186 GB, free: 3.719 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001056/0.04618, allocations: 164.3 kB / 0.7187 GB, free: 3.535 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.805e-05/0.04625, allocations: 28.5 kB / 0.7187 GB, free: 3.508 MB / 426.8 MB Notification: Performance of SimCode: time 6.61e-07/0.04625, allocations: 0 / 0.7187 GB, free: 3.508 MB / 426.8 MB Notification: Performance of Templates: time 0.1923/0.2385, allocations: 4.02 MB / 0.7227 GB, free: 36.8 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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid_Li2021_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.921592705883086]