Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference.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.001404/0.001404, allocations: 88.16 kB / 9.898 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002135/0.003539, 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.0016/0.0016, allocations: 149.2 kB / 11.21 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002017/0.003617, 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.617/1.617, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1857/1.802, 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.356/1.356, allocations: 293 MB / 0.5244 GB, free: 51.19 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03036/1.387, allocations: 21.05 MB / 0.5449 GB, free: 30.21 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.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference") translateModel(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=93600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.159e-05/2.159e-05, allocations: 2.312 kB / 0.5462 GB, free: 28.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference): time 0.004099/0.004121, allocations: 2.464 MB / 0.5487 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001239/0.00536, allocations: 0.6215 MB / 0.5493 GB, free: 25.75 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001006/0.00546, allocations: 7.938 kB / 0.5493 GB, free: 25.74 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001073/0.005567, allocations: 27.7 kB / 0.5493 GB, free: 25.71 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002452/0.005813, allocations: 83.33 kB / 0.5494 GB, free: 25.63 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.006014, allocations: 51.81 kB / 0.5494 GB, free: 25.58 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003702/0.006384, allocations: 294.6 kB / 0.5497 GB, free: 25.29 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001408/0.006525, allocations: 38.53 kB / 0.5497 GB, free: 25.25 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002856/0.006811, allocations: 190.6 kB / 0.5499 GB, free: 25.07 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002336/0.007044, allocations: 83.78 kB / 0.55 GB, free: 24.99 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.063e-05/0.007085, allocations: 16 kB / 0.55 GB, free: 24.97 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.494e-05/0.00713, allocations: 16 kB / 0.55 GB, free: 24.96 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.0002835/0.007413, allocations: 310 kB / 0.5503 GB, free: 24.65 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 0.0001122/0.007526, allocations: 194.4 kB / 0.5505 GB, free: 24.46 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.063e-05/0.007566, allocations: 24 kB / 0.5505 GB, free: 24.44 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.395e-05/0.00759, allocations: 4 kB / 0.5505 GB, free: 24.43 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.00117/0.008761, allocations: 1.049 MB / 0.5516 GB, free: 23.26 MB / 410.7 MB Notification: Performance of [SIM] Data Reconciliation: time 1.124e-05/0.008772, allocations: 4 kB / 0.5516 GB, free: 23.26 MB / 410.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001258/0.008898, allocations: 95.89 kB / 0.5517 GB, free: 23.16 MB / 410.7 MB Notification: Performance of [SIM] Early Inline: time 0.0005477/0.009445, allocations: 488.1 kB / 0.5521 GB, free: 22.66 MB / 410.7 MB Notification: Performance of [SIM] Simplify: time 0.0001683/0.009614, allocations: 96.34 kB / 0.5522 GB, free: 22.54 MB / 410.7 MB Notification: Performance of [SIM] Alias: time 0.001216/0.01083, allocations: 0.7445 MB / 0.5529 GB, free: 21.7 MB / 410.7 MB Notification: Performance of [SIM] Remove Stream: time 9.177e-05/0.01092, allocations: 80.39 kB / 0.553 GB, free: 21.59 MB / 410.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.0001175/0.01104, allocations: 96.56 kB / 0.5531 GB, free: 21.49 MB / 410.7 MB Notification: Performance of [SIM] Detect States: time 0.0003915/0.01143, allocations: 261.8 kB / 0.5534 GB, free: 21.18 MB / 410.7 MB Notification: Performance of [SIM] Events: time 0.0002233/0.01165, allocations: 109.3 kB / 0.5535 GB, free: 21.07 MB / 410.7 MB Notification: Performance of [SIM] Partitioning: time 0.0003772/0.01203, allocations: 268.3 kB / 0.5537 GB, free: 20.77 MB / 410.7 MB Notification: Performance of [SIM] Causalize: time 0.001114/0.01314, allocations: 0.7206 MB / 0.5544 GB, free: 20.01 MB / 410.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0004444/0.01359, allocations: 404.1 kB / 0.5548 GB, free: 19.61 MB / 410.7 MB Notification: Performance of [INI] Simplify: time 0.001064/0.01465, allocations: 0.5733 MB / 0.5554 GB, free: 19.01 MB / 410.7 MB Notification: Performance of [INI] Inline: time 0.0005547/0.01521, allocations: 0.5212 MB / 0.5559 GB, free: 18.49 MB / 410.7 MB Notification: Performance of [INI] Partitioning: time 3.859e-05/0.01525, allocations: 27.95 kB / 0.5559 GB, free: 18.45 MB / 410.7 MB Notification: Performance of [INI] Cleanup: time 0.0001397/0.01539, allocations: 104 kB / 0.556 GB, free: 18.35 MB / 410.7 MB Notification: Performance of [INI] Causalize: time 0.001281/0.01667, allocations: 0.7726 MB / 0.5568 GB, free: 17.58 MB / 410.7 MB Notification: Performance of [INI] Tearing: time 2.955e-05/0.0167, allocations: 24.22 kB / 0.5568 GB, free: 17.56 MB / 410.7 MB Notification: Performance of [SIM] Initialization: time 1.072e-06/0.0167, allocations: 4 kB / 0.5568 GB, free: 17.55 MB / 410.7 MB Notification: Performance of [SIM] Remove Dummies: time 4.379e-06/0.0167, allocations: 3.938 kB / 0.5568 GB, free: 17.55 MB / 410.7 MB Notification: Performance of [SIM] Tearing: time 8.997e-06/0.01671, allocations: 20 kB / 0.5568 GB, free: 17.53 MB / 410.7 MB Notification: Performance of [SIM] Categorize: time 0.0002333/0.01694, allocations: 126.5 kB / 0.5569 GB, free: 17.39 MB / 410.7 MB Notification: Performance of [SIM] Solve: time 0.0003404/0.01728, allocations: 182 kB / 0.5571 GB, free: 17.22 MB / 410.7 MB Notification: Performance of [SIM] Jacobian: time 0.0003384/0.01762, allocations: 228.3 kB / 0.5573 GB, free: 16.96 MB / 410.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 1.002e-06/0.01762, allocations: 4 kB / 0.5573 GB, free: 16.95 MB / 410.7 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 8.62e-07/0.01763, allocations: 0 / 0.5573 GB, free: 16.95 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 6.706e-05/0.01769, allocations: 38.69 kB / 0.5574 GB, free: 16.91 MB / 410.7 MB Notification: Performance of SimCode: time 0.001207/0.0189, allocations: 0.693 MB / 0.558 GB, free: 16.21 MB / 410.7 MB Notification: Performance of Templates: time 0.2712/0.2901, allocations: 2.234 MB / 0.5602 GB, free: 82.94 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.A_AlimentaryTractAndMetabolism.A06A_DrugsForConstipation.A06AD04_MagnesiumSulfate.MagnesiumSulfate_Chuan2001_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.88832810590975]