Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base.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.005315/0.005315, allocations: 109.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.002475/0.002475, allocations: 213.9 kB / 22.25 MB, free: 3.582 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.838/1.838, allocations: 230.6 MB / 256 MB, free: 9.617 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.531/1.531, allocations: 316.7 MB / 0.6144 GB, free: 93.12 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.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base") [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.003833/0.003833, allocations: 75.83 kB / 0.775 GB, free: 14.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1741/0.1779, allocations: 73.99 MB / 0.8472 GB, free: 4.973 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base): time 0.004504/0.1824, allocations: 2.293 MB / 0.8495 GB, free: 2.68 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3661/0.5485, allocations: 6.529 MB / 0.8559 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002549/0.5488, allocations: 1.516 kB / 0.8559 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001604/0.549, allocations: 27.39 kB / 0.8559 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003023/0.5493, allocations: 81.14 kB / 0.856 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002636/0.5495, allocations: 55.84 kB / 0.856 GB, free: 21.94 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.000327/0.5499, allocations: 262.3 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001524/0.55, allocations: 32.86 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001528/0.5502, allocations: 104.9 kB / 0.8564 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002403/0.5504, allocations: 96.59 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.787e-05/0.5504, allocations: 16.81 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.111e-05/0.5505, allocations: 15.41 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.992e-05/0.5505, allocations: 36.81 kB / 0.8565 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001126/0.5506, allocations: 94.22 kB / 0.8566 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002866/0.5509, allocations: 197.5 kB / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.64e-06/0.5509, allocations: 4.188 kB / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.803e-06/0.5509, allocations: 0 / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.208e-06/0.5509, allocations: 3.281 kB / 0.8568 GB, free: 21.8 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.000797/0.5517, allocations: 495.1 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.677e-05/0.5518, allocations: 8.25 kB / 0.8573 GB, free: 21.41 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.531e-05/0.5518, allocations: 25.67 kB / 0.8573 GB, free: 21.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002257/0.5521, allocations: 185.4 kB / 0.8575 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.713e-05/0.5521, allocations: 11.56 kB / 0.8575 GB, free: 21.24 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.72e-05/0.5521, allocations: 18.8 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003762/0.5525, allocations: 195.2 kB / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.5525, allocations: 0 / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.5525, allocations: 3.812 kB / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.149e-06/0.5525, allocations: 4.219 kB / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003412/0.5529, allocations: 146.2 kB / 0.8579 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007268/0.5536, allocations: 483.2 kB / 0.8583 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000484/0.5541, allocations: 175.8 kB / 0.8585 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.5543, allocations: 95.67 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.258e-05/0.5543, allocations: 0.5 kB / 0.8586 GB, free: 20.73 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003189/0.5546, allocations: 237.4 kB / 0.8588 GB, free: 20.58 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.763e-06/0.5546, allocations: 0 / 0.8588 GB, free: 20.58 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001414/0.556, allocations: 0.7048 MB / 0.8595 GB, free: 20.22 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.52e-05/0.5561, allocations: 133.8 kB / 0.8596 GB, free: 20.06 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000226/0.5563, allocations: 214.8 kB / 0.8598 GB, free: 19.96 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.5563, allocations: 32.08 kB / 0.8599 GB, free: 19.93 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.595e-05/0.5564, allocations: 136.9 kB / 0.86 GB, free: 19.83 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.321e-05/0.5565, allocations: 73.05 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001182/0.5566, allocations: 55.81 kB / 0.8601 GB, free: 19.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.5567, allocations: 334.7 kB / 0.8604 GB, free: 19.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003034/0.557, allocations: 145.9 kB / 0.8606 GB, free: 19.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002318/0.5572, allocations: 225.8 kB / 0.8608 GB, free: 19.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.5576, allocations: 270.3 kB / 0.8611 GB, free: 19.05 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.5576, allocations: 1.25 kB / 0.8611 GB, free: 19.05 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005739/0.5582, allocations: 395.2 kB / 0.8614 GB, free: 18.87 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.306e-05/0.5582, allocations: 64.09 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.936e-06/0.5582, allocations: 6.062 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.5583, allocations: 7.469 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002048/0.5585, allocations: 50.64 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.014e-05/0.5585, allocations: 4.281 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001753/0.5586, allocations: 18.98 kB / 0.8616 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.5587, allocations: 11.03 kB / 0.8616 GB, free: 18.8 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.0001775/0.5588, allocations: 175.6 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.047e-05/0.5589, allocations: 23.17 kB / 0.8618 GB, free: 18.63 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.486e-05/0.5589, allocations: 26.84 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.5589, allocations: 9.141 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.561e-06/0.5589, allocations: 0 / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.5589, allocations: 0.5 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007026/0.5597, allocations: 0.5431 MB / 0.8623 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.5597, allocations: 0 / 0.8623 GB, free: 18.32 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001986/0.5599, allocations: 40.12 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.5599, allocations: 2.219 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.5599, allocations: 7.25 kB / 0.8624 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.548e-06/0.5599, allocations: 8.5 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5599, allocations: 5.156 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006881/0.5606, allocations: 498.3 kB / 0.8629 GB, free: 18.06 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.599e-05/0.5606, allocations: 22.19 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.082e-05/0.5606, allocations: 7.047 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001982/0.5608, allocations: 18.48 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.276e-05/0.5609, allocations: 17.73 kB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.672e-05/0.5609, allocations: 13.45 kB / 0.863 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001322/0.5611, allocations: 158.2 kB / 0.8631 GB, free: 17.97 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5611, allocations: 0.5 kB / 0.8631 GB, free: 17.97 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003099/0.5614, allocations: 54.25 kB / 0.8632 GB, free: 17.97 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.0001122/0.5615, allocations: 113.6 kB / 0.8633 GB, free: 17.88 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005745/0.5621, allocations: 389.1 kB / 0.8636 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5621, allocations: 0.5 kB / 0.8636 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002485/0.5623, allocations: 171 kB / 0.8638 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.5628, allocations: 71.16 kB / 0.8639 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.5641, allocations: 0.6753 MB / 0.8645 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001321/0.5643, allocations: 127.2 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001188/0.5644, allocations: 21.11 kB / 0.8647 GB, free: 17.15 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.171e-05/0.5645, allocations: 23.39 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of SimCode: time 7.12e-07/0.5645, allocations: 5 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of Templates: time 0.009331/0.5738, allocations: 3.652 MB / 0.8683 GB, free: 16.81 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_base.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.895049558021128]