Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel.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.001815/0.001815, 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.001984/0.001984, 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.522/1.522, allocations: 177.1 MB / 203.8 MB, free: 5.613 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.345/3.345, allocations: 274.5 MB / 0.5222 GB, free: 14.19 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.DevModels.PKTwoCompartmentModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel") translateModel(Pharmacolibrary.DevModels.PKTwoCompartmentModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKTwoCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.428e-05/1.428e-05, allocations: 2.312 kB / 0.6479 GB, free: 39.07 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKTwoCompartmentModel): time 0.002551/0.002565, allocations: 2.397 MB / 0.6502 GB, free: 37.52 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.000971/0.003536, allocations: 0.6168 MB / 0.6508 GB, free: 37.11 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.003637, allocations: 3.219 kB / 0.6508 GB, free: 37.11 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 6.693e-05/0.003704, allocations: 28.11 kB / 0.6508 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002293/0.003934, allocations: 75.31 kB / 0.6509 GB, free: 37.07 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002118/0.004145, allocations: 66.47 kB / 0.651 GB, free: 37.03 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0003512/0.004497, allocations: 329.9 kB / 0.6513 GB, free: 36.89 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001767/0.004673, allocations: 57.44 kB / 0.6513 GB, free: 36.85 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002197/0.004893, allocations: 146.4 kB / 0.6515 GB, free: 36.8 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001837/0.005077, allocations: 95.88 kB / 0.6516 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 5.263e-05/0.005129, allocations: 21.88 kB / 0.6516 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 5.314e-05/0.005183, allocations: 23.28 kB / 0.6516 GB, free: 36.76 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0003099/0.005492, allocations: 365.8 kB / 0.652 GB, free: 36.56 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.0001193/0.005612, allocations: 197.5 kB / 0.6522 GB, free: 36.44 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 5.997e-05/0.005672, allocations: 25.56 kB / 0.6522 GB, free: 36.44 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.575e-05/0.005697, allocations: 3.594 kB / 0.6522 GB, free: 36.44 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: 45 (43) * Number of variables: 45 (45) Notification: Performance of [SIM] Bindings: time 0.0008994/0.006597, allocations: 1.032 MB / 0.6532 GB, free: 35.67 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001069/0.006704, allocations: 125.4 kB / 0.6533 GB, free: 35.61 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.0004071/0.007111, allocations: 0.6153 MB / 0.6539 GB, free: 35.2 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0001189/0.00723, allocations: 109.8 kB / 0.654 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.001027/0.008257, allocations: 0.8322 MB / 0.6548 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0001077/0.008365, allocations: 100.4 kB / 0.6549 GB, free: 34.52 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 7.044e-05/0.008435, allocations: 102.6 kB / 0.655 GB, free: 34.43 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0003344/0.008769, allocations: 323.8 kB / 0.6553 GB, free: 34.2 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0001565/0.008926, allocations: 111.2 kB / 0.6554 GB, free: 34.15 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.00029/0.009216, allocations: 295.5 kB / 0.6557 GB, free: 33.97 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.0009805/0.0102, allocations: 0.7186 MB / 0.6564 GB, free: 33.6 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003176/0.01051, allocations: 488.9 kB / 0.6569 GB, free: 33.32 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.0004387/0.01095, allocations: 352.8 kB / 0.6572 GB, free: 33.11 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.0004148/0.01137, allocations: 0.6757 MB / 0.6579 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 3.077e-05/0.0114, allocations: 26.03 kB / 0.6579 GB, free: 32.69 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 9.719e-05/0.0115, allocations: 158.4 kB / 0.6581 GB, free: 32.59 MB / 0.5262 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real blood.Cmin (min = -1e-9) [DISC] (1) discrete Real blood.Cmax (min = -1e-9) [DISC] (1) discrete Real intestine.Cmin (min = -1e-9) [DISC] (1) discrete Real intestine.Cmax (min = -1e-9) Following equations were created by fixing variables: [SCAL] (1) $PRE.intestine.rising = $START.intestine.rising; ($RES_SRT_87) [SCAL] (1) $PRE.blood.rising = $START.blood.rising; ($RES_SRT_86) [SCAL] (1) blood.AUC = $START.blood.AUC; ($RES_SRT_85) [SCAL] (1) intestine.AUC = $START.intestine.AUC; ($RES_SRT_84) [SCAL] (1) periodicDose.variableDose.TotalCumulativeMass = $START.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_83) [SCAL] (1) periodicDose.TotalCumulativeMass = $START.periodicDose.TotalCumulativeMass; ($RES_SRT_82) 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.831843632040545]