Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.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.00164/0.00164, allocations: 88.16 kB / 9.898 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00253/0.00417, 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.001647/0.001647, allocations: 149.2 kB / 11.21 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002246/0.003892, 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.682/1.682, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1074/1.789, 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.472/1.472, allocations: 293 MB / 0.5244 GB, free: 51.16 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04203/1.514, allocations: 21.04 MB / 0.5449 GB, free: 30.18 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.N02A_Opioids.N02AA01_Morphine.Morphine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine") translateModel(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 2.254e-05/2.254e-05, allocations: 6.25 kB / 0.5464 GB, free: 28.68 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine): time 0.006889/0.006911, allocations: 6.537 MB / 0.5528 GB, free: 22.12 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1897/0.1966, allocations: 7.537 MB / 0.5601 GB, free: 76.45 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008897/0.1975, allocations: 9.938 kB / 0.5601 GB, free: 76.45 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005907/0.1981, allocations: 144 kB / 0.5603 GB, free: 76.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.1996, allocations: 467.7 kB / 0.5607 GB, free: 76.34 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00074/0.2004, allocations: 258.5 kB / 0.561 GB, free: 76.34 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.002304/0.2027, allocations: 1.648 MB / 0.5626 GB, free: 75.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005358/0.2032, allocations: 205.5 kB / 0.5628 GB, free: 75.83 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001925/0.2051, allocations: 0.9002 MB / 0.5636 GB, free: 75.71 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001004/0.2061, allocations: 458.6 kB / 0.5641 GB, free: 75.65 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002261/0.2064, allocations: 99.56 kB / 0.5642 GB, free: 75.65 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003708/0.2067, allocations: 103.2 kB / 0.5643 GB, free: 75.65 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.001469/0.2082, allocations: 1.653 MB / 0.5659 GB, free: 75.07 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 0.0007239/0.2089, allocations: 0.9576 MB / 0.5668 GB, free: 74.6 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003549/0.2093, allocations: 127.6 kB / 0.5669 GB, free: 74.6 MB / 410.7 MB Notification: Performance of FrontEnd: time 0.000134/0.2094, allocations: 22.28 kB / 0.567 GB, free: 74.6 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: 202 (192) * Number of variables: 202 (202) Notification: Performance of [SIM] Bindings: time 0.004697/0.2141, allocations: 4.963 MB / 0.5718 GB, free: 72.91 MB / 410.7 MB Notification: Performance of [SIM] Data Reconciliation: time 9.318e-06/0.2141, allocations: 1.281 kB / 0.5718 GB, free: 72.91 MB / 410.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0005485/0.2147, allocations: 0.5097 MB / 0.5723 GB, free: 72.89 MB / 410.7 MB Notification: Performance of [SIM] Early Inline: time 0.002403/0.2171, allocations: 2.77 MB / 0.575 GB, free: 72.76 MB / 410.7 MB Notification: Performance of [SIM] Simplify: time 0.0005906/0.2177, allocations: 427.7 kB / 0.5754 GB, free: 72.64 MB / 410.7 MB Notification: Performance of [SIM] Alias: time 0.006732/0.2244, allocations: 4.529 MB / 0.5799 GB, free: 71.12 MB / 410.7 MB Notification: Performance of [SIM] Remove Stream: time 0.0003032/0.2247, allocations: 290.8 kB / 0.5801 GB, free: 71 MB / 410.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.0005928/0.2253, allocations: 464.3 kB / 0.5806 GB, free: 70.95 MB / 410.7 MB Notification: Performance of [SIM] Detect States: time 0.001354/0.2266, allocations: 1.138 MB / 0.5817 GB, free: 70.52 MB / 410.7 MB Notification: Performance of [SIM] Events: time 0.0007401/0.2274, allocations: 0.6685 MB / 0.5823 GB, free: 70.31 MB / 410.7 MB Notification: Performance of [SIM] Partitioning: time 0.001518/0.2289, allocations: 1.276 MB / 0.5836 GB, free: 69.93 MB / 410.7 MB Notification: Performance of [SIM] Causalize: time 0.00379/0.2327, allocations: 3.352 MB / 0.5869 GB, free: 67.64 MB / 410.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.001693/0.2344, allocations: 2.352 MB / 0.5892 GB, free: 65.3 MB / 410.7 MB Notification: Performance of [INI] Simplify: time 0.003014/0.2374, allocations: 2.484 MB / 0.5916 GB, free: 62.98 MB / 410.7 MB Notification: Performance of [INI] Inline: time 0.002195/0.2396, allocations: 3.29 MB / 0.5948 GB, free: 59.7 MB / 410.7 MB Notification: Performance of [INI] Partitioning: time 0.0001363/0.2397, allocations: 76.69 kB / 0.5949 GB, free: 59.61 MB / 410.7 MB Notification: Performance of [INI] Cleanup: time 0.0004325/0.2402, allocations: 0.572 MB / 0.5954 GB, free: 59.04 MB / 410.7 MB Notification: Performance of [INI] Causalize: time 0.005297/0.2455, allocations: 4.749 MB / 0.6001 GB, free: 54.24 MB / 410.7 MB Notification: Performance of [INI] Tearing: time 5.828e-05/0.2455, allocations: 134 kB / 0.6002 GB, free: 54.11 MB / 410.7 MB Notification: Performance of [SIM] Initialization: time 2.374e-06/0.2455, allocations: 1.078 kB / 0.6002 GB, free: 54.11 MB / 410.7 MB Notification: Performance of [SIM] Remove Dummies: time 2.112e-05/0.2455, allocations: 1.312 kB / 0.6002 GB, free: 54.11 MB / 410.7 MB Notification: Performance of [SIM] Tearing: time 2.842e-05/0.2456, allocations: 93.31 kB / 0.6003 GB, free: 54.02 MB / 410.7 MB Notification: Performance of [SIM] Categorize: time 0.001041/0.2466, allocations: 0.6895 MB / 0.601 GB, free: 53.29 MB / 410.7 MB Notification: Performance of [SIM] Solve: time 0.001348/0.248, allocations: 1.177 MB / 0.6021 GB, free: 52.13 MB / 410.7 MB Notification: Performance of [SIM] Jacobian: time 0.001267/0.2492, allocations: 1.245 MB / 0.6033 GB, free: 50.9 MB / 410.7 MB Notification: Performance of [SIM] Minimize Homotopy System: time 1.462e-06/0.2492, allocations: 0 / 0.6033 GB, free: 50.9 MB / 410.7 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 8.21e-07/0.2492, allocations: 0 / 0.6033 GB, free: 50.9 MB / 410.7 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: ............................. 26 (26) {central.AUC, C_central, peripheral.AUC, Q12.cB, peripheral2.M, peripheral2.AUC, central_M1.M, central_M1.AUC, peripheral_M1.AUC, Qm1_12.cB, peripheral2_M1.AUC, Qm1_13.cB, central_M2.AUC, C_M2, peripheral_M2.AUC, Qm2_12.cB, peripheral2_M2.M, peripheral2_M2.AUC, periodicDose.route.variableDose.TotalCumulativeMass, periodicDose.route.absorptionLumen.AUC, periodicDose.route.transferFirstOrderNonSym.cA, periodicDose.TotalCumulativeMass, CL_1.MExc, CL_m1.MExc, CL_m2.MExc, infusionDose.TotalCumulativeMass} * Number of discrete states: .................... 24 (24) {periodicDose.route.absorptionLumen.Cmax, periodicDose.route.absorptionLumen.Cmin, peripheral2_M2.Cmin, peripheral2_M2.Cmax, peripheral_M2.Cmax, peripheral_M2.Cmin, central_M2.Cmax, central_M2.Cmin, peripheral2_M1.Cmin, peripheral2_M1.Cmax, peripheral_M1.Cmax, peripheral_M1.Cmin, central_M1.Cmax, central_M1.Cmin, peripheral2.Cmin, peripheral2.Cmax, peripheral.Cmax, peripheral.Cmin, central.Cmax, central.Cmin, infusionDose.pulse.T_start, infusionDose.pulse.count, periodicDose.pulse.T_start, periodicDose.pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 56 (56) {central.rising, peripheral.rising, peripheral2.rising, central_M1.rising, peripheral_M1.rising, peripheral2_M1.rising, central_M2.rising, peripheral_M2.rising, peripheral2_M2.rising, periodicDose.route.absorptionLumen.rising, $WC_19, $WC_18, $WC_17, $WC_16, $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_25, $SEV_24, $SEV_23, $SEV_22, $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: ........... 146 (scalar:146, array:0, record:0) * Number of multi strong components: ............ 14 (algorithm:10, 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: ........... 226 (scalar:226, 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 9.934e-05/0.2493, allocations: 135 kB / 0.6034 GB, free: 50.78 MB / 410.7 MB Notification: Performance of SimCode: time 0.003906/0.2532, allocations: 3.391 MB / 0.6068 GB, free: 47.27 MB / 410.7 MB Notification: Performance of Templates: time 0.01547/0.2687, allocations: 10.72 MB / 0.6172 GB, free: 36.82 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.N_NervousSystem.N02A_Opioids.N02AA01_Morphine.Morphine.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.60965365706943]