Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_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.001865/0.001865, allocations: 101.5 kB / 18.95 MB, free: 1.18 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.002071/0.002071, allocations: 218.4 kB / 22.25 MB, free: 3.566 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.709/1.709, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.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.471/1.471, allocations: 316.7 MB / 0.6144 GB, free: 93.08 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.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_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.004195/0.004195, allocations: 73.8 kB / 0.775 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1753/0.1795, allocations: 74 MB / 0.8472 GB, free: 4.93 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference): time 0.004539/0.184, allocations: 2.295 MB / 0.8495 GB, free: 2.637 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.357/0.5411, allocations: 6.523 MB / 0.8558 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002246/0.5413, allocations: 7.125 kB / 0.8558 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.5414, allocations: 25.75 kB / 0.8559 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002207/0.5417, allocations: 83.25 kB / 0.8559 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002133/0.5419, allocations: 52.47 kB / 0.856 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.5421, allocations: 254.1 kB / 0.8562 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001345/0.5423, allocations: 40.83 kB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.5424, allocations: 99.05 kB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.5426, allocations: 96.36 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.049e-05/0.5426, allocations: 16.25 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.844e-05/0.5426, allocations: 18.56 kB / 0.8565 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.667e-05/0.5427, allocations: 40.05 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 8.88e-05/0.5428, allocations: 91.64 kB / 0.8566 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.543, allocations: 195.3 kB / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.195e-06/0.543, allocations: 0 / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.493e-06/0.543, allocations: 1.781 kB / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of Transformations before backend: time 5.631e-06/0.543, allocations: 0 / 0.8568 GB, free: 21.89 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.000731/0.5437, allocations: 0.4909 MB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.5437, allocations: 8.375 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.48e-05/0.5438, allocations: 24.83 kB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002205/0.544, allocations: 186.1 kB / 0.8575 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.598e-05/0.544, allocations: 9.734 kB / 0.8575 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.896e-05/0.5441, allocations: 24.02 kB / 0.8575 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003509/0.5444, allocations: 192 kB / 0.8577 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.584e-05/0.5444, allocations: 0 / 0.8577 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.5445, allocations: 6.844 kB / 0.8577 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.192e-06/0.5445, allocations: 3.719 kB / 0.8577 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003327/0.5448, allocations: 145.1 kB / 0.8579 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006541/0.5455, allocations: 484.5 kB / 0.8583 GB, free: 20.91 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000459/0.5459, allocations: 172 kB / 0.8585 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001604/0.5461, allocations: 97.09 kB / 0.8586 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.5461, allocations: 1.875 kB / 0.8586 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003003/0.5464, allocations: 229.3 kB / 0.8588 GB, free: 20.66 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.422e-06/0.5464, allocations: 0.6562 kB / 0.8588 GB, free: 20.66 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001294/0.5477, allocations: 0.7035 MB / 0.8595 GB, free: 20.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.5477, allocations: 135.2 kB / 0.8596 GB, free: 20.15 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001697/0.5479, allocations: 220.7 kB / 0.8598 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.893e-05/0.5479, allocations: 31.14 kB / 0.8599 GB, free: 20.01 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.919e-05/0.548, allocations: 133.4 kB / 0.86 GB, free: 19.92 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.594e-05/0.548, allocations: 72.53 kB / 0.86 GB, free: 19.88 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.295e-05/0.5481, allocations: 58.08 kB / 0.8601 GB, free: 19.86 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.181e-05/0.5481, allocations: 336.3 kB / 0.8604 GB, free: 19.54 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002048/0.5483, allocations: 144.1 kB / 0.8606 GB, free: 19.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002265/0.5486, allocations: 222.8 kB / 0.8608 GB, free: 19.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003708/0.5489, allocations: 281.8 kB / 0.861 GB, free: 19.14 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5489, allocations: 0 / 0.861 GB, free: 19.14 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005199/0.5495, allocations: 394.4 kB / 0.8614 GB, free: 18.95 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.325e-05/0.5495, allocations: 61.95 kB / 0.8615 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/0.5495, allocations: 5.531 kB / 0.8615 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.475e-05/0.5495, allocations: 4.25 kB / 0.8615 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001999/0.5497, allocations: 48.45 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.5497, allocations: 4.047 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001747/0.5499, allocations: 22 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.5499, allocations: 12.38 kB / 0.8616 GB, free: 18.88 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001625/0.5501, allocations: 176.3 kB / 0.8617 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.233e-05/0.5501, allocations: 23.58 kB / 0.8618 GB, free: 18.72 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.652e-05/0.5502, allocations: 26 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.5502, allocations: 4.906 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.5502, allocations: 3.859 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.5502, allocations: 0 / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006795/0.5509, allocations: 0.5402 MB / 0.8623 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.5509, allocations: 4.438 kB / 0.8623 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001976/0.5511, allocations: 38.95 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.5511, allocations: 0.5 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.93e-05/0.5511, allocations: 13.28 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.5511, allocations: 3.938 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.5511, allocations: 2.156 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006441/0.5517, allocations: 497 kB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.349e-05/0.5518, allocations: 23.44 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.058e-05/0.5518, allocations: 7.875 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/0.552, allocations: 14.67 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.928e-05/0.5521, allocations: 19.95 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.985e-05/0.5521, allocations: 11.78 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001229/0.5522, allocations: 158.2 kB / 0.8631 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5522, allocations: 0 / 0.8631 GB, free: 18.05 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003117/0.5525, allocations: 55.88 kB / 0.8631 GB, free: 18.05 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001027/0.5526, allocations: 115.3 kB / 0.8632 GB, free: 17.96 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005244/0.5531, allocations: 388.7 kB / 0.8636 GB, free: 17.73 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5532, allocations: 0 / 0.8636 GB, free: 17.73 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.5534, allocations: 175.1 kB / 0.8638 GB, free: 17.63 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004584/0.5538, allocations: 70.39 kB / 0.8638 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.555, allocations: 0.679 MB / 0.8645 GB, free: 17.32 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.5551, allocations: 123.1 kB / 0.8646 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.5552, allocations: 29.8 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.109e-05/0.5553, allocations: 24.5 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of SimCode: time 4.21e-07/0.5553, allocations: 0 / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of Templates: time 0.007863/0.5631, allocations: 3.63 MB / 0.8682 GB, free: 16.91 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.266149963019416]