Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.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.001396/0.001396, allocations: 88.16 kB / 9.898 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002193/0.003588, 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.001471/0.001471, allocations: 149.2 kB / 11.21 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002095/0.003566, 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.621/1.621, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1173/1.738, 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.418/1.418, allocations: 293 MB / 0.5244 GB, free: 51.16 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03522/1.453, allocations: 21.05 MB / 0.5449 GB, free: 30.18 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.Examples.Clopidogrel.clopidogrel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel") translateModel(Pharmacolibrary.Examples.Clopidogrel.clopidogrel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2880,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.729e-05/1.729e-05, allocations: 2.312 kB / 0.5463 GB, free: 28.75 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Clopidogrel.clopidogrel): time 0.005247/0.005264, allocations: 5.762 MB / 0.552 GB, free: 22.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00262/0.007884, allocations: 1.288 MB / 0.5532 GB, free: 21.66 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003569/0.008241, allocations: 11.94 kB / 0.5532 GB, free: 21.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002499/0.008491, allocations: 130.7 kB / 0.5533 GB, free: 21.52 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0006895/0.00918, allocations: 388.7 kB / 0.5537 GB, free: 21.14 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004149/0.009595, allocations: 227.6 kB / 0.5539 GB, free: 20.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.001084/0.01068, allocations: 1.412 MB / 0.5553 GB, free: 19.5 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002914/0.01097, allocations: 172.9 kB / 0.5555 GB, free: 19.31 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007758/0.01175, allocations: 0.7668 MB / 0.5562 GB, free: 18.55 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004237/0.01217, allocations: 390.8 kB / 0.5566 GB, free: 18.16 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001203/0.01229, allocations: 88 kB / 0.5567 GB, free: 18.08 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001613/0.01245, allocations: 88 kB / 0.5568 GB, free: 17.99 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.001015/0.01347, allocations: 1.437 MB / 0.5582 GB, free: 16.55 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 0.0004293/0.0139, allocations: 0.8291 MB / 0.559 GB, free: 15.71 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001748/0.01407, allocations: 108 kB / 0.5591 GB, free: 15.61 MB / 410.7 MB Notification: Performance of FrontEnd: time 9.808e-05/0.01417, allocations: 20 kB / 0.5591 GB, free: 15.59 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: 166 (158) * Number of variables: 166 (166) Notification: Performance of [SIM] Bindings: time 0.3187/0.3329, allocations: 4.322 MB / 0.5633 GB, free: 79.48 MB / 410.8 MB Notification: Performance of [SIM] Data Reconciliation: time 9.949e-06/0.3329, allocations: 0.7188 kB / 0.5633 GB, free: 79.48 MB / 410.8 MB Notification: Performance of [SIM] FunctionAlias: time 0.0004376/0.3333, allocations: 462.8 kB / 0.5638 GB, free: 79.48 MB / 410.8 MB Notification: Performance of [SIM] Early Inline: time 0.002116/0.3355, allocations: 2.366 MB / 0.5661 GB, free: 79.2 MB / 410.8 MB Notification: Performance of [SIM] Simplify: time 0.0005185/0.336, allocations: 371.8 kB / 0.5664 GB, free: 79.03 MB / 410.8 MB Notification: Performance of [SIM] Alias: time 0.005173/0.3412, allocations: 3.688 MB / 0.57 GB, free: 77.94 MB / 410.8 MB Notification: Performance of [SIM] Remove Stream: time 0.0002766/0.3414, allocations: 263 kB / 0.5703 GB, free: 77.83 MB / 410.8 MB Notification: Performance of [SIM] Algorithm Locals: time 0.0004891/0.3419, allocations: 408.9 kB / 0.5707 GB, free: 77.69 MB / 410.8 MB Notification: Performance of [SIM] Detect States: time 0.001128/0.343, allocations: 0.9921 MB / 0.5716 GB, free: 77.29 MB / 410.8 MB Notification: Performance of [SIM] Events: time 0.0005837/0.3436, allocations: 0.5686 MB / 0.5722 GB, free: 77.07 MB / 410.8 MB Notification: Performance of [SIM] Partitioning: time 0.001225/0.3449, allocations: 1.086 MB / 0.5733 GB, free: 76.55 MB / 410.8 MB Notification: Performance of [SIM] Causalize: time 0.004109/0.349, allocations: 2.875 MB / 0.5761 GB, free: 75.51 MB / 410.8 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0017/0.3507, allocations: 2.026 MB / 0.578 GB, free: 74.45 MB / 410.8 MB Notification: Performance of [INI] Simplify: time 0.003879/0.3545, allocations: 2.316 MB / 0.5803 GB, free: 73.21 MB / 410.8 MB Notification: Performance of [INI] Inline: time 0.002914/0.3575, allocations: 2.817 MB / 0.5831 GB, free: 71.73 MB / 410.8 MB Notification: Performance of [INI] Partitioning: time 0.0001655/0.3576, allocations: 74.36 kB / 0.5831 GB, free: 71.68 MB / 410.8 MB Notification: Performance of [INI] Cleanup: time 0.0005903/0.3582, allocations: 0.5001 MB / 0.5836 GB, free: 71.64 MB / 410.8 MB Notification: Performance of [INI] Causalize: time 0.006212/0.3644, allocations: 4.09 MB / 0.5876 GB, free: 68.4 MB / 410.8 MB Notification: Performance of [INI] Tearing: time 7.223e-05/0.3645, allocations: 114.6 kB / 0.5877 GB, free: 68.29 MB / 410.8 MB Notification: Performance of [SIM] Initialization: time 1.643e-06/0.3645, allocations: 4 kB / 0.5877 GB, free: 68.29 MB / 410.8 MB Notification: Performance of [SIM] Remove Dummies: time 1.393e-05/0.3645, allocations: 1.844 kB / 0.5877 GB, free: 68.29 MB / 410.8 MB Notification: Performance of [SIM] Tearing: time 3.964e-05/0.3646, allocations: 73.88 kB / 0.5878 GB, free: 68.21 MB / 410.8 MB Notification: Performance of [SIM] Categorize: time 0.001075/0.3656, allocations: 0.6047 MB / 0.5884 GB, free: 67.57 MB / 410.8 MB Notification: Performance of [SIM] Solve: time 0.001549/0.3672, allocations: 1.012 MB / 0.5894 GB, free: 66.59 MB / 410.8 MB Notification: Performance of [SIM] Jacobian: time 0.001552/0.3687, allocations: 1.075 MB / 0.5904 GB, free: 65.54 MB / 410.8 MB Notification: Performance of [SIM] Minimize Homotopy System: time 8.81e-07/0.3687, allocations: 0.5625 kB / 0.5904 GB, free: 65.54 MB / 410.8 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 9.22e-07/0.3687, allocations: 0.5625 kB / 0.5904 GB, free: 65.54 MB / 410.8 MB Notification: Partition statistics after passing the back-end: * Number of ODE partitions: ..................... 0 * Number of algebraic partitions: ............... 1 * 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: ............................. 22 (22) {hepatic.AUC, Qhm2.cB, central.AUC, C_central, peripheral.AUC, Qp.cA, central_M1.M, central_M1.AUC, peripheral_M1.AUC, Qm1.cA, central_M2.AUC, C_M2, peripheral_M2.M, peripheral_M2.AUC, periodicDose.route.variableDose.TotalCumulativeMass, periodicDose.route.absorptionLumen.AUC, periodicDose.route.transferFirstOrderNonSym.cA, periodicDose.TotalCumulativeMass, infusionDose.TotalCumulativeMass, CL_1.MExc, CL_m1.MExc, CL_m2.MExc} * Number of discrete states: .................... 20 (20) {periodicDose.route.absorptionLumen.Cmax, periodicDose.route.absorptionLumen.Cmin, peripheral_M2.Cmax, peripheral_M2.Cmin, central_M2.Cmax, central_M2.Cmin, peripheral_M1.Cmax, peripheral_M1.Cmin, central_M1.Cmax, central_M1.Cmin, peripheral.Cmax, peripheral.Cmin, central.Cmax, central.Cmin, hepatic.Cmin, hepatic.Cmax, infusionDose.pulse.T_start, infusionDose.pulse.count, periodicDose.pulse.T_start, periodicDose.pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 46 (46) {hepatic.rising, central.rising, peripheral.rising, central_M1.rising, peripheral_M1.rising, central_M2.rising, peripheral_M2.rising, periodicDose.route.absorptionLumen.rising, $WC_15, $WC_14, $WC_13, $WC_12, $WC_11, $WC_10, $WC_9, $WC_8, $WC_7, $WC_6, $WC_5, $WC_4, $WC_3, $WC_2, $WC_1, $WC_0, $SEV_21, $SEV_20, $SEV_19, $SEV_18, $SEV_17, $SEV_16, $SEV_15, $SEV_14, $SEV_13, $SEV_12, $SEV_11, $SEV_10, $SEV_9, $SEV_8, $SEV_7, $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: ........... 123 (scalar:123, array:0, record:0) * Number of multi strong components: ............ 12 (algorithm:8, when:4, 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: ........... 189 (scalar:189, array:0, record:0) * Number of multi strong components: ............ 2 (algorithm:2, 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 0.0001076/0.3688, allocations: 122.3 kB / 0.5905 GB, free: 65.44 MB / 410.8 MB Notification: Performance of SimCode: time 0.003782/0.3726, allocations: 2.895 MB / 0.5934 GB, free: 62.47 MB / 410.8 MB Notification: Performance of Templates: time 0.01992/0.3925, allocations: 9.408 MB / 0.6026 GB, free: 53.33 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Clopidogrel.clopidogrel.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.126570841995999]