Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.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.001018/0.001018, 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.001102/0.001102, allocations: 212.4 kB / 23 MB, free: 2.941 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.602 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.7232/0.7232, allocations: 312.3 MB / 0.6108 GB, free: 97.19 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban") [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.00151/0.00151, allocations: 73.11 kB / 0.7699 GB, free: 19.64 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1677, allocations: 74 MB / 0.8422 GB, free: 9.785 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban): time 0.003238/0.1709, allocations: 2.712 MB / 0.8448 GB, free: 7.074 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.005572/0.1765, allocations: 6.605 MB / 0.8513 GB, free: 480 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001213/0.1766, allocations: 0.5 kB / 0.8513 GB, free: 480 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.000141/0.1768, allocations: 40.27 kB / 0.8513 GB, free: 440 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002335/0.177, allocations: 115.7 kB / 0.8514 GB, free: 324 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002295/0.1772, allocations: 76.53 kB / 0.8515 GB, free: 248 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003177/0.1775, allocations: 378.8 kB / 0.8519 GB, free: 15.87 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.1777, allocations: 53.55 kB / 0.8519 GB, free: 15.82 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000134/0.1778, allocations: 135.5 kB / 0.8521 GB, free: 15.69 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002093/0.1781, allocations: 143.9 kB / 0.8522 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.01e-05/0.1781, allocations: 28.56 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.361e-05/0.1781, allocations: 24 kB / 0.8523 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.179e-05/0.1782, allocations: 56.36 kB / 0.8523 GB, free: 15.44 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.1783, allocations: 140 kB / 0.8524 GB, free: 15.3 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.1785, allocations: 290.7 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1785, allocations: 0.6875 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.583e-06/0.1785, allocations: 4 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1785, allocations: 0.625 kB / 0.8527 GB, free: 15.02 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.0007819/0.1793, allocations: 0.5903 MB / 0.8533 GB, free: 14.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.1794, allocations: 12.66 kB / 0.8533 GB, free: 14.36 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.927e-05/0.1794, allocations: 40.73 kB / 0.8533 GB, free: 14.32 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000224/0.1796, allocations: 205.7 kB / 0.8535 GB, free: 14.1 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.812e-05/0.1797, allocations: 17.36 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.845e-05/0.1797, allocations: 27.94 kB / 0.8536 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.18, allocations: 288.5 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.587e-05/0.18, allocations: 4.578 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.924e-05/0.1801, allocations: 8.625 kB / 0.8539 GB, free: 13.74 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.1801, allocations: 4 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002754/0.1803, allocations: 233.6 kB / 0.8541 GB, free: 13.5 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009614/0.1813, allocations: 0.6776 MB / 0.8548 GB, free: 12.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003677/0.1817, allocations: 239.2 kB / 0.855 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001458/0.1818, allocations: 153 kB / 0.8551 GB, free: 12.36 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.1818, allocations: 3.938 kB / 0.8551 GB, free: 12.35 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3168/0.4986, allocations: 358.2 kB / 0.8555 GB, free: 21.4 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 4.659e-06/0.4986, allocations: 0.875 kB / 0.8555 GB, free: 21.4 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.001802/0.5004, allocations: 1.083 MB / 0.8565 GB, free: 20.91 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.297e-05/0.5005, allocations: 216.6 kB / 0.8567 GB, free: 20.66 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002399/0.5007, allocations: 255.9 kB / 0.857 GB, free: 20.55 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.121e-05/0.5008, allocations: 32.55 kB / 0.857 GB, free: 20.52 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.421e-05/0.5008, allocations: 157.3 kB / 0.8572 GB, free: 20.43 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.004e-05/0.5009, allocations: 114.3 kB / 0.8573 GB, free: 20.37 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001016/0.501, allocations: 72.38 kB / 0.8574 GB, free: 20.35 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 7.535e-05/0.5011, allocations: 346.5 kB / 0.8577 GB, free: 20.04 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002107/0.5013, allocations: 209.8 kB / 0.8579 GB, free: 19.93 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002408/0.5015, allocations: 317.3 kB / 0.8582 GB, free: 19.7 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003828/0.5019, allocations: 435.2 kB / 0.8586 GB, free: 19.44 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.877e-06/0.5019, allocations: 3.469 kB / 0.8586 GB, free: 19.44 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005146/0.5024, allocations: 0.5472 MB / 0.8591 GB, free: 19.2 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.571e-05/0.5025, allocations: 91.58 kB / 0.8592 GB, free: 19.11 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/0.5025, allocations: 8.672 kB / 0.8592 GB, free: 19.11 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.979e-05/0.5025, allocations: 8 kB / 0.8592 GB, free: 19.11 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001915/0.5027, allocations: 75.95 kB / 0.8593 GB, free: 19.11 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.5027, allocations: 7.031 kB / 0.8593 GB, free: 19.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.5028, allocations: 31.36 kB / 0.8593 GB, free: 19.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.047e-05/0.5029, allocations: 12.47 kB / 0.8594 GB, free: 19.1 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.0002186/0.5031, allocations: 222 kB / 0.8596 GB, free: 18.92 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.959e-05/0.5031, allocations: 32.38 kB / 0.8596 GB, free: 18.91 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.928e-05/0.5032, allocations: 33.28 kB / 0.8596 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5032, allocations: 3.25 kB / 0.8596 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.333e-06/0.5032, allocations: 1.719 kB / 0.8596 GB, free: 18.9 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.414e-06/0.5032, allocations: 5.5 kB / 0.8596 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007286/0.5039, allocations: 0.7628 MB / 0.8604 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.5039, allocations: 0.6562 kB / 0.8604 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.5041, allocations: 55.27 kB / 0.8604 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.5041, allocations: 7.25 kB / 0.8605 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.623e-05/0.5041, allocations: 7.828 kB / 0.8605 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.5041, allocations: 7.719 kB / 0.8605 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.5041, allocations: 3.375 kB / 0.8605 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005845/0.5047, allocations: 0.7223 MB / 0.8612 GB, free: 18.18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.356e-05/0.5047, allocations: 24.5 kB / 0.8612 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.683e-05/0.5048, allocations: 11.23 kB / 0.8612 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.5049, allocations: 20.55 kB / 0.8612 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.931e-05/0.505, allocations: 33.28 kB / 0.8613 GB, free: 18.17 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/0.505, allocations: 14.75 kB / 0.8613 GB, free: 18.17 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001306/0.5051, allocations: 174.7 kB / 0.8614 GB, free: 18.09 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5051, allocations: 0.625 kB / 0.8614 GB, free: 18.09 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002336/0.5054, allocations: 87.34 kB / 0.8615 GB, free: 18.09 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.0001138/0.5055, allocations: 128.6 kB / 0.8616 GB, free: 18 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004896/0.506, allocations: 0.5619 MB / 0.8622 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.506, allocations: 3.188 kB / 0.8622 GB, free: 17.65 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002075/0.5062, allocations: 297.5 kB / 0.8625 GB, free: 17.46 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003757/0.5065, allocations: 83.62 kB / 0.8626 GB, free: 17.46 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001229/0.5078, allocations: 0.9711 MB / 0.8635 GB, free: 16.97 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001487/0.5079, allocations: 162.5 kB / 0.8637 GB, free: 16.89 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.299e-05/0.508, allocations: 31.95 kB / 0.8637 GB, free: 16.88 MB / 490.8 MB Notification: Performance of SimCode: time 6.01e-07/0.508, allocations: 0 / 0.8637 GB, free: 16.88 MB / 490.8 MB Notification: Performance of Templates: time 0.006843/0.5148, allocations: 4.009 MB / 0.8676 GB, free: 16.54 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.834755228832364]