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.001014/0.001014, 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.001071/0.001071, allocations: 217.6 kB / 23 MB, free: 2.961 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.087/1.087, allocations: 230.6 MB / 256.8 MB, free: 9.594 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.9008/0.9008, allocations: 312.3 MB / 0.6108 GB, free: 97.17 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_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.001492/0.001492, allocations: 74.08 kB / 0.7699 GB, free: 19.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1572, allocations: 73.98 MB / 0.8421 GB, free: 9.898 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final): time 0.003373/0.1606, allocations: 2.299 MB / 0.8444 GB, free: 7.605 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.006243/0.1668, allocations: 6.529 MB / 0.8508 GB, free: 1.074 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001343/0.1669, allocations: 0 / 0.8508 GB, free: 1.074 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.1671, allocations: 28.31 kB / 0.8508 GB, free: 1.047 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000245/0.1674, allocations: 84.53 kB / 0.8509 GB, free: 0.9648 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1676, allocations: 48.52 kB / 0.8509 GB, free: 0.918 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000285/0.1679, allocations: 262.8 kB / 0.8512 GB, free: 0.6602 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001658/0.1681, allocations: 33.2 kB / 0.8512 GB, free: 0.6289 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001281/0.1682, allocations: 104.1 kB / 0.8513 GB, free: 0.5273 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1684, allocations: 92.17 kB / 0.8514 GB, free: 448 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.795e-05/0.1684, allocations: 16 kB / 0.8514 GB, free: 432 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.814e-05/0.1685, allocations: 16.59 kB / 0.8514 GB, free: 416 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.307e-05/0.1685, allocations: 51.77 kB / 0.8515 GB, free: 364 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 8.47e-05/0.1686, allocations: 80.2 kB / 0.8515 GB, free: 284 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002437/0.1688, allocations: 203.8 kB / 0.8517 GB, free: 80 kB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.911e-06/0.1688, allocations: 0 / 0.8517 GB, free: 80 kB / 474.8 MB Notification: Performance of FrontEnd: time 2.254e-06/0.1688, allocations: 0.7188 kB / 0.8517 GB, free: 80 kB / 474.8 MB Notification: Performance of Transformations before backend: time 9.378e-06/0.1688, allocations: 0 / 0.8517 GB, free: 80 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.000814/0.1697, allocations: 494.8 kB / 0.8522 GB, free: 15.55 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.1697, allocations: 12.66 kB / 0.8522 GB, free: 15.54 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.598e-05/0.1698, allocations: 20.8 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.17, allocations: 195.5 kB / 0.8524 GB, free: 15.3 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.654e-05/0.17, allocations: 9.328 kB / 0.8524 GB, free: 15.29 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.828e-05/0.17, allocations: 23.89 kB / 0.8525 GB, free: 15.27 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002794/0.1703, allocations: 190.8 kB / 0.8526 GB, free: 15.06 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.368e-05/0.1703, allocations: 0.5938 kB / 0.8526 GB, free: 15.06 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.1704, allocations: 4.656 kB / 0.8526 GB, free: 15.06 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.1704, allocations: 4 kB / 0.8526 GB, free: 15.05 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002208/0.1706, allocations: 147.5 kB / 0.8528 GB, free: 14.91 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006361/0.1712, allocations: 478.7 kB / 0.8532 GB, free: 14.41 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004044/0.1716, allocations: 189 kB / 0.8534 GB, free: 14.21 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001564/0.1718, allocations: 91.23 kB / 0.8535 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1718, allocations: 0 / 0.8535 GB, free: 14.11 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002827/0.1721, allocations: 239.9 kB / 0.8537 GB, free: 13.86 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.853e-06/0.1721, allocations: 0 / 0.8537 GB, free: 13.86 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001124/0.1732, allocations: 0.6971 MB / 0.8544 GB, free: 13.1 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.256e-05/0.1733, allocations: 141.2 kB / 0.8546 GB, free: 12.93 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001779/0.1735, allocations: 211 kB / 0.8548 GB, free: 12.71 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.213e-05/0.1735, allocations: 34.39 kB / 0.8548 GB, free: 12.68 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.1735, allocations: 132.5 kB / 0.8549 GB, free: 12.54 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.245e-05/0.1736, allocations: 76.02 kB / 0.855 GB, free: 12.47 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.718e-05/0.1737, allocations: 57.66 kB / 0.855 GB, free: 12.41 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.1738, allocations: 335.3 kB / 0.8554 GB, free: 12.07 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.3706/0.5444, allocations: 143.9 kB / 0.8555 GB, free: 30.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002078/0.5446, allocations: 216.1 kB / 0.8557 GB, free: 30.17 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000277/0.5449, allocations: 281.5 kB / 0.856 GB, free: 30.01 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5449, allocations: 4.781 kB / 0.856 GB, free: 30.01 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000457/0.5453, allocations: 387.8 kB / 0.8563 GB, free: 29.85 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.363e-05/0.5454, allocations: 68.34 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.104e-05/0.5454, allocations: 2.781 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.601e-05/0.5454, allocations: 5.469 kB / 0.8564 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001509/0.5456, allocations: 51.66 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.144e-05/0.5456, allocations: 5.094 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001385/0.5457, allocations: 17.81 kB / 0.8565 GB, free: 29.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.267e-05/0.5457, allocations: 12.39 kB / 0.8565 GB, free: 29.79 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.0002354/0.546, allocations: 178.8 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.396e-05/0.546, allocations: 27.31 kB / 0.8567 GB, free: 29.64 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.872e-05/0.546, allocations: 26.42 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.546, allocations: 6.062 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.306e-06/0.5461, allocations: 0 / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.746e-06/0.5461, allocations: 2.438 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006239/0.5467, allocations: 0.535 MB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.5467, allocations: 4.172 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001214/0.5468, allocations: 33.06 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.041e-06/0.5468, allocations: 5.75 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.677e-05/0.5468, allocations: 5.156 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.741e-06/0.5468, allocations: 5.312 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.5468, allocations: 0.9844 kB / 0.8573 GB, free: 29.34 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005305/0.5474, allocations: 0.492 MB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.5474, allocations: 22.39 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.681e-05/0.5474, allocations: 5.219 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.556e-05/0.5475, allocations: 19.08 kB / 0.8578 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.232e-05/0.5476, allocations: 24.88 kB / 0.8579 GB, free: 29.11 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.5476, allocations: 3.781 kB / 0.8579 GB, free: 29.11 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001212/0.5477, allocations: 161.3 kB / 0.858 GB, free: 29.04 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5477, allocations: 5.312 kB / 0.858 GB, free: 29.04 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002126/0.548, allocations: 55.97 kB / 0.8581 GB, free: 29.04 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.0001242/0.5481, allocations: 112.8 kB / 0.8582 GB, free: 28.95 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.00041/0.5485, allocations: 377 kB / 0.8585 GB, free: 28.72 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5485, allocations: 2.344 kB / 0.8585 GB, free: 28.72 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.5487, allocations: 175 kB / 0.8587 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003657/0.549, allocations: 66.91 kB / 0.8588 GB, free: 28.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001172/0.5502, allocations: 0.7034 MB / 0.8595 GB, free: 28.31 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.96e-05/0.5503, allocations: 126.6 kB / 0.8596 GB, free: 28.23 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.249e-05/0.5503, allocations: 23.09 kB / 0.8596 GB, free: 28.22 MB / 490.8 MB Notification: Performance of SimCode: time 1.242e-06/0.5503, allocations: 0.5625 kB / 0.8596 GB, free: 28.22 MB / 490.8 MB Notification: Performance of Templates: time 0.005261/0.5556, allocations: 2.945 MB / 0.8625 GB, free: 28.02 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 > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.798392599448562]