Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2.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.002234/0.002234, allocations: 88.84 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.002542/0.002542, 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.489/1.489, allocations: 177.1 MB / 203.8 MB, free: 5.609 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.25/3.25, allocations: 274.5 MB / 0.5222 GB, free: 14.2 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_1C_Lithium2,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2") translateModel(Pharmacolibrary.Examples.PK_1C_Lithium2,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_1C_Lithium2") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.06e-05/2.06e-05, allocations: 2.312 kB / 0.6489 GB, free: 38.3 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_1C_Lithium2): time 0.005951/0.005972, allocations: 4.022 MB / 0.6529 GB, free: 35.6 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001802/0.007774, allocations: 0.7167 MB / 0.6536 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002519/0.008026, allocations: 2.094 kB / 0.6536 GB, free: 35.13 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001769/0.008202, allocations: 38.5 kB / 0.6536 GB, free: 35.11 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004118/0.008614, allocations: 111.7 kB / 0.6537 GB, free: 35.06 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004059/0.00902, allocations: 95.83 kB / 0.6538 GB, free: 35 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0005466/0.009567, allocations: 415.2 kB / 0.6542 GB, free: 34.8 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001848/0.009752, allocations: 54.64 kB / 0.6542 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003045/0.01006, allocations: 194 kB / 0.6544 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002954/0.01035, allocations: 115.6 kB / 0.6545 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 7.353e-05/0.01042, allocations: 26.72 kB / 0.6546 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.453e-05/0.01051, allocations: 29.53 kB / 0.6546 GB, free: 34.65 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0003986/0.01091, allocations: 464.7 kB / 0.655 GB, free: 34.39 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.000179/0.01109, allocations: 267.8 kB / 0.6553 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 9.904e-05/0.01119, allocations: 31.31 kB / 0.6553 GB, free: 34.23 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.089e-05/0.01123, allocations: 12.53 kB / 0.6553 GB, free: 34.23 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.001387/0.01261, allocations: 1.237 MB / 0.6565 GB, free: 33.32 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002295/0.01284, allocations: 146.5 kB / 0.6567 GB, free: 33.25 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.0009166/0.01376, allocations: 0.6691 MB / 0.6573 GB, free: 32.8 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0002646/0.01402, allocations: 135.1 kB / 0.6575 GB, free: 32.71 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.001639/0.01566, allocations: 0.8646 MB / 0.6583 GB, free: 32.15 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0001697/0.01583, allocations: 122.4 kB / 0.6584 GB, free: 32.07 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 0.0001206/0.01595, allocations: 98.73 kB / 0.6585 GB, free: 31.98 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0005354/0.01649, allocations: 333.9 kB / 0.6588 GB, free: 31.73 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0002174/0.01671, allocations: 122.3 kB / 0.6589 GB, free: 31.68 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0005247/0.01723, allocations: 345.4 kB / 0.6593 GB, free: 31.46 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.001357/0.01859, allocations: 0.7732 MB / 0.66 GB, free: 31.08 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005191/0.01911, allocations: 0.5335 MB / 0.6606 GB, free: 30.76 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.0007401/0.01985, allocations: 454.1 kB / 0.661 GB, free: 30.49 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.000629/0.02048, allocations: 0.7823 MB / 0.6617 GB, free: 30.01 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 4.636e-05/0.02052, allocations: 30 kB / 0.6618 GB, free: 29.98 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 0.0001584/0.02068, allocations: 183.9 kB / 0.662 GB, free: 29.87 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.757395782973617]