Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium_CI.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.001771/0.001771, allocations: 88.84 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.001861/0.001861, allocations: 165 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.473/1.473, 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.267/3.267, allocations: 274.5 MB / 0.5222 GB, free: 14.22 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_Lithium.PK_1C_Lithium_CI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium_CI") translateModel(Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium_CI,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium_CI") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.216e-05/1.216e-05, allocations: 4.375 kB / 0.6479 GB, free: 39.2 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PK_Lithium.PK_1C_Lithium_CI): time 0.005375/0.005387, allocations: 6.85 MB / 0.6546 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001654/0.007041, allocations: 1.302 MB / 0.6558 GB, free: 33.78 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.007262, allocations: 8 kB / 0.6558 GB, free: 33.78 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001913/0.007453, allocations: 111.7 kB / 0.6559 GB, free: 33.71 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004584/0.007911, allocations: 343.7 kB / 0.6563 GB, free: 33.47 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000405/0.008316, allocations: 288.4 kB / 0.6565 GB, free: 33.27 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.001045/0.009361, allocations: 1.376 MB / 0.6579 GB, free: 32.54 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002689/0.00963, allocations: 157.2 kB / 0.658 GB, free: 32.44 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005015/0.01013, allocations: 0.6228 MB / 0.6587 GB, free: 32.15 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004289/0.01056, allocations: 363 kB / 0.659 GB, free: 32.02 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001265/0.01069, allocations: 110.1 kB / 0.6591 GB, free: 32.02 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001569/0.01084, allocations: 110.8 kB / 0.6592 GB, free: 32.02 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0008456/0.01169, allocations: 1.463 MB / 0.6606 GB, free: 31.13 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.0003321/0.01202, allocations: 0.8107 MB / 0.6614 GB, free: 30.63 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001315/0.01215, allocations: 91 kB / 0.6615 GB, free: 30.63 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.911e-05/0.01221, allocations: 18.19 kB / 0.6615 GB, free: 30.63 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: 144 (138) * Number of variables: 144 (144) Notification: Performance of [SIM] Bindings: time 0.002403/0.01461, allocations: 3.683 MB / 0.6651 GB, free: 28.1 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003026/0.01492, allocations: 488 kB / 0.6656 GB, free: 27.82 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.001353/0.01627, allocations: 2.241 MB / 0.6678 GB, free: 26.28 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0003395/0.01661, allocations: 312.5 kB / 0.6681 GB, free: 26.13 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.002634/0.01924, allocations: 2.675 MB / 0.6707 GB, free: 24.45 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0002623/0.01951, allocations: 267.5 kB / 0.6709 GB, free: 24.32 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 0.0002004/0.01971, allocations: 270.2 kB / 0.6712 GB, free: 24.14 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0008019/0.02051, allocations: 0.9792 MB / 0.6722 GB, free: 23.45 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0003942/0.0209, allocations: 405.2 kB / 0.6726 GB, free: 23.27 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0009566/0.02186, allocations: 1.011 MB / 0.6735 GB, free: 22.63 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.002893/0.02475, allocations: 2.626 MB / 0.6761 GB, free: 21.27 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001238/0.02599, allocations: 1.85 MB / 0.6779 GB, free: 20.05 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.001601/0.02759, allocations: 1.29 MB / 0.6792 GB, free: 19.34 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.001812/0.0294, allocations: 2.724 MB / 0.6818 GB, free: 17.53 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 0.0001233/0.02953, allocations: 74.64 kB / 0.6819 GB, free: 17.48 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 0.0004339/0.02996, allocations: 0.6366 MB / 0.6825 GB, free: 17.03 MB / 0.5262 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real pK_lower.periodicDose.absorptionLumen.Cmin (min = -1e-9) [DISC] (1) discrete Real pK_lower.periodicDose.absorptionLumen.Cmax (min = -1e-9) [DISC] (1) discrete Real pK_lower.central.Cmin (min = -1e-9) [DISC] (1) discrete Real pK_lower.central.Cmax (min = -1e-9) [DISC] (1) discrete Real pK_1C_Lithium_upper.periodicDose.absorptionLumen.Cmin (min = -1e-9) [DISC] (1) discrete Real pK_1C_Lithium_upper.periodicDose.absorptionLumen.Cmax (min = -1e-9) [DISC] (1) discrete Real pK_1C_Lithium_upper.central.Cmin (min = -1e-9) [DISC] (1) discrete Real pK_1C_Lithium_upper.central.Cmax (min = -1e-9) [DISC] (1) discrete Real pK_1C_Lithium.periodicDose.absorptionLumen.Cmin (min = -1e-9) [DISC] (1) discrete Real pK_1C_Lithium.periodicDose.absorptionLumen.Cmax (min = -1e-9) [DISC] (1) discrete Real pK_1C_Lithium.central.Cmin (min = -1e-9) [DISC] (1) discrete Real pK_1C_Lithium.central.Cmax (min = -1e-9) Following equations were created by fixing variables: [SCAL] (1) $PRE.pK_1C_Lithium.central.rising = $START.pK_1C_Lithium.central.rising; ($RES_SRT_311) [SCAL] (1) $PRE.pK_1C_Lithium.periodicDose.absorptionLumen.rising = $START.pK_1C_Lithium.periodicDose.absorptionLumen.rising; ($RES_SRT_310) [SCAL] (1) $PRE.pK_1C_Lithium_upper.central.rising = $START.pK_1C_Lithium_upper.central.rising; ($RES_SRT_309) [SCAL] (1) $PRE.pK_1C_Lithium_upper.periodicDose.absorptionLumen.rising = $START.pK_1C_Lithium_upper.periodicDose.absorptionLumen.rising; ($RES_SRT_308) [SCAL] (1) $PRE.pK_lower.central.rising = $START.pK_lower.central.rising; ($RES_SRT_307) [SCAL] (1) $PRE.pK_lower.periodicDose.absorptionLumen.rising = $START.pK_lower.periodicDose.absorptionLumen.rising; ($RES_SRT_306) [SCAL] (1) pK_lower.periodicDose.variableDose.TotalCumulativeMass = $START.pK_lower.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_305) [SCAL] (1) pK_lower.periodicDose.absorptionLumen.AUC = $START.pK_lower.periodicDose.absorptionLumen.AUC; ($RES_SRT_304) [SCAL] (1) pK_lower.periodicDose.TotalCumulativeMass = $START.pK_lower.periodicDose.TotalCumulativeMass; ($RES_SRT_303) [SCAL] (1) pK_lower.central.AUC = $START.pK_lower.central.AUC; ($RES_SRT_302) [SCAL] (1) pK_1C_Lithium_upper.periodicDose.variableDose.TotalCumulativeMass = $START.pK_1C_Lithium_upper.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_301) [SCAL] (1) pK_1C_Lithium_upper.periodicDose.absorptionLumen.AUC = $START.pK_1C_Lithium_upper.periodicDose.absorptionLumen.AUC; ($RES_SRT_300) [SCAL] (1) pK_1C_Lithium_upper.periodicDose.TotalCumulativeMass = $START.pK_1C_Lithium_upper.periodicDose.TotalCumulativeMass; ($RES_SRT_299) [SCAL] (1) pK_1C_Lithium_upper.central.AUC = $START.pK_1C_Lithium_upper.central.AUC; ($RES_SRT_298) [SCAL] (1) pK_1C_Lithium.periodicDose.variableDose.TotalCumulativeMass = $START.pK_1C_Lithium.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_297) [SCAL] (1) pK_1C_Lithium.periodicDose.absorptionLumen.AUC = $START.pK_1C_Lithium.periodicDose.absorptionLumen.AUC; ($RES_SRT_296) [SCAL] (1) pK_1C_Lithium.periodicDose.TotalCumulativeMass = $START.pK_1C_Lithium.periodicDose.TotalCumulativeMass; ($RES_SRT_295) [SCAL] (1) pK_1C_Lithium.central.AUC = $START.pK_1C_Lithium.central.AUC; ($RES_SRT_294) 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.706078439950943]