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.001317/0.001317, allocations: 108.3 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.001477/0.001477, 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.165/1.165, allocations: 230.6 MB / 256.8 MB, free: 9.648 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.9056/0.9056, allocations: 312.3 MB / 0.6108 GB, free: 97.65 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.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.001631/0.001631, allocations: 74.75 kB / 0.7699 GB, free: 20.22 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1624, allocations: 73.98 MB / 0.8421 GB, free: 10.36 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference): time 0.003675/0.1661, allocations: 2.3 MB / 0.8444 GB, free: 8.066 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007183/0.1733, allocations: 6.529 MB / 0.8507 GB, free: 1.535 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002389/0.1735, allocations: 0.5 kB / 0.8507 GB, free: 1.535 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001692/0.1737, allocations: 28.34 kB / 0.8508 GB, free: 1.508 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002707/0.174, allocations: 79.95 kB / 0.8508 GB, free: 1.43 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002624/0.1742, allocations: 44.55 kB / 0.8509 GB, free: 1.387 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003016/0.1745, allocations: 263.3 kB / 0.8511 GB, free: 1.129 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001704/0.1747, allocations: 37.17 kB / 0.8512 GB, free: 1.094 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.1749, allocations: 103.6 kB / 0.8513 GB, free: 0.9922 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.1751, allocations: 96.17 kB / 0.8514 GB, free: 0.8984 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.947e-05/0.1751, allocations: 16.59 kB / 0.8514 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.951e-05/0.1751, allocations: 16 kB / 0.8514 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.988e-05/0.1752, allocations: 36.38 kB / 0.8514 GB, free: 0.832 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.059e-05/0.1753, allocations: 96.12 kB / 0.8515 GB, free: 0.7383 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002568/0.1755, allocations: 199.2 kB / 0.8517 GB, free: 0.543 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.853e-06/0.1755, allocations: 0.625 kB / 0.8517 GB, free: 0.543 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.074e-06/0.1755, allocations: 0.5 kB / 0.8517 GB, free: 0.543 MB / 474.8 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1755, allocations: 0 / 0.8517 GB, free: 0.543 MB / 474.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.0008112/0.1763, allocations: 498.6 kB / 0.8522 GB, free: 12 kB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.034e-05/0.1764, allocations: 12.47 kB / 0.8522 GB, free: 0 / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.598e-05/0.1765, allocations: 24.84 kB / 0.8522 GB, free: 15.97 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002595/0.1767, allocations: 183.7 kB / 0.8524 GB, free: 15.77 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1767, allocations: 13.23 kB / 0.8524 GB, free: 15.76 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.043e-05/0.1768, allocations: 19.89 kB / 0.8524 GB, free: 15.74 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/0.1771, allocations: 187 kB / 0.8526 GB, free: 15.54 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.949e-05/0.1771, allocations: 12.44 kB / 0.8526 GB, free: 15.53 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.1771, allocations: 4.594 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.1771, allocations: 4 kB / 0.8526 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002202/0.1774, allocations: 139.4 kB / 0.8528 GB, free: 15.38 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006866/0.178, allocations: 490.6 kB / 0.8532 GB, free: 14.87 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003937/0.1784, allocations: 177.2 kB / 0.8534 GB, free: 14.68 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001157/0.1786, allocations: 95.84 kB / 0.8535 GB, free: 14.58 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.1786, allocations: 0 / 0.8535 GB, free: 14.58 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.1788, allocations: 225.4 kB / 0.8537 GB, free: 14.33 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.743e-06/0.1788, allocations: 4 kB / 0.8537 GB, free: 14.33 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001105/0.18, allocations: 0.7086 MB / 0.8544 GB, free: 13.56 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.414e-05/0.18, allocations: 137 kB / 0.8545 GB, free: 13.39 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001832/0.1802, allocations: 215 kB / 0.8547 GB, free: 13.18 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.192e-05/0.1802, allocations: 34.2 kB / 0.8548 GB, free: 13.14 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.737e-05/0.1803, allocations: 133.1 kB / 0.8549 GB, free: 13 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.629e-05/0.1804, allocations: 71.42 kB / 0.855 GB, free: 12.93 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.401e-05/0.1804, allocations: 54.28 kB / 0.855 GB, free: 12.88 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001122/0.1805, allocations: 342.8 kB / 0.8553 GB, free: 12.53 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001681/0.1807, allocations: 145.6 kB / 0.8555 GB, free: 12.37 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001766/0.1809, allocations: 218.6 kB / 0.8557 GB, free: 12.11 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3862/0.5671, allocations: 280.8 kB / 0.856 GB, free: 30.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.76e-06/0.5671, allocations: 0.875 kB / 0.856 GB, free: 30.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006257/0.5677, allocations: 389.7 kB / 0.8563 GB, free: 30.14 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.989e-05/0.5678, allocations: 71.52 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.5678, allocations: 1.875 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.884e-05/0.5678, allocations: 3.406 kB / 0.8564 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001819/0.568, allocations: 53.02 kB / 0.8565 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.718e-05/0.568, allocations: 6.828 kB / 0.8565 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001547/0.5682, allocations: 16.45 kB / 0.8565 GB, free: 30.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.3e-05/0.5682, allocations: 9.562 kB / 0.8565 GB, free: 30.08 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.0002904/0.5685, allocations: 174.3 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.328e-05/0.5685, allocations: 23.75 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.379e-05/0.5686, allocations: 22.41 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.5686, allocations: 6.938 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.518e-06/0.5686, allocations: 4.969 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.5686, allocations: 1.969 kB / 0.8567 GB, free: 29.93 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007393/0.5693, allocations: 0.5354 MB / 0.8572 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/0.5693, allocations: 0.9062 kB / 0.8572 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.5695, allocations: 36.64 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.37e-06/0.5695, allocations: 0 / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.85e-05/0.5695, allocations: 10.55 kB / 0.8573 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.5695, allocations: 3.938 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.954e-06/0.5695, allocations: 3.656 kB / 0.8573 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005215/0.57, allocations: 0.49 MB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.14e-05/0.5701, allocations: 19.98 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.348e-05/0.5701, allocations: 8.906 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.952e-05/0.5702, allocations: 14.34 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.487e-05/0.5703, allocations: 23.2 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.426e-05/0.5703, allocations: 9.875 kB / 0.8578 GB, free: 29.4 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000113/0.5704, allocations: 160.4 kB / 0.858 GB, free: 29.32 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5704, allocations: 0 / 0.858 GB, free: 29.32 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002252/0.5707, allocations: 57.3 kB / 0.858 GB, free: 29.32 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.0001189/0.5708, allocations: 117.5 kB / 0.8582 GB, free: 29.23 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003993/0.5712, allocations: 387.3 kB / 0.8585 GB, free: 29.02 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5712, allocations: 0 / 0.8585 GB, free: 29.02 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001469/0.5713, allocations: 171.7 kB / 0.8587 GB, free: 28.92 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000363/0.5717, allocations: 64.53 kB / 0.8588 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.573, allocations: 0.7059 MB / 0.8594 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001132/0.5731, allocations: 124.7 kB / 0.8596 GB, free: 28.53 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.769e-05/0.5732, allocations: 21.78 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of SimCode: time 1.132e-06/0.5732, allocations: 0.625 kB / 0.8596 GB, free: 28.52 MB / 490.8 MB Notification: Performance of Templates: time 0.006666/0.5799, allocations: 2.942 MB / 0.8625 GB, free: 28.32 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 > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline_Thompson2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.291032448410988]