Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel.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.001803/0.001803, allocations: 88.84 kB / 20.18 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.001909/0.001909, allocations: 165 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.544/1.544, 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.239/3.239, allocations: 274.5 MB / 0.5222 GB, free: 14.16 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.PKTwoCompartmentModel,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel") translateModel(Pharmacolibrary.Examples.PKTwoCompartmentModel,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKTwoCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.864e-05/1.864e-05, allocations: 6.25 kB / 0.6479 GB, free: 39.12 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKTwoCompartmentModel): time 0.00264/0.002658, allocations: 2.364 MB / 0.6502 GB, free: 37.58 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.0008531/0.003511, allocations: 0.618 MB / 0.6508 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.507e-05/0.003596, allocations: 1.406 kB / 0.6508 GB, free: 37.17 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001026/0.003699, allocations: 29.31 kB / 0.6508 GB, free: 37.15 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.003864, allocations: 76.11 kB / 0.6509 GB, free: 37.12 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.004024, allocations: 59.55 kB / 0.6509 GB, free: 37.09 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0002627/0.004287, allocations: 325.1 kB / 0.6513 GB, free: 36.96 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.00441, allocations: 41.56 kB / 0.6513 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001504/0.004561, allocations: 147.8 kB / 0.6514 GB, free: 36.87 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.004691, allocations: 86.19 kB / 0.6515 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 3.879e-05/0.00473, allocations: 21.06 kB / 0.6515 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.693e-05/0.004777, allocations: 21.09 kB / 0.6516 GB, free: 36.84 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0002357/0.005013, allocations: 363.1 kB / 0.6519 GB, free: 36.64 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 8.024e-05/0.005093, allocations: 185.1 kB / 0.6521 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 4.137e-05/0.005135, allocations: 23.69 kB / 0.6521 GB, free: 36.53 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.988e-05/0.005154, allocations: 4.844 kB / 0.6521 GB, free: 36.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: 42 (40) * Number of variables: 42 (42) Notification: Performance of [SIM] Bindings: time 0.000792/0.005946, allocations: 0.9917 MB / 0.6531 GB, free: 35.78 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0001063/0.006053, allocations: 135.3 kB / 0.6532 GB, free: 35.71 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.0003473/0.0064, allocations: 0.5757 MB / 0.6538 GB, free: 35.34 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0001202/0.00652, allocations: 124.8 kB / 0.6539 GB, free: 35.25 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.0008954/0.007416, allocations: 0.7452 MB / 0.6546 GB, free: 34.77 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0001085/0.007524, allocations: 103.6 kB / 0.6547 GB, free: 34.69 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 7.033e-05/0.007594, allocations: 103.8 kB / 0.6548 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0003421/0.007936, allocations: 328.5 kB / 0.6551 GB, free: 34.36 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0001402/0.008077, allocations: 104.6 kB / 0.6552 GB, free: 34.32 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0002897/0.008366, allocations: 298.9 kB / 0.6555 GB, free: 34.13 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.001006/0.009373, allocations: 0.7013 MB / 0.6562 GB, free: 33.78 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003473/0.00972, allocations: 0.4891 MB / 0.6567 GB, free: 33.49 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.0004207/0.01014, allocations: 327.4 kB / 0.657 GB, free: 33.29 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.0004063/0.01055, allocations: 0.6767 MB / 0.6576 GB, free: 32.88 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 3.031e-05/0.01058, allocations: 28.5 kB / 0.6577 GB, free: 32.85 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 0.0001051/0.01068, allocations: 158.8 kB / 0.6578 GB, free: 32.75 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.peripheral.rising = $START.peripheral.rising; ($RES_SRT_82) [SCAL] (1) $PRE.central.rising = $START.central.rising; ($RES_SRT_81) [SCAL] (1) central.AUC = $START.central.AUC; ($RES_SRT_80) [SCAL] (1) peripheral.AUC = $START.peripheral.AUC; ($RES_SRT_79) [SCAL] (1) periodicDose.variableDose.TotalCumulativeMass = $START.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_78) [SCAL] (1) periodicDose.TotalCumulativeMass = $START.periodicDose.TotalCumulativeMass; ($RES_SRT_77) 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.722921639913693]