Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic.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.001868/0.001868, 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.001901/0.001901, 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.472/1.472, allocations: 177.1 MB / 203.8 MB, free: 5.59 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.313/3.313, 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.DevModels.PKOneCompartmentModelPeriodic,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic") translateModel(Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.435e-05/1.435e-05, allocations: 2.312 kB / 0.6479 GB, free: 39.03 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.DevModels.PKOneCompartmentModelPeriodic): time 0.00239/0.002405, allocations: 2.036 MB / 0.6499 GB, free: 37.71 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0007531/0.003158, allocations: 0.5474 MB / 0.6504 GB, free: 37.34 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.931e-05/0.003227, allocations: 0 / 0.6504 GB, free: 37.34 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 8.892e-05/0.003316, allocations: 17.8 kB / 0.6504 GB, free: 37.34 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001251/0.003441, allocations: 49.66 kB / 0.6505 GB, free: 37.32 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001377/0.003579, allocations: 47.31 kB / 0.6505 GB, free: 37.29 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002068/0.003786, allocations: 217.8 kB / 0.6507 GB, free: 37.23 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.003889, allocations: 28.25 kB / 0.6507 GB, free: 37.2 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.00401, allocations: 98.94 kB / 0.6508 GB, free: 37.16 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.004126, allocations: 59.03 kB / 0.6509 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.359e-05/0.00416, allocations: 16.25 kB / 0.6509 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.108e-05/0.004191, allocations: 17.69 kB / 0.6509 GB, free: 37.14 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.000167/0.004358, allocations: 246.3 kB / 0.6512 GB, free: 37 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 5.704e-05/0.004415, allocations: 121 kB / 0.6513 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.004449, allocations: 17.28 kB / 0.6513 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.459e-05/0.004464, allocations: 3.594 kB / 0.6513 GB, free: 36.93 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: 26 (25) * Number of variables: 26 (26) Notification: Performance of [SIM] Bindings: time 0.0006478/0.005112, allocations: 0.7346 MB / 0.652 GB, free: 36.33 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 8.309e-05/0.005195, allocations: 89.92 kB / 0.6521 GB, free: 36.29 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.0002596/0.005455, allocations: 413.8 kB / 0.6525 GB, free: 36.01 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 9.323e-05/0.005548, allocations: 94.67 kB / 0.6526 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.0006645/0.006212, allocations: 0.4991 MB / 0.6531 GB, free: 35.58 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 7.187e-05/0.006284, allocations: 95.72 kB / 0.6532 GB, free: 35.5 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 5.615e-05/0.00634, allocations: 76.53 kB / 0.6532 GB, free: 35.43 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0002737/0.006614, allocations: 256.8 kB / 0.6535 GB, free: 35.22 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0001185/0.006732, allocations: 86.69 kB / 0.6536 GB, free: 35.19 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0002136/0.006946, allocations: 221.5 kB / 0.6538 GB, free: 35.04 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.0005798/0.007526, allocations: 0.5413 MB / 0.6543 GB, free: 34.74 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002417/0.007768, allocations: 357.2 kB / 0.6546 GB, free: 34.53 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.0003804/0.008148, allocations: 291.1 kB / 0.6549 GB, free: 34.34 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.0002936/0.008442, allocations: 495.5 kB / 0.6554 GB, free: 34.04 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 2.277e-05/0.008464, allocations: 22.91 kB / 0.6554 GB, free: 34.02 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 7.696e-05/0.008541, allocations: 116.5 kB / 0.6555 GB, free: 33.95 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) Following equations were created by fixing variables: [SCAL] (1) $PRE.central.rising = $START.central.rising; ($RES_SRT_54) [SCAL] (1) periodicDose.variableDose.TotalCumulativeMass = $START.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_53) [SCAL] (1) periodicDose.TotalCumulativeMass = $START.periodicDose.TotalCumulativeMass; ($RES_SRT_52) [SCAL] (1) central.AUC = $START.central.AUC; ($RES_SRT_51) 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.770612690132111]