Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium.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.001782/0.001782, allocations: 92.83 kB / 20.19 MB, free: 4.332 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.001875/0.001875, allocations: 168.9 kB / 23.49 MB, free: 1.031 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.466/1.466, allocations: 177.1 MB / 203.8 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 3.307/3.307, allocations: 274.5 MB / 0.5222 GB, free: 14.17 MB / 458.7 MB " [Timeout remaining time 176] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.Examples.PK_Lithium.PK_1C_Lithium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium") translateModel(Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.839e-05/1.839e-05, allocations: 5.828 kB / 0.6489 GB, free: 38.28 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium): time 0.003927/0.003945, allocations: 4.026 MB / 0.6529 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001089/0.005035, allocations: 0.7136 MB / 0.6536 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001179/0.005152, allocations: 3.188 kB / 0.6536 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.005269, allocations: 44.38 kB / 0.6536 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002144/0.005484, allocations: 100.9 kB / 0.6537 GB, free: 35.05 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002943/0.005778, allocations: 104.2 kB / 0.6538 GB, free: 34.99 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.00033/0.006108, allocations: 415.5 kB / 0.6542 GB, free: 34.78 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001453/0.006253, allocations: 57.38 kB / 0.6543 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000194/0.006447, allocations: 190.9 kB / 0.6544 GB, free: 34.67 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.006679, allocations: 111.8 kB / 0.6545 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.33e-05/0.006722, allocations: 26.56 kB / 0.6546 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.107e-05/0.006773, allocations: 27.06 kB / 0.6546 GB, free: 34.64 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0003037/0.007077, allocations: 473.5 kB / 0.655 GB, free: 34.37 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.0001126/0.007189, allocations: 266.6 kB / 0.6553 GB, free: 34.21 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 5.87e-05/0.007248, allocations: 28.56 kB / 0.6553 GB, free: 34.21 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.124e-05/0.007279, allocations: 6.156 kB / 0.6553 GB, free: 34.21 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 (46) * Number of variables: 48 (48) Notification: Performance of [SIM] Bindings: time 0.001063/0.008343, allocations: 1.244 MB / 0.6565 GB, free: 33.3 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001568/0.0085, allocations: 151.2 kB / 0.6567 GB, free: 33.23 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.0005959/0.009096, allocations: 0.6666 MB / 0.6573 GB, free: 32.78 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0001761/0.009272, allocations: 134.2 kB / 0.6575 GB, free: 32.69 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.001154/0.01043, allocations: 0.856 MB / 0.6583 GB, free: 32.14 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0001221/0.01055, allocations: 122.1 kB / 0.6584 GB, free: 32.05 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 8.145e-05/0.01063, allocations: 97.06 kB / 0.6585 GB, free: 31.96 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0004276/0.01106, allocations: 346.5 kB / 0.6588 GB, free: 31.71 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0001662/0.01122, allocations: 113.9 kB / 0.659 GB, free: 31.66 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0003729/0.0116, allocations: 350.9 kB / 0.6593 GB, free: 31.44 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.001038/0.01263, allocations: 0.7752 MB / 0.66 GB, free: 31.06 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003898/0.01302, allocations: 0.5318 MB / 0.6606 GB, free: 30.74 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.0006324/0.01366, allocations: 459.3 kB / 0.661 GB, free: 30.46 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.0005633/0.01422, allocations: 0.7825 MB / 0.6618 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 4.467e-05/0.01426, allocations: 30.98 kB / 0.6618 GB, free: 29.96 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 0.0001404/0.0144, allocations: 181.5 kB / 0.662 GB, free: 29.84 MB / 0.5262 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real periodicDose.absorptionLumen.Cmin (min = -1e-9) [DISC] (1) discrete Real periodicDose.absorptionLumen.Cmax (min = -1e-9) [DISC] (1) discrete Real central.Cmin (min = -1e-9) [DISC] (1) discrete Real central.Cmax (min = -1e-9) Following equations were created by fixing variables: [SCAL] (1) $PRE.central.rising = $START.central.rising; ($RES_SRT_102) [SCAL] (1) $PRE.periodicDose.absorptionLumen.rising = $START.periodicDose.absorptionLumen.rising; ($RES_SRT_101) [SCAL] (1) periodicDose.variableDose.TotalCumulativeMass = $START.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_100) [SCAL] (1) periodicDose.absorptionLumen.AUC = $START.periodicDose.absorptionLumen.AUC; ($RES_SRT_99) [SCAL] (1) periodicDose.TotalCumulativeMass = $START.periodicDose.TotalCumulativeMass; ($RES_SRT_98) [SCAL] (1) central.AUC = $START.central.AUC; ($RES_SRT_97) Use -d=bltdump for more verbose debug output. Error: Internal error NBInitialization.main failed to apply modules! " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 5.72402862412855]