Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PK_2C_single.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.0018/0.0018, allocations: 91.56 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.001806/0.001806, allocations: 168.9 kB / 23.48 MB, free: 1.066 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.47/1.47, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.316/3.316, allocations: 274.5 MB / 0.5222 GB, free: 14.09 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.Pharmacogenomics.PK_2C_single,tolerance=1e-12,outputFormat="empty",numberOfIntervals=86,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PK_2C_single") translateModel(Pharmacolibrary.Examples.Pharmacogenomics.PK_2C_single,tolerance=1e-12,outputFormat="empty",numberOfIntervals=86,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Pharmacogenomics.PK_2C_single") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.571e-05/1.571e-05, allocations: 2.312 kB / 0.6479 GB, free: 39 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Pharmacogenomics.PK_2C_single): time 0.003882/0.003897, allocations: 3.914 MB / 0.6517 GB, free: 36.45 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001185/0.005082, allocations: 0.8468 MB / 0.6525 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001266/0.005209, allocations: 2.375 kB / 0.6525 GB, free: 35.88 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001502/0.005359, allocations: 57.95 kB / 0.6526 GB, free: 35.85 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002672/0.005626, allocations: 151.3 kB / 0.6527 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.005936, allocations: 132.4 kB / 0.6529 GB, free: 35.68 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0004775/0.006413, allocations: 0.611 MB / 0.6535 GB, free: 35.36 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.006592, allocations: 74.03 kB / 0.6535 GB, free: 35.31 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002587/0.006851, allocations: 284.3 kB / 0.6538 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002829/0.007134, allocations: 151.5 kB / 0.6539 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 5.783e-05/0.007192, allocations: 47.88 kB / 0.654 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.166e-05/0.007264, allocations: 46.88 kB / 0.654 GB, free: 35.14 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0004037/0.007667, allocations: 0.6525 MB / 0.6547 GB, free: 34.75 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.0002093/0.007877, allocations: 363.6 kB / 0.655 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.83e-05/0.007945, allocations: 42.69 kB / 0.6551 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of FrontEnd: time 4.053e-05/0.007985, allocations: 13.2 kB / 0.6551 GB, free: 34.53 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: 67 (64) * Number of variables: 67 (67) Notification: Performance of [SIM] Bindings: time 0.001503/0.009489, allocations: 1.703 MB / 0.6567 GB, free: 33.3 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001904/0.009679, allocations: 211 kB / 0.6569 GB, free: 33.18 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.0006457/0.01032, allocations: 1.005 MB / 0.6579 GB, free: 32.48 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0001768/0.0105, allocations: 158 kB / 0.6581 GB, free: 32.39 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.001437/0.01194, allocations: 1.257 MB / 0.6593 GB, free: 31.59 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0001336/0.01207, allocations: 135.7 kB / 0.6594 GB, free: 31.51 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 9.881e-05/0.01217, allocations: 134.4 kB / 0.6596 GB, free: 31.39 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0004445/0.01262, allocations: 451 kB / 0.66 GB, free: 31.07 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0001874/0.0128, allocations: 169.2 kB / 0.6601 GB, free: 31 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0004299/0.01323, allocations: 459.9 kB / 0.6606 GB, free: 30.7 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.001156/0.01439, allocations: 1.022 MB / 0.6616 GB, free: 30.24 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000501/0.01489, allocations: 0.7756 MB / 0.6623 GB, free: 29.74 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.0006886/0.01558, allocations: 0.5515 MB / 0.6629 GB, free: 29.4 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.0007127/0.01629, allocations: 1.148 MB / 0.664 GB, free: 28.64 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 5.126e-05/0.01634, allocations: 35.61 kB / 0.664 GB, free: 28.62 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 0.0001705/0.01651, allocations: 276 kB / 0.6643 GB, free: 28.43 MB / 0.5262 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real patient.peripheral.Cmin (min = -1e-9) [DISC] (1) discrete Real patient.peripheral.Cmax (min = -1e-9) [DISC] (1) discrete Real patient.periodicDose.absorptionLumen.Cmin (min = -1e-9) [DISC] (1) discrete Real patient.periodicDose.absorptionLumen.Cmax (min = -1e-9) [DISC] (1) discrete Real patient.central.Cmin (min = -1e-9) [DISC] (1) discrete Real patient.central.Cmax (min = -1e-9) Following equations were created by fixing variables: [SCAL] (1) $PRE.patient.central.rising = $START.patient.central.rising; ($RES_SRT_137) [SCAL] (1) $PRE.patient.periodicDose.absorptionLumen.rising = $START.patient.periodicDose.absorptionLumen.rising; ($RES_SRT_136) [SCAL] (1) $PRE.patient.peripheral.rising = $START.patient.peripheral.rising; ($RES_SRT_135) [SCAL] (1) patient.peripheral.AUC = $START.patient.peripheral.AUC; ($RES_SRT_134) [SCAL] (1) patient.periodicDose.variableDose.TotalCumulativeMass = $START.patient.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_133) [SCAL] (1) patient.periodicDose.absorptionLumen.AUC = $START.patient.periodicDose.absorptionLumen.AUC; ($RES_SRT_132) [SCAL] (1) patient.periodicDose.TotalCumulativeMass = $START.patient.periodicDose.TotalCumulativeMass; ($RES_SRT_131) [SCAL] (1) patient.central.AUC = $START.patient.central.AUC; ($RES_SRT_130) 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.7839469849132]