Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PBPK_whole_body.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.001852/0.001852, allocations: 91.55 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.001887/0.001887, allocations: 173.3 kB / 23.49 MB, free: 1.059 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.452/1.452, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.216/3.216, allocations: 274.5 MB / 0.5222 GB, free: 14.13 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.Pharmacokinetic.Models.PBPK_whole_body,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PBPK_whole_body") translateModel(Pharmacolibrary.Pharmacokinetic.Models.PBPK_whole_body,tolerance=1e-06,outputFormat="empty",numberOfIntervals=499,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Pharmacokinetic.Models.PBPK_whole_body") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.654e-05/1.654e-05, allocations: 5.156 kB / 0.648 GB, free: 39.11 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Pharmacokinetic.Models.PBPK_whole_body): time 0.01071/0.01073, allocations: 11.7 MB / 0.6594 GB, free: 31.44 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.003973/0.0147, allocations: 2.497 MB / 0.6618 GB, free: 29.69 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006197/0.01532, allocations: 24.94 kB / 0.6619 GB, free: 29.69 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0004565/0.01578, allocations: 294.4 kB / 0.6621 GB, free: 29.52 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.01695, allocations: 0.7881 MB / 0.6629 GB, free: 28.95 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009464/0.0179, allocations: 0.593 MB / 0.6635 GB, free: 28.59 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.002087/0.01998, allocations: 3.197 MB / 0.6666 GB, free: 26.92 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002639/0.02262, allocations: 3.18 MB / 0.6697 GB, free: 25.02 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002494/0.02511, allocations: 2.561 MB / 0.6722 GB, free: 23.95 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002299/0.02741, allocations: 1.84 MB / 0.674 GB, free: 23.43 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 0.0005708/0.02798, allocations: 425.3 kB / 0.6744 GB, free: 23.43 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000674/0.02866, allocations: 430.9 kB / 0.6748 GB, free: 23.42 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.003721/0.03238, allocations: 5.03 MB / 0.6797 GB, free: 20.7 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.001023/0.0334, allocations: 1.953 MB / 0.6816 GB, free: 19.54 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0006516/0.03405, allocations: 238 kB / 0.6819 GB, free: 19.54 MB / 0.5262 GB Notification: Performance of FrontEnd: time 0.0002209/0.03427, allocations: 46.91 kB / 0.6819 GB, free: 19.54 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: 449 (445) * Number of variables: 449 (449) Notification: Performance of [SIM] Bindings: time 0.008138/0.04241, allocations: 11.88 MB / 0.6935 GB, free: 10.79 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.002197/0.04461, allocations: 3.795 MB / 0.6972 GB, free: 6.984 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.009159/0.05377, allocations: 11.27 MB / 0.7082 GB, free: 11.66 MB / 0.5418 GB Notification: Performance of [SIM] Simplify 1: time 0.003906/0.05767, allocations: 2.299 MB / 0.7105 GB, free: 9.605 MB / 0.5418 GB Notification: Performance of [SIM] Alias: time 0.01634/0.07402, allocations: 10.85 MB / 0.7211 GB, free: 14.03 MB / 0.5574 GB Notification: Performance of [SIM] Simplify 2: time 0.003431/0.07745, allocations: 2.433 MB / 0.7234 GB, free: 11.8 MB / 0.5574 GB Notification: Performance of [SIM] Remove Stream: time 0.003775/0.08122, allocations: 2.849 MB / 0.7262 GB, free: 8.973 MB / 0.5574 GB Notification: Performance of [SIM] Detect States: time 0.004095/0.08532, allocations: 3.405 MB / 0.7296 GB, free: 5.48 MB / 0.5574 GB Notification: Performance of [SIM] Events: time 0.00231/0.08763, allocations: 1.872 MB / 0.7314 GB, free: 3.629 MB / 0.5574 GB Notification: Performance of [SIM] Partitioning: time 0.005399/0.09303, allocations: 4.18 MB / 0.7355 GB, free: 15.34 MB / 0.573 GB Notification: Performance of [SIM] Causalize: time 0.01115/0.1042, allocations: 6.635 MB / 0.7419 GB, free: 8.562 MB / 0.573 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.008818/0.113, allocations: 8.149 MB / 0.7499 GB, free: 416 kB / 0.573 GB Notification: Performance of [INI] Simplify: time 0.007803/0.1208, allocations: 4.862 MB / 0.7546 GB, free: 11.5 MB / 0.5887 GB Notification: Performance of [INI] Inline: time 0.01332/0.1341, allocations: 12.48 MB / 0.7668 GB, free: 15 MB / 0.6043 GB Notification: Performance of [INI] Partitioning: time 0.0003494/0.1345, allocations: 130.5 kB / 0.767 GB, free: 14.85 MB / 0.6043 GB Notification: Performance of [INI] Cleanup: time 0.003492/0.138, allocations: 2.824 MB / 0.7697 GB, free: 12.02 MB / 0.6043 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real periodicNasalDose.absorptionLumen.Cmin (min = -1e-9) [DISC] (1) discrete Real periodicNasalDose.absorptionLumen.Cmax (min = -1e-9) [DISC] (1) discrete Real periodicIMDose.absorptionLumen.Cmin (min = -1e-9) [DISC] (1) discrete Real periodicIMDose.absorptionLumen.Cmax (min = -1e-9) [DISC] (1) discrete Real periodicOralDose.absorptionLumen.Cmin (min = -1e-9) [DISC] (1) discrete Real periodicOralDose.absorptionLumen.Cmax (min = -1e-9) [DISC] (1) discrete Real lumenCompartment.Cmin (min = -1e-9) [DISC] (1) discrete Real lumenCompartment.Cmax (min = -1e-9) Following equations were created by fixing variables: [SCAL] (1) $PRE.lumenCompartment.rising = $START.lumenCompartment.rising; ($RES_SRT_864) [SCAL] (1) $PRE.periodicOralDose.absorptionLumen.rising = $START.periodicOralDose.absorptionLumen.rising; ($RES_SRT_863) [SCAL] (1) $PRE.periodicIMDose.absorptionLumen.rising = $START.periodicIMDose.absorptionLumen.rising; ($RES_SRT_862) [SCAL] (1) $PRE.periodicNasalDose.absorptionLumen.rising = $START.periodicNasalDose.absorptionLumen.rising; ($RES_SRT_861) [SCAL] (1) periodicNasalDose.variableDose.TotalCumulativeMass = $START.periodicNasalDose.variableDose.TotalCumulativeMass; ($RES_SRT_860) [SCAL] (1) periodicNasalDose.absorptionLumen.AUC = $START.periodicNasalDose.absorptionLumen.AUC; ($RES_SRT_859) [SCAL] (1) periodicNasalDose.TotalCumulativeMass = $START.periodicNasalDose.TotalCumulativeMass; ($RES_SRT_858) [SCAL] (1) nasal_mucosa.AUC = $START.nasal_mucosa.AUC; ($RES_SRT_857) [SCAL] (1) periodicIADose.variableDose.TotalCumulativeMass = $START.periodicIADose.variableDose.TotalCumulativeMass; ($RES_SRT_856) [SCAL] (1) periodicIADose.TotalCumulativeMass = $START.periodicIADose.TotalCumulativeMass; ($RES_SRT_855) [SCAL] (1) periodicIVDose.variableDose.TotalCumulativeMass = $START.periodicIVDose.variableDose.TotalCumulativeMass; ($RES_SRT_854) [SCAL] (1) periodicIVDose.TotalCumulativeMass = $START.periodicIVDose.TotalCumulativeMass; ($RES_SRT_853) [SCAL] (1) periodicIMDose.variableDose.TotalCumulativeMass = $START.periodicIMDose.variableDose.TotalCumulativeMass; ($RES_SRT_852) [SCAL] (1) periodicIMDose.absorptionLumen.AUC = $START.periodicIMDose.absorptionLumen.AUC; ($RES_SRT_851) [SCAL] (1) periodicIMDose.TotalCumulativeMass = $START.periodicIMDose.TotalCumulativeMass; ($RES_SRT_850) [SCAL] (1) periodicOralDose.variableDose.TotalCumulativeMass = $START.periodicOralDose.variableDose.TotalCumulativeMass; ($RES_SRT_849) [SCAL] (1) periodicOralDose.absorptionLumen.AUC = $START.periodicOralDose.absorptionLumen.AUC; ($RES_SRT_848) [SCAL] (1) periodicOralDose.TotalCumulativeMass = $START.periodicOralDose.TotalCumulativeMass; ($RES_SRT_847) [SCAL] (1) lumenCompartment.AUC = $START.lumenCompartment.AUC; ($RES_SRT_846) [SCAL] (1) rest.AUC = $START.rest.AUC; ($RES_SRT_845) [SCAL] (1) gonads.AUC = $START.gonads.AUC; ($RES_SRT_844) [SCAL] (1) kidney.AUC = $START.kidney.AUC; ($RES_SRT_843) [SCAL] (1) liver.AUC = $START.liver.AUC; ($RES_SRT_842) [SCAL] (1) spleen.AUC = $START.spleen.AUC; ($RES_SRT_841) [SCAL] (1) gut.AUC = $START.gut.AUC; ($RES_SRT_840) [SCAL] (1) skin.AUC = $START.skin.AUC; ($RES_SRT_839) [SCAL] (1) muscle.AUC = $START.muscle.AUC; ($RES_SRT_838) [SCAL] (1) heart.AUC = $START.heart.AUC; ($RES_SRT_837) [SCAL] (1) brain.AUC = $START.brain.AUC; ($RES_SRT_836) [SCAL] (1) bone.AUC = $START.bone.AUC; ($RES_SRT_835) [SCAL] (1) adipose.AUC = $START.adipose.AUC; ($RES_SRT_834) [SCAL] (1) arterial.AUC = $START.arterial.AUC; ($RES_SRT_833) [SCAL] (1) lungs.AUC = $START.lungs.AUC; ($RES_SRT_832) [SCAL] (1) venous.AUC = $START.venous.AUC; ($RES_SRT_831) 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.7644903000909835]