Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam.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.001781/0.001781, allocations: 87.56 kB / 20.19 MB, free: 4.363 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.001906/0.001906, 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.533/1.533, allocations: 177.1 MB / 203.8 MB, free: 5.629 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.208/3.208, allocations: 274.5 MB / 0.5222 GB, free: 14.15 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_2C_IVMidazolam,tolerance=1e-08,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam") translateModel(Pharmacolibrary.Examples.PK_2C_IVMidazolam,tolerance=1e-08,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_2C_IVMidazolam") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.795e-05/1.795e-05, allocations: 2.312 kB / 0.6479 GB, free: 39 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_2C_IVMidazolam): time 0.00305/0.003068, allocations: 2.677 MB / 0.6505 GB, free: 37.27 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001619/0.004688, allocations: 1.214 MB / 0.6517 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.004803, allocations: 1.469 kB / 0.6517 GB, free: 36.5 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003817/0.005185, allocations: 209.7 kB / 0.6519 GB, free: 36.46 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.000424/0.005609, allocations: 241.3 kB / 0.6521 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.005847, allocations: 136.8 kB / 0.6523 GB, free: 36.31 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.006221, allocations: 499.6 kB / 0.6527 GB, free: 36.09 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001435/0.006365, allocations: 49.67 kB / 0.6528 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.006626, allocations: 251.1 kB / 0.653 GB, free: 35.97 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002096/0.006836, allocations: 169.6 kB / 0.6532 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.738e-05/0.006883, allocations: 23.5 kB / 0.6532 GB, free: 35.93 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001226/0.007005, allocations: 66.8 kB / 0.6533 GB, free: 35.92 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0003232/0.007329, allocations: 0.4891 MB / 0.6537 GB, free: 35.64 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.0001179/0.007446, allocations: 274.4 kB / 0.654 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 5.338e-05/0.0075, allocations: 27.03 kB / 0.654 GB, free: 35.48 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.896e-05/0.007529, allocations: 8.531 kB / 0.654 GB, free: 35.48 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: 46 (44) * Number of variables: 46 (46) Notification: Performance of [SIM] Bindings: time 0.00112/0.008649, allocations: 1.296 MB / 0.6553 GB, free: 34.57 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002343/0.008883, allocations: 193.8 kB / 0.6555 GB, free: 34.45 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.0005784/0.009462, allocations: 0.6898 MB / 0.6562 GB, free: 34.01 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0001619/0.009624, allocations: 125.1 kB / 0.6563 GB, free: 33.93 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.001098/0.01072, allocations: 0.8411 MB / 0.6571 GB, free: 33.39 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0001064/0.01083, allocations: 121.3 kB / 0.6572 GB, free: 33.3 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 8.183e-05/0.01091, allocations: 105.2 kB / 0.6573 GB, free: 33.21 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0003714/0.01128, allocations: 368.8 kB / 0.6577 GB, free: 32.95 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0001649/0.01145, allocations: 143.4 kB / 0.6578 GB, free: 32.9 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0003469/0.01179, allocations: 371.9 kB / 0.6582 GB, free: 32.67 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.0009014/0.01269, allocations: 0.7907 MB / 0.6589 GB, free: 32.27 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003501/0.01304, allocations: 0.5591 MB / 0.6595 GB, free: 31.96 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.001655/0.0147, allocations: 0.5094 MB / 0.66 GB, free: 31.68 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.0005489/0.01525, allocations: 0.8298 MB / 0.6608 GB, free: 31.2 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 4.154e-05/0.01529, allocations: 26.03 kB / 0.6608 GB, free: 31.17 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 0.0001345/0.01542, allocations: 199.7 kB / 0.661 GB, free: 31.05 MB / 0.5262 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real central.Cmin (min = -1e-9) [DISC] (1) discrete Real central.Cmax (min = -1e-9) [DISC] (1) discrete Real peripheral.Cmin (min = -1e-9) [DISC] (1) discrete Real peripheral.Cmax (min = -1e-9) Following equations were created by fixing variables: [SCAL] (1) $PRE.CTT_MidazolamC.nextTimeEventScaled = $START.CTT_MidazolamC.nextTimeEventScaled; ($RES_SRT_102) [SCAL] (1) $PRE.CTT_MidazolamC.nextTimeEvent = $START.CTT_MidazolamC.nextTimeEvent; ($RES_SRT_101) [SCAL] (1) $PRE.peripheral.rising = $START.peripheral.rising; ($RES_SRT_100) [SCAL] (1) $PRE.central.rising = $START.central.rising; ($RES_SRT_99) [SCAL] (1) central.AUC = $START.central.AUC; ($RES_SRT_98) [SCAL] (1) peripheral.AUC = $START.peripheral.AUC; ($RES_SRT_97) [SCAL] (1) periodicDose.variableDose.TotalCumulativeMass = $START.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_96) [SCAL] (1) periodicDose.TotalCumulativeMass = $START.periodicDose.TotalCumulativeMass; ($RES_SRT_95) 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.685578274074942]