Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol_Experiment.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.002257/0.002257, allocations: 88.84 kB / 20.18 MB, free: 4.359 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.00237/0.00237, allocations: 165 kB / 23.49 MB, free: 1.055 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.466/1.466, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.292/3.292, 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.Paracetamol_Experiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol_Experiment") translateModel(Pharmacolibrary.Examples.Paracetamol_Experiment,tolerance=1e-06,outputFormat="empty",numberOfIntervals=8640,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Paracetamol_Experiment") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.537e-05/1.537e-05, allocations: 3.625 kB / 0.6479 GB, free: 39.16 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Paracetamol_Experiment): time 0.005541/0.005557, allocations: 6.97 MB / 0.6547 GB, free: 34.56 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001615/0.007172, allocations: 1.285 MB / 0.6559 GB, free: 33.67 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002106/0.007382, allocations: 12.81 kB / 0.656 GB, free: 33.66 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002005/0.007583, allocations: 111.5 kB / 0.6561 GB, free: 33.6 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0004853/0.008068, allocations: 339.7 kB / 0.6564 GB, free: 33.35 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004405/0.008509, allocations: 292.8 kB / 0.6567 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.001011/0.00952, allocations: 1.366 MB / 0.658 GB, free: 32.43 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002892/0.009809, allocations: 161.4 kB / 0.6581 GB, free: 32.32 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005423/0.01035, allocations: 0.6282 MB / 0.6588 GB, free: 32.03 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004512/0.0108, allocations: 361 kB / 0.6591 GB, free: 31.9 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0001214/0.01092, allocations: 109.9 kB / 0.6592 GB, free: 31.9 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001622/0.01109, allocations: 111.5 kB / 0.6593 GB, free: 31.9 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0008441/0.01193, allocations: 1.452 MB / 0.6607 GB, free: 31.02 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.0003548/0.01228, allocations: 0.7972 MB / 0.6615 GB, free: 30.53 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001351/0.01242, allocations: 95.84 kB / 0.6616 GB, free: 30.53 MB / 0.5262 GB Notification: Performance of FrontEnd: time 5.869e-05/0.01248, allocations: 20.78 kB / 0.6616 GB, free: 30.52 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.002424/0.0149, allocations: 3.647 MB / 0.6652 GB, free: 28.02 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0003021/0.0152, allocations: 0.4902 MB / 0.6657 GB, free: 27.72 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.001367/0.01657, allocations: 2.233 MB / 0.6678 GB, free: 26.18 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0003581/0.01693, allocations: 310.4 kB / 0.6681 GB, free: 26.04 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.002667/0.0196, allocations: 2.675 MB / 0.6708 GB, free: 24.35 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0002624/0.01986, allocations: 265.3 kB / 0.671 GB, free: 24.23 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 0.0001996/0.02006, allocations: 277.4 kB / 0.6713 GB, free: 24.04 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0008526/0.02091, allocations: 0.9739 MB / 0.6722 GB, free: 23.36 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0003825/0.02129, allocations: 407.3 kB / 0.6726 GB, free: 23.18 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0009318/0.02222, allocations: 1.011 MB / 0.6736 GB, free: 22.54 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.002984/0.02521, allocations: 2.631 MB / 0.6762 GB, free: 21.17 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001279/0.02649, allocations: 1.844 MB / 0.678 GB, free: 19.96 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.001647/0.02813, allocations: 1.252 MB / 0.6792 GB, free: 19.26 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.001939/0.03007, allocations: 2.728 MB / 0.6819 GB, free: 17.44 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 0.0001205/0.03019, allocations: 60.86 kB / 0.6819 GB, free: 17.4 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 0.0004499/0.03064, allocations: 0.6359 MB / 0.6825 GB, free: 16.95 MB / 0.5262 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real rapid_met.periodicDose.absorptionLumen.Cmin (min = -1e-9) [DISC] (1) discrete Real rapid_met.periodicDose.absorptionLumen.Cmax (min = -1e-9) [DISC] (1) discrete Real rapid_met.central.Cmin (min = -1e-9) [DISC] (1) discrete Real rapid_met.central.Cmax (min = -1e-9) [DISC] (1) discrete Real poor_met.periodicDose.absorptionLumen.Cmin (min = -1e-9) [DISC] (1) discrete Real poor_met.periodicDose.absorptionLumen.Cmax (min = -1e-9) [DISC] (1) discrete Real poor_met.central.Cmin (min = -1e-9) [DISC] (1) discrete Real poor_met.central.Cmax (min = -1e-9) [DISC] (1) discrete Real normal.periodicDose.absorptionLumen.Cmin (min = -1e-9) [DISC] (1) discrete Real normal.periodicDose.absorptionLumen.Cmax (min = -1e-9) [DISC] (1) discrete Real normal.central.Cmin (min = -1e-9) [DISC] (1) discrete Real normal.central.Cmax (min = -1e-9) Following equations were created by fixing variables: [SCAL] (1) $PRE.normal.central.rising = $START.normal.central.rising; ($RES_SRT_308) [SCAL] (1) $PRE.normal.periodicDose.absorptionLumen.rising = $START.normal.periodicDose.absorptionLumen.rising; ($RES_SRT_307) [SCAL] (1) $PRE.poor_met.central.rising = $START.poor_met.central.rising; ($RES_SRT_306) [SCAL] (1) $PRE.poor_met.periodicDose.absorptionLumen.rising = $START.poor_met.periodicDose.absorptionLumen.rising; ($RES_SRT_305) [SCAL] (1) $PRE.rapid_met.central.rising = $START.rapid_met.central.rising; ($RES_SRT_304) [SCAL] (1) $PRE.rapid_met.periodicDose.absorptionLumen.rising = $START.rapid_met.periodicDose.absorptionLumen.rising; ($RES_SRT_303) [SCAL] (1) rapid_met.periodicDose.variableDose.TotalCumulativeMass = $START.rapid_met.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_302) [SCAL] (1) rapid_met.periodicDose.absorptionLumen.AUC = $START.rapid_met.periodicDose.absorptionLumen.AUC; ($RES_SRT_301) [SCAL] (1) rapid_met.periodicDose.TotalCumulativeMass = $START.rapid_met.periodicDose.TotalCumulativeMass; ($RES_SRT_300) [SCAL] (1) rapid_met.central.AUC = $START.rapid_met.central.AUC; ($RES_SRT_299) [SCAL] (1) poor_met.periodicDose.variableDose.TotalCumulativeMass = $START.poor_met.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_298) [SCAL] (1) poor_met.periodicDose.absorptionLumen.AUC = $START.poor_met.periodicDose.absorptionLumen.AUC; ($RES_SRT_297) [SCAL] (1) poor_met.periodicDose.TotalCumulativeMass = $START.poor_met.periodicDose.TotalCumulativeMass; ($RES_SRT_296) [SCAL] (1) poor_met.central.AUC = $START.poor_met.central.AUC; ($RES_SRT_295) [SCAL] (1) normal.periodicDose.variableDose.TotalCumulativeMass = $START.normal.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_294) [SCAL] (1) normal.periodicDose.absorptionLumen.AUC = $START.normal.periodicDose.absorptionLumen.AUC; ($RES_SRT_293) [SCAL] (1) normal.periodicDose.TotalCumulativeMass = $START.normal.periodicDose.TotalCumulativeMass; ($RES_SRT_292) [SCAL] (1) normal.central.AUC = $START.normal.central.AUC; ($RES_SRT_291) 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.7773726808372885]