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.002706/0.002706, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.002072/0.002072, allocations: 173.9 kB / 22.46 MB, free: 2.102 MB / 18.57 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.613/1.613, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.316/1.316, allocations: 292.9 MB / 0.5392 GB, free: 49.8 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.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: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6999 GB, free: 8.559 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.238e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.555 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban): time 0.002931/0.002954, allocations: 2.722 MB / 0.7026 GB, free: 5.812 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005532/0.008485, allocations: 6.615 MB / 0.7091 GB, free: 15.19 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001539/0.008639, allocations: 0 / 0.7091 GB, free: 15.19 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001799/0.008819, allocations: 39.58 kB / 0.7091 GB, free: 15.15 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003496/0.009169, allocations: 126.9 kB / 0.7092 GB, free: 15.02 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003011/0.00947, allocations: 75.83 kB / 0.7093 GB, free: 14.95 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.00052/0.00999, allocations: 385.9 kB / 0.7096 GB, free: 14.57 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001776/0.01017, allocations: 64.88 kB / 0.7097 GB, free: 14.51 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002887/0.01046, allocations: 199.5 kB / 0.7099 GB, free: 14.32 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002809/0.01074, allocations: 115.7 kB / 0.71 GB, free: 14.2 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 4.829e-05/0.01079, allocations: 27.94 kB / 0.71 GB, free: 14.18 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.859e-05/0.01084, allocations: 28 kB / 0.7101 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.905e-05/0.01091, allocations: 63.69 kB / 0.7101 GB, free: 14.09 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000159/0.01107, allocations: 111.7 kB / 0.7102 GB, free: 13.98 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000404/0.01148, allocations: 299.1 kB / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.01148, allocations: 0 / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.232e-06/0.01148, allocations: 0 / 0.7105 GB, free: 13.68 MB / 426.8 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.01149, allocations: 8 kB / 0.7105 GB, free: 13.68 MB / 426.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.001177/0.01266, allocations: 0.5885 MB / 0.7111 GB, free: 13.04 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.0127, allocations: 8.031 kB / 0.7111 GB, free: 13.03 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.919e-05/0.01279, allocations: 40.62 kB / 0.7111 GB, free: 12.99 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003421/0.01313, allocations: 208.8 kB / 0.7113 GB, free: 12.76 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.668e-05/0.01316, allocations: 12.75 kB / 0.7114 GB, free: 12.75 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.354e-05/0.01321, allocations: 24.38 kB / 0.7114 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005734/0.01379, allocations: 296.5 kB / 0.7117 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.231e-05/0.01381, allocations: 7.938 kB / 0.7117 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/0.01384, allocations: 8 kB / 0.7117 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.626e-06/0.01385, allocations: 4 kB / 0.7117 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005323/0.01438, allocations: 232.4 kB / 0.7119 GB, free: 12.15 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00131/0.01569, allocations: 0.6795 MB / 0.7126 GB, free: 11.43 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006226/0.01632, allocations: 238 kB / 0.7128 GB, free: 11.18 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000283/0.0166, allocations: 152.4 kB / 0.7129 GB, free: 11.01 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.005e-05/0.01662, allocations: 4 kB / 0.7129 GB, free: 11.01 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005475/0.01717, allocations: 358.2 kB / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 1.563e-06/0.01717, allocations: 0 / 0.7133 GB, free: 10.61 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002492/0.01966, allocations: 1.073 MB / 0.7143 GB, free: 9.445 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001784/0.01984, allocations: 225.6 kB / 0.7145 GB, free: 9.176 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003001/0.02014, allocations: 249.9 kB / 0.7148 GB, free: 8.926 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.075e-05/0.02018, allocations: 33.7 kB / 0.7148 GB, free: 8.887 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001357/0.02031, allocations: 152.9 kB / 0.715 GB, free: 8.73 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.02043, allocations: 123 kB / 0.7151 GB, free: 8.609 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001275/0.02056, allocations: 66.2 kB / 0.7151 GB, free: 8.535 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002043/0.02077, allocations: 346.7 kB / 0.7155 GB, free: 8.188 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003556/0.02112, allocations: 203.9 kB / 0.7157 GB, free: 7.969 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004404/0.02156, allocations: 322.2 kB / 0.716 GB, free: 7.598 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000693/0.02226, allocations: 431.1 kB / 0.7164 GB, free: 7.109 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.02226, allocations: 4 kB / 0.7164 GB, free: 7.105 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000938/0.0232, allocations: 0.5457 MB / 0.7169 GB, free: 6.516 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.218e-05/0.02328, allocations: 93.09 kB / 0.717 GB, free: 6.406 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.02329, allocations: 4.344 kB / 0.717 GB, free: 6.402 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.02331, allocations: 8 kB / 0.717 GB, free: 6.395 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003281/0.02363, allocations: 87.81 kB / 0.7171 GB, free: 6.309 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.02364, allocations: 11.88 kB / 0.7171 GB, free: 6.297 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002365/0.02388, allocations: 19.98 kB / 0.7171 GB, free: 6.277 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.167e-05/0.02391, allocations: 16 kB / 0.7172 GB, free: 6.262 MB / 426.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.0002782/0.02419, allocations: 230.5 kB / 0.7174 GB, free: 6.016 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.454e-05/0.02424, allocations: 39.81 kB / 0.7174 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.477e-05/0.02432, allocations: 30.95 kB / 0.7174 GB, free: 5.945 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.02432, allocations: 4 kB / 0.7174 GB, free: 5.941 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.02433, allocations: 0 / 0.7174 GB, free: 5.941 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.02433, allocations: 0 / 0.7174 GB, free: 5.941 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001286/0.02562, allocations: 0.7639 MB / 0.7182 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.02562, allocations: 0 / 0.7182 GB, free: 5.117 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003005/0.02592, allocations: 55.95 kB / 0.7182 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.02592, allocations: 0 / 0.7182 GB, free: 5.062 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.114e-05/0.02595, allocations: 16 kB / 0.7183 GB, free: 5.047 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.754e-06/0.02596, allocations: 0 / 0.7183 GB, free: 5.047 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.02596, allocations: 3.938 kB / 0.7183 GB, free: 5.043 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.02719, allocations: 0.7269 MB / 0.719 GB, free: 4.258 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.161e-05/0.02724, allocations: 19.81 kB / 0.719 GB, free: 4.238 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.021e-05/0.0273, allocations: 12.06 kB / 0.719 GB, free: 4.227 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002229/0.02752, allocations: 19.97 kB / 0.719 GB, free: 4.207 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001049/0.02763, allocations: 39.89 kB / 0.7191 GB, free: 4.168 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.402e-05/0.02765, allocations: 8 kB / 0.7191 GB, free: 4.16 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000212/0.02787, allocations: 181.2 kB / 0.7192 GB, free: 3.984 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.02787, allocations: 0 / 0.7192 GB, free: 3.984 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003672/0.02823, allocations: 91.94 kB / 0.7193 GB, free: 3.895 MB / 426.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.000156/0.02839, allocations: 118.9 kB / 0.7194 GB, free: 3.773 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009141/0.0293, allocations: 0.5689 MB / 0.72 GB, free: 3.137 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.0293, allocations: 0 / 0.72 GB, free: 3.137 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.1749/0.2042, allocations: 294.7 kB / 0.7203 GB, free: 37.12 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006382/0.2049, allocations: 85.69 kB / 0.7204 GB, free: 37.12 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.2061, allocations: 0.7972 MB / 0.7211 GB, free: 36.73 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001249/0.2063, allocations: 158.8 kB / 0.7213 GB, free: 36.65 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.00013/0.2064, allocations: 33.98 kB / 0.7213 GB, free: 36.64 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.92e-05/0.2065, allocations: 27.19 kB / 0.7214 GB, free: 36.63 MB / 426.8 MB Notification: Performance of SimCode: time 7.92e-07/0.2065, allocations: 0 / 0.7214 GB, free: 36.63 MB / 426.8 MB Notification: Performance of Templates: time 0.009286/0.2158, allocations: 4.547 MB / 0.7258 GB, free: 36.23 MB / 426.8 MB " [Timeout remaining time 660] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AE03_Argatroban.Argatroban.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.992988982005045]