Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.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.001387/0.001387, allocations: 88.16 kB / 9.898 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002114/0.0035, allocations: 435.8 kB / 10.32 MB, free: 368 kB / 10.45 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.001489/0.001489, allocations: 149.2 kB / 11.21 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002073/0.003562, allocations: 471.5 kB / 11.67 MB, free: 2.492 MB / 13.93 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.665/1.665, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1364/1.801, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.0/package.mo): time 1.413/1.413, allocations: 293 MB / 0.5244 GB, free: 51.17 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03795/1.451, allocations: 21.04 MB / 0.5449 GB, free: 30.2 MB / 410.7 MB " [Timeout remaining time 179] Using package Pharmacolibrary with version 26.11 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 26.11.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.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.204e-05/2.204e-05, allocations: 6.25 kB / 0.5463 GB, free: 28.77 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone): time 0.005/0.005022, allocations: 2.957 MB / 0.5492 GB, free: 25.8 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.008981/0.014, allocations: 6.762 MB / 0.5558 GB, free: 19.03 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003791/0.01438, allocations: 7.938 kB / 0.5558 GB, free: 19.02 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001881/0.01457, allocations: 39.62 kB / 0.5558 GB, free: 18.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004758/0.01505, allocations: 127 kB / 0.556 GB, free: 18.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.01535, allocations: 79.7 kB / 0.556 GB, free: 18.78 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006218/0.01597, allocations: 437.9 kB / 0.5565 GB, free: 18.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.01618, allocations: 57.3 kB / 0.5565 GB, free: 18.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005402/0.01672, allocations: 238.6 kB / 0.5567 GB, free: 18.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003502/0.01707, allocations: 123.6 kB / 0.5569 GB, free: 17.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 8.245e-05/0.01715, allocations: 27.94 kB / 0.5569 GB, free: 17.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.931e-05/0.01725, allocations: 24 kB / 0.5569 GB, free: 17.88 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.0004623/0.01771, allocations: 457.1 kB / 0.5573 GB, free: 17.43 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 0.0002387/0.01795, allocations: 273.8 kB / 0.5576 GB, free: 17.16 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001077/0.01806, allocations: 40 kB / 0.5576 GB, free: 17.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.275e-05/0.01812, allocations: 4 kB / 0.5577 GB, free: 17.12 MB / 410.7 MB 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.001913/0.02004, allocations: 1.444 MB / 0.5591 GB, free: 15.55 MB / 410.7 MB Notification: Performance of [SIM] Data Reconciliation: time 1.049e-05/0.02005, allocations: 0 / 0.5591 GB, free: 15.55 MB / 410.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.000246/0.02029, allocations: 135.9 kB / 0.5592 GB, free: 15.42 MB / 410.7 MB Notification: Performance of [SIM] Early Inline: time 0.3547/0.375, allocations: 0.6953 MB / 0.5599 GB, free: 78.15 MB / 410.8 MB Notification: Performance of [SIM] Simplify: time 0.0002442/0.3753, allocations: 134.4 kB / 0.56 GB, free: 78.09 MB / 410.8 MB Notification: Performance of [SIM] Alias: time 0.002086/0.3773, allocations: 1.373 MB / 0.5613 GB, free: 77.77 MB / 410.8 MB Notification: Performance of [SIM] Remove Stream: time 0.0001143/0.3775, allocations: 102.2 kB / 0.5614 GB, free: 77.71 MB / 410.8 MB Notification: Performance of [SIM] Algorithm Locals: time 0.0001574/0.3776, allocations: 113.9 kB / 0.5615 GB, free: 77.71 MB / 410.8 MB Notification: Performance of [SIM] Detect States: time 0.0005121/0.3781, allocations: 342.1 kB / 0.5619 GB, free: 77.56 MB / 410.8 MB Notification: Performance of [SIM] Events: time 0.0002421/0.3784, allocations: 177 kB / 0.562 GB, free: 77.54 MB / 410.8 MB Notification: Performance of [SIM] Partitioning: time 0.0004073/0.3788, allocations: 352.8 kB / 0.5624 GB, free: 77.43 MB / 410.8 MB Notification: Performance of [SIM] Causalize: time 0.001231/0.38, allocations: 0.9695 MB / 0.5633 GB, free: 77.08 MB / 410.8 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0005306/0.3805, allocations: 0.5643 MB / 0.5639 GB, free: 77.07 MB / 410.8 MB Notification: Performance of [INI] Simplify: time 0.001211/0.3817, allocations: 0.741 MB / 0.5646 GB, free: 76.85 MB / 410.8 MB Notification: Performance of [INI] Inline: time 0.0007154/0.3825, allocations: 0.7604 MB / 0.5653 GB, free: 76.84 MB / 410.8 MB Notification: Performance of [INI] Partitioning: time 4.131e-05/0.3825, allocations: 24.77 kB / 0.5654 GB, free: 76.82 MB / 410.8 MB Notification: Performance of [INI] Cleanup: time 0.0001653/0.3827, allocations: 139 kB / 0.5655 GB, free: 76.82 MB / 410.8 MB Notification: Performance of [INI] Causalize: time 0.001577/0.3842, allocations: 1.158 MB / 0.5666 GB, free: 76.55 MB / 410.8 MB Notification: Performance of [INI] Tearing: time 3.374e-05/0.3843, allocations: 36.69 kB / 0.5667 GB, free: 76.54 MB / 410.8 MB Notification: Performance of [SIM] Initialization: time 1.002e-06/0.3843, allocations: 0.9375 kB / 0.5667 GB, free: 76.54 MB / 410.8 MB Notification: Performance of [SIM] Remove Dummies: time 4.799e-06/0.3843, allocations: 0.7812 kB / 0.5667 GB, free: 76.54 MB / 410.8 MB Notification: Performance of [SIM] Tearing: time 1.173e-05/0.3843, allocations: 24.53 kB / 0.5667 GB, free: 76.53 MB / 410.8 MB Notification: Performance of [SIM] Categorize: time 0.0002752/0.3846, allocations: 176.8 kB / 0.5669 GB, free: 76.48 MB / 410.8 MB Notification: Performance of [SIM] Solve: time 0.0003795/0.385, allocations: 255.9 kB / 0.5671 GB, free: 76.47 MB / 410.8 MB Notification: Performance of [SIM] Jacobian: time 0.0003515/0.3853, allocations: 331.5 kB / 0.5674 GB, free: 76.37 MB / 410.8 MB Notification: Performance of [SIM] Minimize Homotopy System: time 5.41e-07/0.3853, allocations: 0 / 0.5674 GB, free: 76.37 MB / 410.8 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 6.21e-07/0.3853, allocations: 3.562 kB / 0.5674 GB, free: 76.37 MB / 410.8 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 2 * Number of ODE event partitions: ............... 1 * Number of algebraic event partitions: ......... 0 * Number of clocked partitions: ................. 0 * Number of initial partitions: ................. 1 * Number of initial(lambda=0) partitions: ....... 0 Notification: Variable statistics after passing the back-end: * Number of states: ............................. 6 (6) {central.AUC, C_central, elim.MExc, periodicDose.TotalCumulativeMass, peripheral.AUC, C_peripheral1} * Number of discrete states: .................... 6 (6) {peripheral.Cmax, peripheral.Cmin, central.Cmax, central.Cmin, periodicDose.pulse.T_start, periodicDose.pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 13 (13) {central.rising, peripheral.rising, $WC_3, $WC_2, $WC_1, $WC_0, $SEV_6, $SEV_5, $SEV_4, $SEV_3, $SEV_2, $SEV_1, $SEV_0} * Number of algorithm local variables: .......... 0 (0) {} * Number of clocks: ............................. 0 (0) {} * Number of top-level inputs: ................... 0 (0) {} Notification: [Simulation] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 34 (scalar:34, array:0, record:0) * Number of multi strong components: ............ 4 (algorithm:2, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: [Initialization] Strong Component statistics after passing the back-end: * Number of single strong components: ........... 52 (scalar:52, array:0, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 0 (resizable: 0, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.072e-05/0.3854, allocations: 56.97 kB / 0.5675 GB, free: 76.32 MB / 410.8 MB Notification: Performance of SimCode: time 0.001121/0.3865, allocations: 0.9776 MB / 0.5684 GB, free: 75.96 MB / 410.8 MB Notification: Performance of Templates: time 0.006652/0.3931, allocations: 3.004 MB / 0.5714 GB, free: 75.21 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA03_Hydromorphone.Hydromorphone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.136602488113567]