Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.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.001425/0.001425, allocations: 88.16 kB / 9.898 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002251/0.003676, 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.001422/0.001422, allocations: 149.2 kB / 11.21 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001933/0.003354, 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.676/1.676, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1144/1.791, allocations: 53.66 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.597/1.597, allocations: 293 MB / 0.5244 GB, free: 51.17 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03247/1.629, allocations: 21.04 MB / 0.5449 GB, free: 30.2 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.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.67e-05, allocations: 2.312 kB / 0.5463 GB, free: 28.8 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin): time 0.004931/0.004958, allocations: 2.497 MB / 0.5487 GB, free: 26.3 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.00806/0.01302, allocations: 6.69 MB / 0.5553 GB, free: 19.6 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.01319, allocations: 0 / 0.5553 GB, free: 19.6 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001094/0.0133, allocations: 23.72 kB / 0.5553 GB, free: 19.58 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003/0.0136, allocations: 95.25 kB / 0.5554 GB, free: 19.48 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.01384, allocations: 47.88 kB / 0.5554 GB, free: 19.44 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004115/0.01425, allocations: 298.6 kB / 0.5557 GB, free: 19.14 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.0144, allocations: 34.48 kB / 0.5557 GB, free: 19.11 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003077/0.01471, allocations: 186.7 kB / 0.5559 GB, free: 18.93 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002316/0.01494, allocations: 75.8 kB / 0.556 GB, free: 18.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.099e-05/0.01499, allocations: 20 kB / 0.556 GB, free: 18.84 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.346e-05/0.01504, allocations: 19.94 kB / 0.556 GB, free: 18.82 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.000324/0.01536, allocations: 317.9 kB / 0.5563 GB, free: 18.5 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 0.0001142/0.01548, allocations: 186.4 kB / 0.5565 GB, free: 18.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.217e-05/0.01552, allocations: 20 kB / 0.5565 GB, free: 18.3 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.892e-05/0.01555, allocations: 8 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.001301/0.01685, allocations: 1.053 MB / 0.5576 GB, free: 17.12 MB / 410.7 MB Notification: Performance of [SIM] Data Reconciliation: time 1.351e-05/0.01686, allocations: 4 kB / 0.5576 GB, free: 17.11 MB / 410.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001391/0.017, allocations: 95.88 kB / 0.5577 GB, free: 17.02 MB / 410.7 MB Notification: Performance of [SIM] Early Inline: time 0.0005725/0.01757, allocations: 480.1 kB / 0.5581 GB, free: 16.52 MB / 410.7 MB Notification: Performance of [SIM] Simplify: time 0.0001929/0.01777, allocations: 108.3 kB / 0.5582 GB, free: 16.39 MB / 410.7 MB Notification: Performance of [SIM] Alias: time 0.001408/0.01917, allocations: 0.7329 MB / 0.5589 GB, free: 15.56 MB / 410.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0001191/0.01929, allocations: 84.38 kB / 0.559 GB, free: 15.45 MB / 410.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.0001364/0.01943, allocations: 88.56 kB / 0.5591 GB, free: 15.36 MB / 410.7 MB Notification: Performance of [SIM] Detect States: time 0.0004062/0.01984, allocations: 272.9 kB / 0.5594 GB, free: 15.04 MB / 410.7 MB Notification: Performance of [SIM] Events: time 0.3287/0.3485, allocations: 110.6 kB / 0.5595 GB, free: 78.76 MB / 410.8 MB Notification: Performance of [SIM] Partitioning: time 0.0004323/0.349, allocations: 256.4 kB / 0.5597 GB, free: 78.68 MB / 410.8 MB Notification: Performance of [SIM] Causalize: time 0.001009/0.35, allocations: 0.7098 MB / 0.5604 GB, free: 78.44 MB / 410.8 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0003992/0.3504, allocations: 405.2 kB / 0.5608 GB, free: 78.43 MB / 410.8 MB Notification: Performance of [INI] Simplify: time 0.000953/0.3513, allocations: 0.5799 MB / 0.5613 GB, free: 78.24 MB / 410.8 MB Notification: Performance of [INI] Inline: time 0.0004936/0.3518, allocations: 0.5141 MB / 0.5619 GB, free: 78.23 MB / 410.8 MB Notification: Performance of [INI] Partitioning: time 2.96e-05/0.3519, allocations: 27.92 kB / 0.5619 GB, free: 78.21 MB / 410.8 MB Notification: Performance of [INI] Cleanup: time 0.0001153/0.352, allocations: 101.7 kB / 0.562 GB, free: 78.2 MB / 410.8 MB Notification: Performance of [INI] Causalize: time 0.001069/0.353, allocations: 0.7714 MB / 0.5627 GB, free: 78.04 MB / 410.8 MB Notification: Performance of [INI] Tearing: time 3.666e-05/0.3531, allocations: 23.41 kB / 0.5628 GB, free: 78.03 MB / 410.8 MB Notification: Performance of [SIM] Initialization: time 5.21e-07/0.3531, allocations: 1 kB / 0.5628 GB, free: 78.03 MB / 410.8 MB Notification: Performance of [SIM] Remove Dummies: time 4.168e-06/0.3531, allocations: 1.375 kB / 0.5628 GB, free: 78.03 MB / 410.8 MB Notification: Performance of [SIM] Tearing: time 8.596e-06/0.3531, allocations: 17 kB / 0.5628 GB, free: 78.02 MB / 410.8 MB Notification: Performance of [SIM] Categorize: time 0.0001889/0.3533, allocations: 130.5 kB / 0.5629 GB, free: 77.98 MB / 410.8 MB Notification: Performance of [SIM] Solve: time 0.0002674/0.3535, allocations: 183.5 kB / 0.5631 GB, free: 77.97 MB / 410.8 MB Notification: Performance of [SIM] Jacobian: time 0.0002688/0.3538, allocations: 237 kB / 0.5633 GB, free: 77.87 MB / 410.8 MB Notification: Performance of [SIM] Minimize Homotopy System: time 5.91e-07/0.3538, allocations: 0 / 0.5633 GB, free: 77.87 MB / 410.8 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 4.71e-07/0.3538, allocations: 0.5625 kB / 0.5633 GB, free: 77.87 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.63e-05/0.3539, allocations: 42.91 kB / 0.5633 GB, free: 77.84 MB / 410.8 MB Notification: Performance of SimCode: time 0.001043/0.3549, allocations: 0.7045 MB / 0.564 GB, free: 77.59 MB / 410.8 MB Notification: Performance of Templates: time 0.006217/0.3611, allocations: 2.235 MB / 0.5662 GB, free: 77.57 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N05C_HypnoticsAndSedatives.N05CH01_Melatonin.Melatonin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.466693341964856]