Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral.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.001789/0.001789, allocations: 87.56 kB / 20.18 MB, free: 4.367 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.00188/0.00188, allocations: 168.9 kB / 23.49 MB, free: 1.062 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.456/1.456, allocations: 177.1 MB / 203.8 MB, free: 5.594 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.303/3.303, allocations: 274.5 MB / 0.5222 GB, free: 14.12 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.Pharmacokinetic.Models.PK_2C_enteral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.573e-05/1.573e-05, allocations: 2.312 kB / 0.6479 GB, free: 38.95 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PK_2C_enteral): time 0.003472/0.003487, allocations: 3.392 MB / 0.6513 GB, free: 36.75 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001142/0.004629, allocations: 0.8082 MB / 0.652 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001264/0.004755, allocations: 2.344 kB / 0.652 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/0.004886, allocations: 48.3 kB / 0.6521 GB, free: 36.18 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002548/0.005141, allocations: 148.9 kB / 0.6522 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002873/0.005428, allocations: 120.7 kB / 0.6523 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0003983/0.005826, allocations: 0.5319 MB / 0.6529 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001585/0.005985, allocations: 69.91 kB / 0.6529 GB, free: 35.73 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002298/0.006215, allocations: 255.4 kB / 0.6532 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002563/0.006471, allocations: 148.8 kB / 0.6533 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 5.163e-05/0.006522, allocations: 34.28 kB / 0.6534 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.148e-05/0.006584, allocations: 36.56 kB / 0.6534 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0003804/0.006964, allocations: 0.6113 MB / 0.654 GB, free: 35.23 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.0001409/0.007105, allocations: 342.2 kB / 0.6543 GB, free: 35.03 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.453e-05/0.00717, allocations: 42.81 kB / 0.6544 GB, free: 35.03 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.706e-05/0.007197, allocations: 7.656 kB / 0.6544 GB, free: 35.03 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: 67 (64) * Number of variables: 67 (67) Notification: Performance of [SIM] Bindings: time 0.001324/0.008521, allocations: 1.582 MB / 0.6559 GB, free: 33.92 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001724/0.008693, allocations: 198 kB / 0.6561 GB, free: 33.81 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.0007131/0.009406, allocations: 0.8636 MB / 0.6569 GB, free: 33.25 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0001765/0.009583, allocations: 152 kB / 0.6571 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.001334/0.01092, allocations: 1.153 MB / 0.6582 GB, free: 32.45 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0001252/0.01104, allocations: 136.8 kB / 0.6583 GB, free: 32.37 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 9.113e-05/0.01113, allocations: 120.8 kB / 0.6585 GB, free: 32.27 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0004268/0.01156, allocations: 409.2 kB / 0.6588 GB, free: 31.99 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0001829/0.01174, allocations: 144.9 kB / 0.659 GB, free: 31.93 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0004114/0.01215, allocations: 424.3 kB / 0.6594 GB, free: 31.67 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.0011/0.01325, allocations: 0.9611 MB / 0.6603 GB, free: 31.23 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004155/0.01367, allocations: 0.6645 MB / 0.661 GB, free: 30.84 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.0006751/0.01434, allocations: 0.5513 MB / 0.6615 GB, free: 30.52 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.0006286/0.01497, allocations: 0.9897 MB / 0.6625 GB, free: 29.92 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 5.078e-05/0.01502, allocations: 32.78 kB / 0.6625 GB, free: 29.9 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 0.000153/0.01518, allocations: 235.7 kB / 0.6627 GB, free: 29.75 MB / 0.5262 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real peripheral.Cmin (min = -1e-9) [DISC] (1) discrete Real peripheral.Cmax (min = -1e-9) [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_139) [SCAL] (1) $PRE.periodicDose.absorptionLumen.rising = $START.periodicDose.absorptionLumen.rising; ($RES_SRT_138) [SCAL] (1) $PRE.peripheral.rising = $START.peripheral.rising; ($RES_SRT_137) [SCAL] (1) peripheral.AUC = $START.peripheral.AUC; ($RES_SRT_136) [SCAL] (1) periodicDose.variableDose.TotalCumulativeMass = $START.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_135) [SCAL] (1) periodicDose.absorptionLumen.AUC = $START.periodicDose.absorptionLumen.AUC; ($RES_SRT_134) [SCAL] (1) periodicDose.TotalCumulativeMass = $START.periodicDose.TotalCumulativeMass; ($RES_SRT_133) [SCAL] (1) central.AUC = $START.central.AUC; ($RES_SRT_132) 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.738692660117522]