Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel.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.001774/0.001774, allocations: 91.55 kB / 20.19 MB, free: 4.332 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.001874/0.001874, allocations: 172.9 kB / 23.49 MB, free: 1.027 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.5/1.5, allocations: 177.1 MB / 203.8 MB, free: 5.625 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.298/3.298, allocations: 274.5 MB / 0.5222 GB, free: 14.17 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.PKThreeCompartmentModel,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel") translateModel(Pharmacolibrary.Examples.PKThreeCompartmentModel,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKThreeCompartmentModel") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.83e-05/1.83e-05, allocations: 2.312 kB / 0.6479 GB, free: 39.11 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKThreeCompartmentModel): time 0.004565/0.004584, allocations: 2.669 MB / 0.6505 GB, free: 37.37 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001564/0.006148, allocations: 0.6641 MB / 0.6511 GB, free: 36.93 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002137/0.006361, allocations: 8.875 kB / 0.6511 GB, free: 36.92 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001784/0.00654, allocations: 39.92 kB / 0.6512 GB, free: 36.9 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003839/0.006924, allocations: 99.67 kB / 0.6513 GB, free: 36.86 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00029/0.007214, allocations: 80.56 kB / 0.6514 GB, free: 36.82 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.0005823/0.007796, allocations: 420.8 kB / 0.6518 GB, free: 36.62 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002061/0.008002, allocations: 55.17 kB / 0.6518 GB, free: 36.59 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003607/0.008363, allocations: 203 kB / 0.652 GB, free: 36.51 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002754/0.008638, allocations: 108.6 kB / 0.6521 GB, free: 36.47 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 7.192e-05/0.00871, allocations: 27.72 kB / 0.6521 GB, free: 36.47 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.625e-05/0.008796, allocations: 30.41 kB / 0.6522 GB, free: 36.47 MB / 0.5262 GB Notification: Performance of combineBinaries: time 0.0004727/0.009269, allocations: 471 kB / 0.6526 GB, free: 36.21 MB / 0.5262 GB Notification: Performance of replaceArrayConstructors: time 0.000202/0.009471, allocations: 247.6 kB / 0.6528 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001034/0.009574, allocations: 36.69 kB / 0.6529 GB, free: 36.06 MB / 0.5262 GB Notification: Performance of FrontEnd: time 3.903e-05/0.009613, allocations: 6.812 kB / 0.6529 GB, free: 36.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: 58 (55) * Number of variables: 58 (58) Notification: Performance of [SIM] Bindings: time 0.001496/0.01111, allocations: 1.252 MB / 0.6541 GB, free: 35.16 MB / 0.5262 GB Notification: Performance of [SIM] FunctionAlias: time 0.0002268/0.01134, allocations: 166.9 kB / 0.6543 GB, free: 35.07 MB / 0.5262 GB Notification: Performance of [SIM] Early Inline: time 0.0009352/0.01227, allocations: 0.7471 MB / 0.655 GB, free: 34.6 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 1: time 0.0002678/0.01254, allocations: 143.6 kB / 0.6551 GB, free: 34.51 MB / 0.5262 GB Notification: Performance of [SIM] Alias: time 0.001994/0.01453, allocations: 1.006 MB / 0.6561 GB, free: 33.88 MB / 0.5262 GB Notification: Performance of [SIM] Simplify 2: time 0.0002352/0.01477, allocations: 135 kB / 0.6563 GB, free: 33.79 MB / 0.5262 GB Notification: Performance of [SIM] Remove Stream: time 0.0001714/0.01494, allocations: 107.2 kB / 0.6564 GB, free: 33.71 MB / 0.5262 GB Notification: Performance of [SIM] Detect States: time 0.0006967/0.01564, allocations: 394.1 kB / 0.6567 GB, free: 33.43 MB / 0.5262 GB Notification: Performance of [SIM] Events: time 0.0002576/0.01589, allocations: 139.9 kB / 0.6569 GB, free: 33.38 MB / 0.5262 GB Notification: Performance of [SIM] Partitioning: time 0.0006139/0.01651, allocations: 379.1 kB / 0.6572 GB, free: 33.16 MB / 0.5262 GB Notification: Performance of [SIM] Causalize: time 0.001617/0.01813, allocations: 0.8682 MB / 0.6581 GB, free: 32.75 MB / 0.5262 GB Notification: Performance of [SIM] After Index Reduction Inline: time 0.000667/0.01879, allocations: 0.6102 MB / 0.6587 GB, free: 32.4 MB / 0.5262 GB Notification: Performance of [INI] Simplify: time 0.0008168/0.01961, allocations: 399.6 kB / 0.659 GB, free: 32.15 MB / 0.5262 GB Notification: Performance of [INI] Inline: time 0.000941/0.02055, allocations: 0.8465 MB / 0.6599 GB, free: 31.64 MB / 0.5262 GB Notification: Performance of [INI] Partitioning: time 6.719e-05/0.02062, allocations: 29.98 kB / 0.6599 GB, free: 31.62 MB / 0.5262 GB Notification: Performance of [INI] Cleanup: time 0.0002515/0.02087, allocations: 196.3 kB / 0.6601 GB, free: 31.5 MB / 0.5262 GB Error: Internal error NBResolveSingularities.balanceInitialization failed because following non-fixable variables could not be solved: [DISC] (1) discrete Real peripheral2.Cmin (min = -1e-9) [DISC] (1) discrete Real peripheral2.Cmax (min = -1e-9) [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_110) [SCAL] (1) $PRE.central.rising = $START.central.rising; ($RES_SRT_109) [SCAL] (1) $PRE.peripheral2.rising = $START.peripheral2.rising; ($RES_SRT_108) [SCAL] (1) peripheral2.AUC = $START.peripheral2.AUC; ($RES_SRT_107) [SCAL] (1) central.AUC = $START.central.AUC; ($RES_SRT_106) [SCAL] (1) peripheral.AUC = $START.peripheral.AUC; ($RES_SRT_105) [SCAL] (1) periodicDose.variableDose.TotalCumulativeMass = $START.periodicDose.variableDose.TotalCumulativeMass; ($RES_SRT_104) [SCAL] (1) periodicDose.TotalCumulativeMass = $START.periodicDose.TotalCumulativeMass; ($RES_SRT_103) 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.800227669999003]