Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_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.001125/0.001125, allocations: 88.16 kB / 9.898 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001537/0.002662, 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.001191/0.001191, allocations: 149.2 kB / 11.21 MB, free: 2.957 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001654/0.002844, 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.583/1.583, allocations: 177.2 MB / 189.6 MB, free: 5.293 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1117/1.694, allocations: 53.64 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.466/1.466, allocations: 293 MB / 0.5244 GB, free: 51.17 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02719/1.493, allocations: 21.03 MB / 0.5449 GB, free: 30.2 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.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=1036800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference") [Timeout 660] "Notification: Performance of FrontEnd - Absyn->SCode: time 1.866e-05/1.866e-05, allocations: 2.312 kB / 0.5463 GB, free: 28.84 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AA07_Acenocoumarol.Acenocoumarol_Delavenne2009_reference): time 0.004369/0.004387, allocations: 2.495 MB / 0.5487 GB, free: 26.34 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001309/0.005696, allocations: 0.6175 MB / 0.5493 GB, free: 25.72 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.789e-05/0.005794, allocations: 4 kB / 0.5493 GB, free: 25.71 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.005917, allocations: 27.7 kB / 0.5493 GB, free: 25.69 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003008/0.006218, allocations: 107.2 kB / 0.5494 GB, free: 25.58 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.006427, allocations: 63.86 kB / 0.5495 GB, free: 25.52 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000811/0.007238, allocations: 0.584 MB / 0.5501 GB, free: 24.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001929/0.007431, allocations: 70.39 kB / 0.5501 GB, free: 24.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004025/0.007833, allocations: 288.2 kB / 0.5504 GB, free: 24.58 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003238/0.008157, allocations: 231.5 kB / 0.5506 GB, free: 24.36 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 6.032e-05/0.008217, allocations: 28 kB / 0.5506 GB, free: 24.33 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.927e-05/0.008296, allocations: 24 kB / 0.5507 GB, free: 24.3 MB / 410.7 MB Notification: Performance of combineBinaries: time 0.0005248/0.008821, allocations: 441.8 kB / 0.5511 GB, free: 23.87 MB / 410.7 MB Notification: Performance of replaceArrayConstructors: time 0.0002505/0.009072, allocations: 290.3 kB / 0.5514 GB, free: 23.59 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.632e-05/0.009128, allocations: 24 kB / 0.5514 GB, free: 23.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.352e-05/0.009152, allocations: 7.938 kB / 0.5514 GB, free: 23.55 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: 55 (36) * Number of variables: 55 (33) Notification: Performance of [SIM] Bindings: time 0.002202/0.01135, allocations: 1.873 MB / 0.5532 GB, free: 21.55 MB / 410.7 MB Notification: Performance of [SIM] Data Reconciliation: time 9.468e-06/0.01136, allocations: 0 / 0.5532 GB, free: 21.55 MB / 410.7 MB Notification: Performance of [SIM] FunctionAlias: time 0.0001945/0.01156, allocations: 151.8 kB / 0.5534 GB, free: 21.41 MB / 410.7 MB Notification: Performance of [SIM] Early Inline: time 0.0009306/0.01249, allocations: 0.8081 MB / 0.5542 GB, free: 20.57 MB / 410.7 MB Notification: Performance of [SIM] Simplify: time 0.0002178/0.01271, allocations: 144.2 kB / 0.5543 GB, free: 20.4 MB / 410.7 MB Notification: Performance of [SIM] Alias: time 0.001902/0.01461, allocations: 1.065 MB / 0.5553 GB, free: 19.21 MB / 410.7 MB Notification: Performance of [SIM] Remove Stream: time 0.00014/0.01475, allocations: 104.4 kB / 0.5554 GB, free: 19.08 MB / 410.7 MB Notification: Performance of [SIM] Algorithm Locals: time 0.0001943/0.01494, allocations: 126.5 kB / 0.5556 GB, free: 18.96 MB / 410.7 MB Notification: Performance of [SIM] Detect States: time 0.00054/0.01548, allocations: 327.3 kB / 0.5559 GB, free: 18.58 MB / 410.7 MB Notification: Performance of [SIM] Events: time 0.0002391/0.01572, allocations: 138.9 kB / 0.556 GB, free: 18.45 MB / 410.7 MB Notification: Performance of [SIM] Partitioning: time 0.0005257/0.01625, allocations: 346.6 kB / 0.5563 GB, free: 18.07 MB / 410.7 MB Notification: Performance of [SIM] Causalize: time 0.001768/0.01802, allocations: 1.051 MB / 0.5574 GB, free: 16.98 MB / 410.7 MB Notification: Performance of [SIM] After Index Reduction Inline: time 0.0007776/0.01879, allocations: 0.679 MB / 0.558 GB, free: 16.3 MB / 410.7 MB Notification: Performance of [INI] Simplify: time 0.001351/0.02014, allocations: 0.7025 MB / 0.5587 GB, free: 15.58 MB / 410.7 MB Notification: Performance of [INI] Inline: time 0.3216/0.3417, allocations: 0.9691 MB / 0.5597 GB, free: 81.5 MB / 410.8 MB Notification: Performance of [INI] Partitioning: time 0.0001085/0.3418, allocations: 26.33 kB / 0.5597 GB, free: 81.48 MB / 410.8 MB Notification: Performance of [INI] Cleanup: time 0.0002181/0.342, allocations: 143.2 kB / 0.5598 GB, free: 81.48 MB / 410.8 MB Notification: Performance of [INI] Causalize: time 0.002353/0.3444, allocations: 1.396 MB / 0.5612 GB, free: 81.24 MB / 410.8 MB Notification: Performance of [INI] Tearing: time 3.585e-05/0.3444, allocations: 24.53 kB / 0.5612 GB, free: 81.23 MB / 410.8 MB Notification: Performance of [SIM] Initialization: time 1.403e-06/0.3444, allocations: 0.6562 kB / 0.5612 GB, free: 81.23 MB / 410.8 MB Notification: Performance of [SIM] Remove Dummies: time 7.193e-06/0.3444, allocations: 0 / 0.5612 GB, free: 81.23 MB / 410.8 MB Notification: Performance of [SIM] Tearing: time 1.143e-05/0.3444, allocations: 23.14 kB / 0.5612 GB, free: 81.22 MB / 410.8 MB Notification: Performance of [SIM] Categorize: time 0.0003627/0.3448, allocations: 172.1 kB / 0.5614 GB, free: 81.18 MB / 410.8 MB Notification: Performance of [SIM] Solve: time 0.0004503/0.3452, allocations: 225.7 kB / 0.5616 GB, free: 81.18 MB / 410.8 MB Notification: Performance of [SIM] Jacobian: time 0.0006025/0.3459, allocations: 417.9 kB / 0.562 GB, free: 81.07 MB / 410.8 MB Notification: Performance of [SIM] Minimize Homotopy System: time 1.032e-06/0.3459, allocations: 0 / 0.562 GB, free: 81.07 MB / 410.8 MB Notification: Performance of [SIM] Data Reconciliation Jacobian: time 8.22e-07/0.3459, allocations: 0.75 kB / 0.562 GB, free: 81.07 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: ............................. 7 (4) {comp.AUC, C, elim.MExc, dose.TotalCumulativeMass} * Number of discrete states: .................... 6 (4) {comp.Cmin, comp.Cmax, dose.pulse.T_start, dose.pulse.count} * Number of clocked states: ..................... 0 (0) {} * Number of discrete variables: ................. 7 (5) {comp.rising, $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: ........... 17 (scalar:17, array:0, record:0) * Number of multi strong components: ............ 3 (algorithm:1, when:2, if:0, tuple:0) * Number of for-loop strong components: ......... 12 (resizable: 12, 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: ........... 27 (scalar:22, array:5, record:0) * Number of multi strong components: ............ 1 (algorithm:1, when:0, if:0, tuple:0) * Number of for-loop strong components: ......... 16 (resizable: 16, generic: 0, entwined:0) * Number of algebraic-loop strong components: ... 0 (linear: 0, nonlinear:0) Notification: Performance of backend: time 5.272e-05/0.3459, allocations: 30.55 kB / 0.562 GB, free: 81.05 MB / 410.8 MB Notification: Performance of SimCode: time 0.002632/0.3485, allocations: 1.591 MB / 0.5636 GB, free: 80.64 MB / 410.8 MB [CodegenCFunctions.tpl:5439:26-5439:26:writable] Error: Template error: Got $PRE for something that is already pre: $PRE.comp.rising. " [Timeout remaining time 660] [Calling sys.exit(0), Time elapsed: 3.950261808000505]