Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.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.001548/0.001548, allocations: 88.16 kB / 9.898 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002549/0.004097, 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.001738/0.001738, allocations: 149.2 kB / 11.21 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002539/0.004278, 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.619/1.619, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1208/1.74, allocations: 53.65 MB / 243.2 MB, free: 15.57 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.369/1.369, allocations: 293 MB / 0.5244 GB, free: 51.18 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0382/1.408, 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.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.863e-05/1.863e-05, allocations: 2.312 kB / 0.5463 GB, free: 28.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone): time 0.002905/0.002923, allocations: 2.495 MB / 0.5487 GB, free: 26.31 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.006117/0.00904, allocations: 6.69 MB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.009275, allocations: 4 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001072/0.009382, allocations: 31.7 kB / 0.5553 GB, free: 19.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002155/0.009597, allocations: 83.27 kB / 0.5553 GB, free: 19.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.009781, allocations: 51.81 kB / 0.5554 GB, free: 19.45 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003025/0.01008, allocations: 298.6 kB / 0.5557 GB, free: 19.15 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001252/0.01021, allocations: 38.52 kB / 0.5557 GB, free: 19.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002272/0.01044, allocations: 182.7 kB / 0.5559 GB, free: 18.94 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001828/0.01062, allocations: 83.78 kB / 0.556 GB, free: 18.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.404e-05/0.01065, allocations: 16 kB / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.302e-05/0.01069, allocations: 19.94 kB / 0.556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.0002201/0.01091, allocations: 317.9 kB / 0.5563 GB, free: 18.51 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 7.59e-05/0.01098, allocations: 194.4 kB / 0.5565 GB, free: 18.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.01101, allocations: 24 kB / 0.5565 GB, free: 18.29 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.357e-05/0.01104, allocations: 4 kB / 0.5565 GB, free: 18.29 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: 29 (28) * Number of variables: 29 (29) Notification: Performance of [SIM] Bindings: time 0.0008947/0.01193, allocations: 1.049 MB / 0.5575 GB, free: 17.12 MB / 410.7 MB Notification: Performance of [SIM] Data Reconciliation: time 8.767e-06/0.01194, allocations: 0 / 0.5575 GB, free: 17.12 MB / 410.7 MB Notification: Performance of [SIM] FunctionAlias: time 9.157e-05/0.01203, allocations: 95.84 kB / 0.5576 GB, free: 17.02 MB / 410.7 MB Notification: Performance of [SIM] Early Inline: time 0.0003416/0.01237, allocations: 488.2 kB / 0.5581 GB, free: 16.52 MB / 410.7 MB Notification: Performance of [SIM] Simplify: time 0.0001265/0.0125, allocations: 92.34 kB / 0.5582 GB, free: 16.4 MB / 410.7 MB Notification: Performance of [SIM] Alias: time 0.0009755/0.01347, allocations: 0.7513 MB / 0.5589 GB, free: 15.55 MB / 410.7 MB Notification: Performance of [SIM] Remove Stream: time 7.8e-05/0.01355, allocations: 80.33 kB / 0.559 GB, free: 15.45 MB / 410.7 MB Notification: Performance of [SIM] Algorithm Locals: time 9.403e-05/0.01365, allocations: 92.91 kB / 0.5591 GB, free: 15.36 MB / 410.7 MB Notification: Performance of [SIM] Detect States: time 0.0003135/0.01396, allocations: 262.7 kB / 0.5593 GB, free: 15.04 MB / 410.7 MB Notification: Performance of [SIM] Events: time 0.3138/0.3277, allocations: 112.3 kB / 0.5594 GB, free: 78.83 MB / 410.8 MB Notification: Performance of [SIM] Partitioning: time 0.0003811/0.3281, allocations: 255.1 kB / 0.5597 GB, free: 78.74 MB / 410.8 MB Notification: Performance of [SIM] Causalize: time 0.0009091/0.329, allocations: 0.7057 MB / 0.5604 GB, free: 78.5 MB / 410.8 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003729/0.3294, allocations: 404.5 kB / 0.5608 GB, free: 78.5 MB / 410.8 MB Notification: Performance of [INI] Simplify: time 0.0008863/0.3303, allocations: 0.5788 MB / 0.5613 GB, free: 78.3 MB / 410.8 MB Notification: Performance of [INI] Inline: time 0.0004705/0.3308, allocations: 0.5226 MB / 0.5618 GB, free: 78.29 MB / 410.8 MB Notification: Performance of [INI] Partitioning: time 2.75e-05/0.3308, allocations: 24.23 kB / 0.5619 GB, free: 78.27 MB / 410.8 MB Notification: Performance of [INI] Cleanup: time 0.0001059/0.3309, allocations: 101.5 kB / 0.562 GB, free: 78.26 MB / 410.8 MB Notification: Performance of [INI] Causalize: time 0.000991/0.3319, allocations: 0.774 MB / 0.5627 GB, free: 78.1 MB / 410.8 MB Notification: Performance of [INI] Tearing: time 2.442e-05/0.3319, allocations: 22.19 kB / 0.5627 GB, free: 78.09 MB / 410.8 MB Notification: Performance of [SIM] Initialization: time 6.12e-07/0.3319, allocations: 1.344 kB / 0.5627 GB, free: 78.09 MB / 410.8 MB Notification: Performance of [SIM] Remove Dummies: time 3.857e-06/0.3319, allocations: 0.9062 kB / 0.5627 GB, free: 78.09 MB / 410.8 MB Notification: Performance of [SIM] Tearing: time 7.885e-06/0.3319, allocations: 18.25 kB / 0.5628 GB, free: 78.08 MB / 410.8 MB Notification: Performance of [SIM] Categorize: time 0.0001753/0.3321, allocations: 129 kB / 0.5629 GB, free: 78.04 MB / 410.8 MB Notification: Performance of [SIM] Solve: time 0.0002543/0.3323, allocations: 176 kB / 0.563 GB, free: 78.03 MB / 410.8 MB Notification: Performance of [SIM] Jacobian: time 0.0002571/0.3326, allocations: 242 kB / 0.5633 GB, free: 77.93 MB / 410.8 MB Notification: Performance of [SIM] Minimize Homotopy System: time 5.11e-07/0.3326, allocations: 0 / 0.5633 GB, free: 77.93 MB / 410.8 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 5.91e-07/0.3326, allocations: 0.625 kB / 0.5633 GB, free: 77.93 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: ............................. 4 (4) {central.AUC, C_central, elim.MExc, periodicDose.TotalCumulativeMass} * Number of discrete states: .................... 4 (4) {central.Cmax, central.Cmin, periodicDose.pulse.T_start, periodicDose.pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 8 (8) {central.rising, $WC_1, $WC_0, $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: ........... 22 (scalar:22, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:1, 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: ........... 33 (scalar:33, 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 4.133e-05/0.3326, allocations: 49.88 kB / 0.5633 GB, free: 77.9 MB / 410.8 MB Notification: Performance of SimCode: time 0.0008381/0.3335, allocations: 0.6962 MB / 0.564 GB, free: 77.65 MB / 410.8 MB Notification: Performance of Templates: time 0.005578/0.3391, allocations: 2.236 MB / 0.5662 GB, free: 77.63 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N07B_DrugsUsedInAddictiveDisorders.N07BC02_Methadone.Methadone.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.850017389981076]