Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C.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.001844/0.001844, 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.001978/0.001978, 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.472/1.472, 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.305/3.305, 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.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.27e-05/1.27e-05, allocations: 5.406 kB / 0.6481 GB, free: 38.96 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AB03_Fentanyl.Fentanyl_3C): time 0.003154/0.003166, allocations: 3.339 MB / 0.6514 GB, free: 36.79 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001009/0.004176, allocations: 0.7484 MB / 0.6521 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000125/0.004301, allocations: 5.031 kB / 0.6521 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001282/0.004429, allocations: 50.14 kB / 0.6522 GB, free: 36.27 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002636/0.004693, allocations: 149.2 kB / 0.6523 GB, free: 36.2 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002143/0.004907, allocations: 95.05 kB / 0.6524 GB, free: 36.14 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.000383/0.00529, allocations: 0.5199 MB / 0.6529 GB, free: 35.87 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000164/0.005454, allocations: 73.05 kB / 0.653 GB, free: 35.83 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002203/0.005674, allocations: 248.1 kB / 0.6532 GB, free: 35.74 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002455/0.00592, allocations: 148.8 kB / 0.6533 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.904e-05/0.005969, allocations: 32.81 kB / 0.6534 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.461e-05/0.006033, allocations: 32.16 kB / 0.6534 GB, free: 35.69 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0004272/0.00646, allocations: 0.5892 MB / 0.654 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.000164/0.006625, allocations: 341.5 kB / 0.6543 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 7.713e-05/0.006702, allocations: 43.12 kB / 0.6544 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.995e-05/0.006732, allocations: 11.86 kB / 0.6544 GB, free: 35.15 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: 68 (65) * Number of variables: 68 (68) Notification: Performance of [SIM] Bindings: time 0.001258/0.00799, allocations: 1.543 MB / 0.6559 GB, free: 34.08 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001611/0.008151, allocations: 183.5 kB / 0.656 GB, free: 33.98 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.0006378/0.008788, allocations: 0.8242 MB / 0.6568 GB, free: 33.46 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0001688/0.008957, allocations: 163.8 kB / 0.657 GB, free: 33.37 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.001305/0.01026, allocations: 1.165 MB / 0.6581 GB, free: 32.66 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0001215/0.01038, allocations: 134 kB / 0.6583 GB, free: 32.57 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 8.794e-05/0.01047, allocations: 120.2 kB / 0.6584 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0003918/0.01086, allocations: 379.3 kB / 0.6587 GB, free: 32.22 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0001745/0.01104, allocations: 145.7 kB / 0.6589 GB, free: 32.16 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0004044/0.01144, allocations: 400.8 kB / 0.6593 GB, free: 31.92 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.001032/0.01247, allocations: 0.9319 MB / 0.6602 GB, free: 31.49 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004017/0.01288, allocations: 0.6151 MB / 0.6608 GB, free: 31.14 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.0006167/0.01349, allocations: 0.5126 MB / 0.6613 GB, free: 30.84 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.0005575/0.01405, allocations: 0.9101 MB / 0.6622 GB, free: 30.3 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 4.676e-05/0.0141, allocations: 31.38 kB / 0.6622 GB, free: 30.29 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 0.0001401/0.01424, allocations: 209.6 kB / 0.6624 GB, free: 30.16 MB / 0.5262 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real peripheral1.Cmin (min = -1e-9) [DISC] (1) discrete Real peripheral1.Cmax (min = -1e-9) [DISC] (1) discrete Real peripheral.Cmin (min = -1e-9) [DISC] (1) discrete Real peripheral.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_138) [SCAL] (1) $PRE.peripheral.rising = $START.peripheral.rising; ($RES_SRT_137) [SCAL] (1) $PRE.peripheral1.rising = $START.peripheral1.rising; ($RES_SRT_136) [SCAL] (1) peripheral1.AUC = $START.peripheral1.AUC; ($RES_SRT_135) [SCAL] (1) peripheral.AUC = $START.peripheral.AUC; ($RES_SRT_134) [SCAL] (1) periodicDose.variableDose.TotalCumulativeMass = $START.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_133) [SCAL] (1) periodicDose.TotalCumulativeMass = $START.periodicDose.TotalCumulativeMass; ($RES_SRT_132) [SCAL] (1) central.AUC = $START.central.AUC; ($RES_SRT_131) 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.727676430949941]