Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_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.002183/0.002183, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 13.93 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.00142/0.00142, allocations: 216.4 kB / 23 MB, free: 2.949 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.021/1.021, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7466/0.7466, allocations: 312.3 MB / 0.6108 GB, free: 97.11 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.B01AE03_Argatroban.Argatroban_Cox2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference") [Timeout 660] "Notification: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001467/0.001467, allocations: 69.67 kB / 0.7699 GB, free: 19.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1379/0.1394, allocations: 73.98 MB / 0.8422 GB, free: 9.805 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference): time 0.00293/0.1423, allocations: 2.705 MB / 0.8448 GB, free: 7.102 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005554/0.1479, allocations: 6.598 MB / 0.8512 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001152/0.148, allocations: 8.688 kB / 0.8513 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001425/0.1481, allocations: 39.64 kB / 0.8513 GB, free: 468 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002251/0.1484, allocations: 116.3 kB / 0.8514 GB, free: 352 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000213/0.1486, allocations: 77.09 kB / 0.8515 GB, free: 276 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003033/0.1489, allocations: 378.2 kB / 0.8518 GB, free: 15.89 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001537/0.149, allocations: 53.53 kB / 0.8519 GB, free: 15.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001241/0.1492, allocations: 135.4 kB / 0.852 GB, free: 15.71 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002258/0.1494, allocations: 143.9 kB / 0.8522 GB, free: 15.57 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.284e-05/0.1494, allocations: 24.75 kB / 0.8522 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.573e-05/0.1495, allocations: 24 kB / 0.8522 GB, free: 15.53 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.199e-05/0.1495, allocations: 60.36 kB / 0.8523 GB, free: 15.47 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001046/0.1496, allocations: 132 kB / 0.8524 GB, free: 15.34 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002629/0.1499, allocations: 294.8 kB / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.222e-06/0.1499, allocations: 4.469 kB / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.854e-06/0.1499, allocations: 0.625 kB / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1499, allocations: 0 / 0.8527 GB, free: 15.05 MB / 490.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0007568/0.1506, allocations: 0.5982 MB / 0.8533 GB, free: 14.4 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.1507, allocations: 12.56 kB / 0.8533 GB, free: 14.39 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.764e-05/0.1507, allocations: 32.75 kB / 0.8533 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002279/0.151, allocations: 209.8 kB / 0.8535 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.151, allocations: 13.28 kB / 0.8535 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.151, allocations: 27.94 kB / 0.8535 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003335/0.1514, allocations: 292.4 kB / 0.8538 GB, free: 13.78 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.463e-05/0.1514, allocations: 4.547 kB / 0.8538 GB, free: 13.77 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.823e-05/0.1514, allocations: 8.625 kB / 0.8538 GB, free: 13.77 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.101e-06/0.1514, allocations: 4 kB / 0.8538 GB, free: 13.76 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002679/0.1517, allocations: 229.7 kB / 0.854 GB, free: 13.53 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008006/0.1525, allocations: 0.6814 MB / 0.8547 GB, free: 12.8 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003615/0.1528, allocations: 232.3 kB / 0.8549 GB, free: 12.55 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001465/0.153, allocations: 156.9 kB / 0.8551 GB, free: 12.39 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.153, allocations: 0.625 kB / 0.8551 GB, free: 12.39 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003095/0.1533, allocations: 356.9 kB / 0.8554 GB, free: 11.99 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.965e-06/0.1533, allocations: 3.984 kB / 0.8554 GB, free: 11.99 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.3255/0.4788, allocations: 1.078 MB / 0.8565 GB, free: 21.07 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.026e-05/0.4788, allocations: 219.6 kB / 0.8567 GB, free: 20.82 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/0.4791, allocations: 249.4 kB / 0.8569 GB, free: 20.71 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4791, allocations: 36.11 kB / 0.857 GB, free: 20.68 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.92e-05/0.4792, allocations: 162.6 kB / 0.8571 GB, free: 20.58 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.683e-05/0.4793, allocations: 117.7 kB / 0.8572 GB, free: 20.52 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.4794, allocations: 71.89 kB / 0.8573 GB, free: 20.5 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.517e-05/0.4794, allocations: 342.4 kB / 0.8576 GB, free: 20.19 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002153/0.4797, allocations: 210.7 kB / 0.8578 GB, free: 20.08 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002239/0.4799, allocations: 320.6 kB / 0.8581 GB, free: 19.86 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003707/0.4803, allocations: 431.7 kB / 0.8585 GB, free: 19.6 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.4803, allocations: 6.234 kB / 0.8586 GB, free: 19.6 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005353/0.4808, allocations: 0.5503 MB / 0.8591 GB, free: 19.36 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.324e-05/0.4808, allocations: 96.39 kB / 0.8592 GB, free: 19.26 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.4809, allocations: 5.625 kB / 0.8592 GB, free: 19.26 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.331e-05/0.4809, allocations: 2.531 kB / 0.8592 GB, free: 19.26 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000205/0.4811, allocations: 75.95 kB / 0.8593 GB, free: 19.26 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.4811, allocations: 10.16 kB / 0.8593 GB, free: 19.26 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001221/0.4812, allocations: 24.2 kB / 0.8593 GB, free: 19.26 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.195e-05/0.4812, allocations: 14.81 kB / 0.8593 GB, free: 19.26 MB / 490.8 MB Warning: Assuming fixed start value for the following 1 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002231/0.4815, allocations: 225 kB / 0.8595 GB, free: 19.08 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.155e-05/0.4815, allocations: 34.58 kB / 0.8596 GB, free: 19.06 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.08e-05/0.4816, allocations: 30.41 kB / 0.8596 GB, free: 19.05 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.4816, allocations: 3.438 kB / 0.8596 GB, free: 19.05 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.4816, allocations: 3.281 kB / 0.8596 GB, free: 19.05 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.4816, allocations: 0.75 kB / 0.8596 GB, free: 19.05 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007751/0.4823, allocations: 0.7699 MB / 0.8603 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4823, allocations: 0.5625 kB / 0.8603 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001647/0.4825, allocations: 60.34 kB / 0.8604 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4825, allocations: 0 / 0.8604 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.4825, allocations: 12.44 kB / 0.8604 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/0.4825, allocations: 5 kB / 0.8604 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.4825, allocations: 4.438 kB / 0.8604 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006798/0.4832, allocations: 0.7249 MB / 0.8611 GB, free: 18.34 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.586e-05/0.4833, allocations: 22.73 kB / 0.8612 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.23e-05/0.4833, allocations: 13.23 kB / 0.8612 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001034/0.4834, allocations: 16.69 kB / 0.8612 GB, free: 18.33 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.686e-05/0.4835, allocations: 33.52 kB / 0.8612 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.025e-05/0.4835, allocations: 14.83 kB / 0.8612 GB, free: 18.32 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001452/0.4837, allocations: 179.8 kB / 0.8614 GB, free: 18.24 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4837, allocations: 0.5312 kB / 0.8614 GB, free: 18.24 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002359/0.4839, allocations: 89.02 kB / 0.8615 GB, free: 18.24 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001073/0.484, allocations: 122.9 kB / 0.8616 GB, free: 18.16 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004665/0.4845, allocations: 0.5669 MB / 0.8622 GB, free: 17.81 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.4845, allocations: 0.5312 kB / 0.8622 GB, free: 17.81 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.4847, allocations: 296.9 kB / 0.8624 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003699/0.485, allocations: 87.69 kB / 0.8625 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001203/0.4862, allocations: 0.9711 MB / 0.8635 GB, free: 17.13 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001333/0.4864, allocations: 158.8 kB / 0.8636 GB, free: 17.05 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.248e-05/0.4865, allocations: 31.62 kB / 0.8637 GB, free: 17.04 MB / 490.8 MB Notification: Performance of SimCode: time 1.042e-06/0.4865, allocations: 0 / 0.8637 GB, free: 17.04 MB / 490.8 MB Notification: Performance of Templates: time 0.006334/0.4928, allocations: 4.024 MB / 0.8676 GB, free: 16.68 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban_Cox2004_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.813020244240761]