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.002645/0.002645, allocations: 84.44 kB / 19.17 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.002897/0.002897, allocations: 169.9 kB / 22.46 MB, free: 2.102 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.64/1.64, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.292/1.292, allocations: 292.9 MB / 0.5392 GB, free: 50.21 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,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.302e-06/1.302e-06, allocations: 0 / 0.6999 GB, free: 8.516 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.148e-05/3.278e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.512 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid): time 0.003078/0.003111, allocations: 2.706 MB / 0.7026 GB, free: 5.785 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006065/0.009176, allocations: 6.604 MB / 0.709 GB, free: 15.17 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002051/0.009381, allocations: 4 kB / 0.709 GB, free: 15.17 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001859/0.009567, allocations: 39.56 kB / 0.709 GB, free: 15.13 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003963/0.009963, allocations: 138.8 kB / 0.7092 GB, free: 14.99 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002872/0.01025, allocations: 67.84 kB / 0.7092 GB, free: 14.93 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005102/0.01076, allocations: 397.8 kB / 0.7096 GB, free: 14.54 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001956/0.01096, allocations: 48.91 kB / 0.7097 GB, free: 14.49 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002993/0.01126, allocations: 203.5 kB / 0.7099 GB, free: 14.29 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002949/0.01155, allocations: 119.6 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.062e-05/0.0116, allocations: 24 kB / 0.71 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.99e-05/0.01166, allocations: 27.94 kB / 0.71 GB, free: 14.12 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 7.21e-05/0.01173, allocations: 63.69 kB / 0.7101 GB, free: 14.06 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000168/0.0119, allocations: 115.8 kB / 0.7102 GB, free: 13.95 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003969/0.0123, allocations: 295 kB / 0.7105 GB, free: 13.66 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.0123, allocations: 0 / 0.7105 GB, free: 13.66 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.663e-06/0.0123, allocations: 0 / 0.7105 GB, free: 13.66 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.761e-06/0.01231, allocations: 3.938 kB / 0.7105 GB, free: 13.66 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.001215/0.01352, allocations: 0.5963 MB / 0.7111 GB, free: 13.01 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.01356, allocations: 8.031 kB / 0.7111 GB, free: 13 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.817e-05/0.01365, allocations: 32.75 kB / 0.7111 GB, free: 12.97 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003535/0.014, allocations: 212.8 kB / 0.7113 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.631e-05/0.01403, allocations: 12.75 kB / 0.7113 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.522e-05/0.01408, allocations: 28.38 kB / 0.7113 GB, free: 12.7 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005558/0.01464, allocations: 292.5 kB / 0.7116 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.196e-05/0.01466, allocations: 3.953 kB / 0.7116 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.01469, allocations: 8 kB / 0.7116 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.884e-06/0.0147, allocations: 4 kB / 0.7116 GB, free: 12.38 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005306/0.01523, allocations: 240.4 kB / 0.7119 GB, free: 12.12 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001327/0.01656, allocations: 0.6833 MB / 0.7125 GB, free: 11.4 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006275/0.01718, allocations: 234.7 kB / 0.7128 GB, free: 11.15 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002887/0.01747, allocations: 152.4 kB / 0.7129 GB, free: 10.98 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.732e-05/0.01749, allocations: 4 kB / 0.7129 GB, free: 10.98 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005689/0.01806, allocations: 365.5 kB / 0.7133 GB, free: 10.57 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.01806, allocations: 0 / 0.7133 GB, free: 10.57 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002301/0.02036, allocations: 1.074 MB / 0.7143 GB, free: 9.41 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001741/0.02054, allocations: 221.6 kB / 0.7145 GB, free: 9.145 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003126/0.02085, allocations: 241.9 kB / 0.7147 GB, free: 8.902 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.0209, allocations: 41.69 kB / 0.7148 GB, free: 8.855 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001472/0.02105, allocations: 152.9 kB / 0.7149 GB, free: 8.699 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/0.02116, allocations: 115.1 kB / 0.715 GB, free: 8.586 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001636/0.02132, allocations: 70.19 kB / 0.7151 GB, free: 8.508 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002349/0.02156, allocations: 350.8 kB / 0.7154 GB, free: 8.156 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004876/0.02204, allocations: 211.9 kB / 0.7156 GB, free: 7.93 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006746/0.02272, allocations: 315.1 kB / 0.7159 GB, free: 7.562 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.02384, allocations: 431.1 kB / 0.7164 GB, free: 7.074 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.02384, allocations: 0 / 0.7164 GB, free: 7.074 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001551/0.02539, allocations: 0.5498 MB / 0.7169 GB, free: 6.48 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001258/0.02552, allocations: 89.88 kB / 0.717 GB, free: 6.375 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.02553, allocations: 0 / 0.717 GB, free: 6.375 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.136e-05/0.02556, allocations: 8 kB / 0.717 GB, free: 6.367 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005665/0.02613, allocations: 79.83 kB / 0.7171 GB, free: 6.289 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.819e-05/0.02614, allocations: 7.984 kB / 0.7171 GB, free: 6.281 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004025/0.02655, allocations: 28.17 kB / 0.7171 GB, free: 6.254 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.053e-05/0.0266, allocations: 16 kB / 0.7171 GB, free: 6.238 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.0003432/0.02694, allocations: 231 kB / 0.7173 GB, free: 5.988 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.406e-05/0.02699, allocations: 27.81 kB / 0.7174 GB, free: 5.961 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.903e-05/0.02707, allocations: 34.95 kB / 0.7174 GB, free: 5.926 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.02708, allocations: 4 kB / 0.7174 GB, free: 5.922 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.02709, allocations: 0 / 0.7174 GB, free: 5.922 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/0.02709, allocations: 3.984 kB / 0.7174 GB, free: 5.918 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001297/0.02839, allocations: 0.7677 MB / 0.7182 GB, free: 5.09 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/0.02839, allocations: 4 kB / 0.7182 GB, free: 5.086 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000293/0.02869, allocations: 47.97 kB / 0.7182 GB, free: 5.039 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.02869, allocations: 4 kB / 0.7182 GB, free: 5.035 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.02872, allocations: 11.98 kB / 0.7182 GB, free: 5.023 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.02872, allocations: 0 / 0.7182 GB, free: 5.023 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/0.02873, allocations: 3.938 kB / 0.7182 GB, free: 5.02 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00122/0.02995, allocations: 0.7269 MB / 0.7189 GB, free: 4.234 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.03, allocations: 27.8 kB / 0.719 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.93e-05/0.03006, allocations: 12.06 kB / 0.719 GB, free: 4.195 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002092/0.03027, allocations: 15.98 kB / 0.719 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001137/0.03038, allocations: 31.89 kB / 0.719 GB, free: 4.148 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.817e-05/0.03041, allocations: 15.98 kB / 0.719 GB, free: 4.133 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002073/0.03062, allocations: 177.2 kB / 0.7192 GB, free: 3.961 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.03062, allocations: 0 / 0.7192 GB, free: 3.961 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003648/0.03098, allocations: 84 kB / 0.7193 GB, free: 3.879 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.000178/0.03116, allocations: 134.9 kB / 0.7194 GB, free: 3.742 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.2652/0.2964, allocations: 0.5546 MB / 0.7199 GB, free: 37.08 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.2964, allocations: 0 / 0.7199 GB, free: 37.08 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.2968, allocations: 306 kB / 0.7202 GB, free: 36.89 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000655/0.2974, allocations: 86.28 kB / 0.7203 GB, free: 36.89 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001356/0.2988, allocations: 0.7883 MB / 0.7211 GB, free: 36.48 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001472/0.2989, allocations: 158.8 kB / 0.7212 GB, free: 36.41 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001494/0.2991, allocations: 40.91 kB / 0.7213 GB, free: 36.4 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.87e-05/0.2992, allocations: 31.45 kB / 0.7213 GB, free: 36.39 MB / 426.8 MB Notification: Performance of SimCode: time 1.142e-06/0.2992, allocations: 0 / 0.7213 GB, free: 36.39 MB / 426.8 MB Notification: Performance of Templates: time 0.01006/0.3092, allocations: 4.555 MB / 0.7258 GB, free: 35.96 MB / 426.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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B02A_Antifibrinolytics.B02AA02_TranexamicAcid.TranexamicAcid.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.88961469498463]