Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKPD_Midazolam.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.001835/0.001835, 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.001939/0.001939, allocations: 168.9 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.475/1.475, allocations: 177.1 MB / 203.8 MB, free: 5.621 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.258/3.258, allocations: 274.5 MB / 0.5222 GB, free: 14.18 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.PKPD_Midazolam,tolerance=1e-08,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPD_Midazolam") translateModel(Pharmacolibrary.Examples.PKPD_Midazolam,tolerance=1e-08,outputFormat="empty",numberOfIntervals=43200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPD_Midazolam") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.323e-05/1.323e-05, allocations: 2.312 kB / 0.6479 GB, free: 39.13 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPD_Midazolam): time 0.003223/0.003236, allocations: 2.926 MB / 0.6508 GB, free: 37.24 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001792/0.005028, allocations: 1.325 MB / 0.6521 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001221/0.00515, allocations: 6.312 kB / 0.6521 GB, free: 36.4 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0005423/0.005692, allocations: 0.5335 MB / 0.6526 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0005515/0.006244, allocations: 458.2 kB / 0.653 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002735/0.006517, allocations: 178.3 kB / 0.6532 GB, free: 36.11 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0005279/0.007045, allocations: 0.7115 MB / 0.6539 GB, free: 35.82 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001223/0.007168, allocations: 65.64 kB / 0.6539 GB, free: 35.77 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004407/0.007608, allocations: 417.9 kB / 0.6543 GB, free: 35.63 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003413/0.007949, allocations: 340.5 kB / 0.6547 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 8.606e-05/0.008036, allocations: 30.91 kB / 0.6547 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.008207, allocations: 70.39 kB / 0.6548 GB, free: 35.57 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0006897/0.008896, allocations: 0.6855 MB / 0.6554 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.000219/0.009115, allocations: 386.2 kB / 0.6558 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 6.32e-05/0.009178, allocations: 32.44 kB / 0.6558 GB, free: 34.97 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.618e-05/0.009215, allocations: 16.31 kB / 0.6559 GB, free: 34.96 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: 55 (53) * Number of variables: 55 (55) Notification: Performance of [SIM] Bindings: time 0.001361/0.01058, allocations: 1.687 MB / 0.6575 GB, free: 33.83 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.000312/0.01089, allocations: 290 kB / 0.6578 GB, free: 33.68 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.0005848/0.01147, allocations: 0.8269 MB / 0.6586 GB, free: 33.17 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0001704/0.01164, allocations: 143.2 kB / 0.6587 GB, free: 33.09 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.00126/0.0129, allocations: 1.061 MB / 0.6598 GB, free: 32.41 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0001327/0.01304, allocations: 139.4 kB / 0.6599 GB, free: 32.32 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 0.0001088/0.01314, allocations: 121.1 kB / 0.66 GB, free: 32.23 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0004462/0.01359, allocations: 418.9 kB / 0.6604 GB, free: 31.95 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0002032/0.01379, allocations: 177.6 kB / 0.6606 GB, free: 31.88 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0004656/0.01426, allocations: 457.6 kB / 0.661 GB, free: 31.6 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.001101/0.01536, allocations: 0.91 MB / 0.6619 GB, free: 31.15 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004963/0.01586, allocations: 0.6985 MB / 0.6626 GB, free: 30.76 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.001849/0.01771, allocations: 0.6752 MB / 0.6632 GB, free: 30.4 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.0007115/0.01842, allocations: 1.043 MB / 0.6643 GB, free: 29.81 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 5.448e-05/0.01847, allocations: 35.86 kB / 0.6643 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 0.0001764/0.01865, allocations: 250.3 kB / 0.6645 GB, free: 29.64 MB / 0.5262 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real central.Cmin (min = -1e-9) [DISC] (1) discrete Real central.Cmax (min = -1e-9) [DISC] (1) discrete Real peripheral.Cmin (min = -1e-9) [DISC] (1) discrete Real peripheral.Cmax (min = -1e-9) Following equations were created by fixing variables: [SCAL] (1) $PRE.CTT_MidazolamC.nextTimeEventScaled = $START.CTT_MidazolamC.nextTimeEventScaled; ($RES_SRT_128) [SCAL] (1) $PRE.CTT_MidazolamC.nextTimeEvent = $START.CTT_MidazolamC.nextTimeEvent; ($RES_SRT_127) [SCAL] (1) $PRE.CTT_MidazolamEffect_Epileptic.nextTimeEventScaled = $START.CTT_MidazolamEffect_Epileptic.nextTimeEventScaled; ($RES_SRT_126) [SCAL] (1) $PRE.CTT_MidazolamEffect_Epileptic.nextTimeEvent = $START.CTT_MidazolamEffect_Epileptic.nextTimeEvent; ($RES_SRT_125) [SCAL] (1) $PRE.peripheral.rising = $START.peripheral.rising; ($RES_SRT_124) [SCAL] (1) $PRE.central.rising = $START.central.rising; ($RES_SRT_123) [SCAL] (1) central.AUC = $START.central.AUC; ($RES_SRT_122) [SCAL] (1) peripheral.AUC = $START.peripheral.AUC; ($RES_SRT_121) [SCAL] (1) periodicDose.variableDose.TotalCumulativeMass = $START.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_120) [SCAL] (1) periodicDose.TotalCumulativeMass = $START.periodicDose.TotalCumulativeMass; ($RES_SRT_119) 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.702100387075916]