Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.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.001226/0.001226, allocations: 88.16 kB / 9.898 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001835/0.003061, allocations: 435.8 kB / 10.32 MB, free: 364 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.001166/0.001166, allocations: 149.2 kB / 11.21 MB, free: 2.953 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001606/0.002773, allocations: 471.5 kB / 11.67 MB, free: 2.488 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.644/1.644, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1249/1.769, 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.473/1.473, allocations: 293 MB / 0.5244 GB, free: 51.18 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03248/1.506, allocations: 21.03 MB / 0.5449 GB, free: 30.21 MB / 410.7 MB " [Timeout remaining time 178] 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.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.449e-05/1.449e-05, allocations: 2.312 kB / 0.5463 GB, free: 28.82 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate): time 0.002939/0.002953, allocations: 2.488 MB / 0.5487 GB, free: 26.32 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009985/0.003952, allocations: 0.6254 MB / 0.5493 GB, free: 25.7 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001049/0.004057, allocations: 0 / 0.5493 GB, free: 25.7 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.267e-05/0.00413, allocations: 27.7 kB / 0.5493 GB, free: 25.67 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001915/0.004321, allocations: 83.28 kB / 0.5494 GB, free: 25.59 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001529/0.004474, allocations: 51.86 kB / 0.5495 GB, free: 25.54 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002747/0.004749, allocations: 294.6 kB / 0.5497 GB, free: 25.25 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/0.004858, allocations: 38.53 kB / 0.5498 GB, free: 25.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002233/0.005081, allocations: 182.6 kB / 0.55 GB, free: 25.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001963/0.005278, allocations: 83.78 kB / 0.55 GB, free: 24.95 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.005311, allocations: 16 kB / 0.55 GB, free: 24.94 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.906e-05/0.00535, allocations: 20 kB / 0.5501 GB, free: 24.92 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.0002133/0.005564, allocations: 321.9 kB / 0.5504 GB, free: 24.6 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 8.618e-05/0.00565, allocations: 190.4 kB / 0.5506 GB, free: 24.41 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 3.859e-05/0.005689, allocations: 20 kB / 0.5506 GB, free: 24.39 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.167e-05/0.00571, allocations: 4 kB / 0.5506 GB, free: 24.39 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.0009085/0.006619, allocations: 1.049 MB / 0.5516 GB, free: 23.22 MB / 410.7 MB Notification: Performance of [SIM] Data Reconciliation: time 7.935e-06/0.006627, allocations: 0 / 0.5516 GB, free: 23.22 MB / 410.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001111/0.006738, allocations: 99.89 kB / 0.5517 GB, free: 23.12 MB / 410.7 MB Notification: Performance of [SIM] Early Inline: time 0.0004138/0.007152, allocations: 484.1 kB / 0.5522 GB, free: 22.62 MB / 410.7 MB Notification: Performance of [SIM] Simplify: time 0.0001285/0.00728, allocations: 100.3 kB / 0.5523 GB, free: 22.5 MB / 410.7 MB Notification: Performance of [SIM] Alias: time 0.0009454/0.008226, allocations: 0.7368 MB / 0.553 GB, free: 21.66 MB / 410.7 MB Notification: Performance of [SIM] Remove Stream: time 7.608e-05/0.008302, allocations: 88.72 kB / 0.5531 GB, free: 21.55 MB / 410.7 MB Notification: Performance of [SIM] Algorithm Locals: time 9.382e-05/0.008396, allocations: 88.58 kB / 0.5531 GB, free: 21.46 MB / 410.7 MB Notification: Performance of [SIM] Detect States: time 0.0003003/0.008696, allocations: 264.8 kB / 0.5534 GB, free: 21.14 MB / 410.7 MB Notification: Performance of [SIM] Events: time 0.0001643/0.00886, allocations: 109.7 kB / 0.5535 GB, free: 21.04 MB / 410.7 MB Notification: Performance of [SIM] Partitioning: time 0.0002843/0.009144, allocations: 266.3 kB / 0.5538 GB, free: 20.73 MB / 410.7 MB Notification: Performance of [SIM] Causalize: time 0.0007783/0.009923, allocations: 0.722 MB / 0.5545 GB, free: 19.98 MB / 410.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0002973/0.01022, allocations: 403.8 kB / 0.5548 GB, free: 19.58 MB / 410.7 MB Notification: Performance of [INI] Simplify: time 0.0007929/0.01101, allocations: 0.5749 MB / 0.5554 GB, free: 18.98 MB / 410.7 MB Notification: Performance of [INI] Inline: time 0.000373/0.01139, allocations: 0.5251 MB / 0.5559 GB, free: 18.45 MB / 410.7 MB Notification: Performance of [INI] Partitioning: time 2.761e-05/0.01141, allocations: 31.94 kB / 0.556 GB, free: 18.41 MB / 410.7 MB Notification: Performance of [INI] Cleanup: time 8.655e-05/0.0115, allocations: 96 kB / 0.556 GB, free: 18.32 MB / 410.7 MB Notification: Performance of [INI] Causalize: time 0.0008891/0.01239, allocations: 0.7734 MB / 0.5568 GB, free: 17.54 MB / 410.7 MB Notification: Performance of [INI] Tearing: time 1.876e-05/0.01241, allocations: 24.22 kB / 0.5568 GB, free: 17.52 MB / 410.7 MB Notification: Performance of [SIM] Initialization: time 7.81e-07/0.01241, allocations: 0 / 0.5568 GB, free: 17.52 MB / 410.7 MB Notification: Performance of [SIM] Remove Dummies: time 3.116e-06/0.01241, allocations: 0 / 0.5568 GB, free: 17.52 MB / 410.7 MB Notification: Performance of [SIM] Tearing: time 8.175e-06/0.01242, allocations: 16 kB / 0.5568 GB, free: 17.5 MB / 410.7 MB Notification: Performance of [SIM] Categorize: time 0.000165/0.01259, allocations: 128.1 kB / 0.557 GB, free: 17.36 MB / 410.7 MB Notification: Performance of [SIM] Solve: time 0.0002275/0.01281, allocations: 182.7 kB / 0.5571 GB, free: 17.18 MB / 410.7 MB Notification: Performance of [SIM] Jacobian: time 0.0002421/0.01305, allocations: 228.3 kB / 0.5574 GB, free: 16.92 MB / 410.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 5.62e-07/0.01306, allocations: 0 / 0.5574 GB, free: 16.92 MB / 410.7 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 5.11e-07/0.01306, allocations: 0 / 0.5574 GB, free: 16.92 MB / 410.7 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.177e-05/0.0131, allocations: 41.75 kB / 0.5574 GB, free: 16.88 MB / 410.7 MB Notification: Performance of SimCode: time 0.0008105/0.01391, allocations: 0.7007 MB / 0.5581 GB, free: 16.17 MB / 410.7 MB Notification: Performance of Templates: time 0.2526/0.2665, allocations: 2.226 MB / 0.5602 GB, free: 82.9 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.858660090947524]