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_final.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.001894/0.001894, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.002149/0.002149, 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.718/1.718, allocations: 230.6 MB / 256 MB, free: 9.586 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.553/1.553, allocations: 316.7 MB / 0.6144 GB, free: 93.5 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_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final") [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.003934/0.003934, allocations: 74.02 kB / 0.775 GB, free: 15.01 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.1796, allocations: 73.99 MB / 0.8472 GB, free: 5.156 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final): time 0.004512/0.1841, allocations: 2.297 MB / 0.8495 GB, free: 2.863 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3662/0.5503, allocations: 6.524 MB / 0.8559 GB, free: 21.68 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002947/0.5506, allocations: 1.156 kB / 0.8559 GB, free: 21.68 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001958/0.5508, allocations: 30.12 kB / 0.8559 GB, free: 21.68 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.551, allocations: 78.45 kB / 0.856 GB, free: 21.68 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002553/0.5513, allocations: 56.09 kB / 0.856 GB, free: 21.68 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002983/0.5516, allocations: 258.2 kB / 0.8563 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001745/0.5518, allocations: 35.39 kB / 0.8563 GB, free: 21.65 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001503/0.5519, allocations: 98.12 kB / 0.8564 GB, free: 21.64 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002464/0.5522, allocations: 98.31 kB / 0.8565 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.13e-05/0.5522, allocations: 18.19 kB / 0.8565 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.448e-05/0.5522, allocations: 17.38 kB / 0.8565 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.652e-05/0.5523, allocations: 37.56 kB / 0.8566 GB, free: 21.61 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001249/0.5524, allocations: 91.05 kB / 0.8566 GB, free: 21.58 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003069/0.5527, allocations: 200.6 kB / 0.8568 GB, free: 21.55 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.5527, allocations: 0 / 0.8568 GB, free: 21.55 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.906e-06/0.5527, allocations: 0 / 0.8568 GB, free: 21.55 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.186e-06/0.5527, allocations: 5.969 kB / 0.8568 GB, free: 21.55 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.0009152/0.5537, allocations: 496 kB / 0.8573 GB, free: 21.15 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.5537, allocations: 10.59 kB / 0.8573 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.385e-05/0.5538, allocations: 24.83 kB / 0.8573 GB, free: 21.14 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002453/0.554, allocations: 183.8 kB / 0.8575 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.554, allocations: 10.77 kB / 0.8575 GB, free: 20.98 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.498e-05/0.5541, allocations: 22.77 kB / 0.8575 GB, free: 20.97 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000374/0.5544, allocations: 190.8 kB / 0.8577 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.002e-05/0.5545, allocations: 0.625 kB / 0.8577 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.298e-05/0.5545, allocations: 7.578 kB / 0.8577 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.5545, allocations: 6.938 kB / 0.8577 GB, free: 20.89 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003573/0.5549, allocations: 142 kB / 0.8579 GB, free: 20.86 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008112/0.5557, allocations: 482.9 kB / 0.8583 GB, free: 20.56 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005203/0.5562, allocations: 172.9 kB / 0.8585 GB, free: 20.51 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001748/0.5564, allocations: 99.16 kB / 0.8586 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.549e-05/0.5564, allocations: 3.75 kB / 0.8586 GB, free: 20.46 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000357/0.5567, allocations: 227 kB / 0.8588 GB, free: 20.32 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.442e-06/0.5567, allocations: 0.625 kB / 0.8588 GB, free: 20.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001417/0.5582, allocations: 0.7018 MB / 0.8595 GB, free: 19.96 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/0.5582, allocations: 136.4 kB / 0.8596 GB, free: 19.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000217/0.5584, allocations: 215.9 kB / 0.8598 GB, free: 19.7 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.5584, allocations: 32.86 kB / 0.8599 GB, free: 19.67 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.127e-05/0.5585, allocations: 135.4 kB / 0.86 GB, free: 19.57 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.5586, allocations: 72.41 kB / 0.8601 GB, free: 19.53 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.55e-05/0.5587, allocations: 56.28 kB / 0.8601 GB, free: 19.51 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.229e-05/0.5587, allocations: 337.4 kB / 0.8604 GB, free: 19.2 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000214/0.5589, allocations: 143.1 kB / 0.8606 GB, free: 19.12 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002254/0.5592, allocations: 220 kB / 0.8608 GB, free: 18.95 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003806/0.5595, allocations: 283.4 kB / 0.8611 GB, free: 18.79 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.5595, allocations: 0.625 kB / 0.8611 GB, free: 18.79 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005383/0.5601, allocations: 387.8 kB / 0.8614 GB, free: 18.61 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.5601, allocations: 64.75 kB / 0.8615 GB, free: 18.55 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.5601, allocations: 9.188 kB / 0.8615 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.109e-05/0.5601, allocations: 3.938 kB / 0.8615 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002171/0.5604, allocations: 53.12 kB / 0.8616 GB, free: 18.54 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/0.5604, allocations: 8.281 kB / 0.8616 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001743/0.5606, allocations: 17.48 kB / 0.8616 GB, free: 18.53 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.5606, allocations: 15.88 kB / 0.8616 GB, free: 18.53 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.0001849/0.5608, allocations: 169.3 kB / 0.8618 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.662e-05/0.5608, allocations: 26.73 kB / 0.8618 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.105e-05/0.5609, allocations: 26.39 kB / 0.8618 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.5609, allocations: 4.312 kB / 0.8618 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.5609, allocations: 0.875 kB / 0.8618 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.5609, allocations: 2.188 kB / 0.8618 GB, free: 18.35 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007223/0.5616, allocations: 0.5434 MB / 0.8623 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.5616, allocations: 0.8438 kB / 0.8624 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.5618, allocations: 40.67 kB / 0.8624 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.5618, allocations: 0.625 kB / 0.8624 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.5618, allocations: 2.859 kB / 0.8624 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.172e-06/0.5618, allocations: 9.469 kB / 0.8624 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.5618, allocations: 0.625 kB / 0.8624 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007044/0.5625, allocations: 0.4935 MB / 0.8629 GB, free: 17.8 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.543e-05/0.5626, allocations: 18.39 kB / 0.8629 GB, free: 17.79 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.283e-05/0.5626, allocations: 8.812 kB / 0.8629 GB, free: 17.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001612/0.5628, allocations: 16.81 kB / 0.8629 GB, free: 17.79 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-05/0.5628, allocations: 22.5 kB / 0.8629 GB, free: 17.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.5629, allocations: 12.03 kB / 0.863 GB, free: 17.79 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001194/0.563, allocations: 156.9 kB / 0.8631 GB, free: 17.71 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.563, allocations: 1.312 kB / 0.8631 GB, free: 17.71 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003034/0.5633, allocations: 56.94 kB / 0.8632 GB, free: 17.71 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.0001184/0.5634, allocations: 115.1 kB / 0.8633 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005468/0.5639, allocations: 388.2 kB / 0.8636 GB, free: 17.38 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.5639, allocations: 0.9688 kB / 0.8636 GB, free: 17.38 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000251/0.5642, allocations: 171.4 kB / 0.8638 GB, free: 17.29 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004724/0.5647, allocations: 73.17 kB / 0.8639 GB, free: 17.28 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.566, allocations: 0.6769 MB / 0.8645 GB, free: 16.96 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001349/0.5661, allocations: 123.2 kB / 0.8647 GB, free: 16.89 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001233/0.5662, allocations: 26.44 kB / 0.8647 GB, free: 16.89 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.148e-05/0.5663, allocations: 23.14 kB / 0.8647 GB, free: 16.88 MB / 490.8 MB Notification: Performance of SimCode: time 4.31e-07/0.5663, allocations: 0 / 0.8647 GB, free: 16.88 MB / 490.8 MB Notification: Performance of Templates: time 0.009221/0.5755, allocations: 3.65 MB / 0.8683 GB, free: 16.56 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.863084092037752]