Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_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.001188/0.001188, 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.001906/0.001906, allocations: 215.5 kB / 23 MB, free: 2.938 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.136/1.136, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7662/0.7662, allocations: 312.3 MB / 0.6108 GB, free: 97.5 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.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_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.001662/0.001662, allocations: 69.33 kB / 0.7698 GB, free: 20.14 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1651, allocations: 74 MB / 0.8421 GB, free: 10.28 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference): time 0.003254/0.1683, allocations: 2.294 MB / 0.8443 GB, free: 7.984 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006793/0.1751, allocations: 6.525 MB / 0.8507 GB, free: 1.457 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001451/0.1752, allocations: 4.594 kB / 0.8507 GB, free: 1.453 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001734/0.1754, allocations: 32.27 kB / 0.8508 GB, free: 1.422 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002708/0.1757, allocations: 76.53 kB / 0.8508 GB, free: 1.348 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002783/0.176, allocations: 52.5 kB / 0.8509 GB, free: 1.297 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002919/0.1763, allocations: 258.7 kB / 0.8511 GB, free: 1.043 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001649/0.1764, allocations: 41.17 kB / 0.8512 GB, free: 1.004 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.1766, allocations: 96.17 kB / 0.8513 GB, free: 0.9102 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002268/0.1768, allocations: 95.55 kB / 0.8513 GB, free: 0.8164 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.171e-05/0.1768, allocations: 16.62 kB / 0.8514 GB, free: 0.8008 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.957e-05/0.1768, allocations: 20.62 kB / 0.8514 GB, free: 0.7812 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.087e-05/0.1769, allocations: 39.83 kB / 0.8514 GB, free: 0.7422 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.348e-05/0.177, allocations: 92.03 kB / 0.8515 GB, free: 0.6523 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.1772, allocations: 199.8 kB / 0.8517 GB, free: 468 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1772, allocations: 0 / 0.8517 GB, free: 468 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1772, allocations: 4.531 kB / 0.8517 GB, free: 464 kB / 474.8 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.1773, allocations: 4 kB / 0.8517 GB, free: 460 kB / 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.0008149/0.1781, allocations: 494.7 kB / 0.8522 GB, free: 15.92 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.286e-05/0.1781, allocations: 8.781 kB / 0.8522 GB, free: 15.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.533e-05/0.1782, allocations: 28.78 kB / 0.8522 GB, free: 15.89 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002156/0.1784, allocations: 179.7 kB / 0.8524 GB, free: 15.68 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.1784, allocations: 12.59 kB / 0.8524 GB, free: 15.67 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.803e-05/0.1784, allocations: 24.45 kB / 0.8524 GB, free: 15.65 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.1787, allocations: 182.9 kB / 0.8526 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.1787, allocations: 0.625 kB / 0.8526 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.741e-05/0.1787, allocations: 8.719 kB / 0.8526 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.632e-06/0.1787, allocations: 4 kB / 0.8526 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002192/0.179, allocations: 150.9 kB / 0.8528 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006164/0.1796, allocations: 482.6 kB / 0.8532 GB, free: 14.79 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003789/0.18, allocations: 173.5 kB / 0.8534 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.1801, allocations: 97.64 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.289e-05/0.1801, allocations: 8.531 kB / 0.8535 GB, free: 14.5 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002743/0.1804, allocations: 221.2 kB / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 3.216e-06/0.1804, allocations: 0.7188 kB / 0.8537 GB, free: 14.25 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001123/0.1815, allocations: 0.7151 MB / 0.8544 GB, free: 13.48 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.811e-05/0.1816, allocations: 137.2 kB / 0.8545 GB, free: 13.31 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001685/0.1817, allocations: 215 kB / 0.8547 GB, free: 13.09 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.453e-05/0.1817, allocations: 34.3 kB / 0.8548 GB, free: 13.05 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.153e-05/0.1818, allocations: 137 kB / 0.8549 GB, free: 12.92 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.041e-05/0.1819, allocations: 63.44 kB / 0.8549 GB, free: 12.86 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.22e-05/0.1819, allocations: 62.3 kB / 0.855 GB, free: 12.79 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.182, allocations: 335.4 kB / 0.8553 GB, free: 12.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.1822, allocations: 145.6 kB / 0.8555 GB, free: 12.29 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001756/0.1824, allocations: 225.8 kB / 0.8557 GB, free: 12.03 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3296/0.512, allocations: 275.1 kB / 0.8559 GB, free: 30.32 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.512, allocations: 1.312 kB / 0.8559 GB, free: 30.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004993/0.5125, allocations: 390.7 kB / 0.8563 GB, free: 30.16 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.646e-05/0.5125, allocations: 68.03 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.5125, allocations: 1.75 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.839e-05/0.5126, allocations: 2.562 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001508/0.5127, allocations: 52.19 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.5127, allocations: 5.031 kB / 0.8564 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.5129, allocations: 23.88 kB / 0.8565 GB, free: 30.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.443e-05/0.5129, allocations: 7.156 kB / 0.8565 GB, free: 30.09 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.0002048/0.5131, allocations: 175.1 kB / 0.8566 GB, free: 29.95 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.362e-05/0.5131, allocations: 29.12 kB / 0.8567 GB, free: 29.95 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.174e-05/0.5132, allocations: 23.33 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.158e-06/0.5132, allocations: 6.094 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5132, allocations: 0 / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.661e-06/0.5132, allocations: 0.9844 kB / 0.8567 GB, free: 29.94 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005865/0.5138, allocations: 0.535 MB / 0.8572 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5138, allocations: 2.969 kB / 0.8572 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001195/0.5139, allocations: 35.67 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.5139, allocations: 1.531 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.5139, allocations: 7.609 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.409e-06/0.5139, allocations: 5 kB / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.5139, allocations: 0 / 0.8573 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004701/0.5144, allocations: 0.4953 MB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.407e-05/0.5144, allocations: 19.42 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.359e-05/0.5144, allocations: 12.88 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.221e-05/0.5145, allocations: 12.03 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.691e-05/0.5146, allocations: 24.78 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.5146, allocations: 8.281 kB / 0.8578 GB, free: 29.41 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.489e-05/0.5147, allocations: 160.7 kB / 0.858 GB, free: 29.34 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5147, allocations: 1.422 kB / 0.858 GB, free: 29.34 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002056/0.5149, allocations: 52.91 kB / 0.858 GB, free: 29.34 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.0001123/0.515, allocations: 126 kB / 0.8582 GB, free: 29.25 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003774/0.5154, allocations: 376.2 kB / 0.8585 GB, free: 29.02 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.5154, allocations: 0 / 0.8585 GB, free: 29.02 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001407/0.5156, allocations: 174.7 kB / 0.8587 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003293/0.5159, allocations: 63.8 kB / 0.8587 GB, free: 28.92 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009733/0.5169, allocations: 0.6979 MB / 0.8594 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.161e-05/0.5169, allocations: 125.8 kB / 0.8595 GB, free: 28.54 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.285e-05/0.517, allocations: 26.2 kB / 0.8596 GB, free: 28.53 MB / 490.8 MB Notification: Performance of SimCode: time 8.51e-07/0.517, allocations: 0 / 0.8596 GB, free: 28.53 MB / 490.8 MB Notification: Performance of Templates: time 0.004933/0.5219, allocations: 2.945 MB / 0.8624 GB, free: 28.32 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_MedellnGaribay2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.795115414075553]