Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium.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.001802/0.001802, allocations: 87.56 kB / 20.18 MB, free: 4.367 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.00189/0.00189, allocations: 168.9 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.467/1.467, allocations: 177.1 MB / 203.8 MB, free: 5.617 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.268/3.268, 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.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.21e-05/1.21e-05, allocations: 5.547 kB / 0.649 GB, free: 38.19 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05A_Antipsychotics.N05AN01_Lithium.Lithium): time 0.003498/0.00351, allocations: 4.114 MB / 0.653 GB, free: 35.44 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0009543/0.004465, allocations: 0.7231 MB / 0.6537 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001005/0.004565, allocations: 6.562 kB / 0.6537 GB, free: 34.96 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001082/0.004673, allocations: 35.41 kB / 0.6538 GB, free: 34.94 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001945/0.004868, allocations: 110.7 kB / 0.6539 GB, free: 34.9 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.005114, allocations: 94.58 kB / 0.654 GB, free: 34.84 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0003256/0.00544, allocations: 421.3 kB / 0.6544 GB, free: 34.63 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001406/0.00558, allocations: 49.34 kB / 0.6544 GB, free: 34.61 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000178/0.005758, allocations: 194.8 kB / 0.6546 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001995/0.005958, allocations: 118.1 kB / 0.6547 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 4.281e-05/0.006, allocations: 28.81 kB / 0.6548 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.892e-05/0.006049, allocations: 25.91 kB / 0.6548 GB, free: 34.49 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0002812/0.006331, allocations: 469.1 kB / 0.6552 GB, free: 34.22 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.0001068/0.006437, allocations: 269.8 kB / 0.6555 GB, free: 34.06 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 4.767e-05/0.006485, allocations: 30.41 kB / 0.6555 GB, free: 34.06 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.021e-05/0.006505, allocations: 5.75 kB / 0.6555 GB, free: 34.06 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: 48 (46) * Number of variables: 48 (48) Notification: Performance of [SIM] Bindings: time 0.0009269/0.007432, allocations: 1.24 MB / 0.6567 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001249/0.007557, allocations: 147.8 kB / 0.6569 GB, free: 33.08 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.0004866/0.008044, allocations: 0.6626 MB / 0.6575 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0001656/0.008209, allocations: 134.6 kB / 0.6576 GB, free: 32.55 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.00108/0.009289, allocations: 0.8591 MB / 0.6585 GB, free: 32 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0001044/0.009393, allocations: 117.6 kB / 0.6586 GB, free: 31.91 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 7.148e-05/0.009465, allocations: 94.42 kB / 0.6587 GB, free: 31.83 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0003372/0.009802, allocations: 347.3 kB / 0.659 GB, free: 31.57 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0001402/0.009942, allocations: 124.5 kB / 0.6591 GB, free: 31.52 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0003236/0.01027, allocations: 344.1 kB / 0.6595 GB, free: 31.3 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.00082/0.01109, allocations: 0.778 MB / 0.6602 GB, free: 30.92 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000335/0.01142, allocations: 0.5334 MB / 0.6607 GB, free: 30.6 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.0005065/0.01193, allocations: 462.6 kB / 0.6612 GB, free: 30.33 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.0004734/0.0124, allocations: 0.7828 MB / 0.6619 GB, free: 29.85 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 3.79e-05/0.01244, allocations: 25.97 kB / 0.662 GB, free: 29.83 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 0.0001095/0.01255, allocations: 186.5 kB / 0.6622 GB, free: 29.71 MB / 0.5262 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real periodicDose.absorptionLumen.Cmin (min = -1e-9) [DISC] (1) discrete Real periodicDose.absorptionLumen.Cmax (min = -1e-9) [DISC] (1) discrete Real central.Cmin (min = -1e-9) [DISC] (1) discrete Real central.Cmax (min = -1e-9) Following equations were created by fixing variables: [SCAL] (1) $PRE.central.rising = $START.central.rising; ($RES_SRT_102) [SCAL] (1) $PRE.periodicDose.absorptionLumen.rising = $START.periodicDose.absorptionLumen.rising; ($RES_SRT_101) [SCAL] (1) periodicDose.variableDose.TotalCumulativeMass = $START.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_100) [SCAL] (1) periodicDose.absorptionLumen.AUC = $START.periodicDose.absorptionLumen.AUC; ($RES_SRT_99) [SCAL] (1) periodicDose.TotalCumulativeMass = $START.periodicDose.TotalCumulativeMass; ($RES_SRT_98) [SCAL] (1) central.AUC = $START.central.AUC; ($RES_SRT_97) 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.68125322391279]