Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.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.002698/0.002698, allocations: 101.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.002804/0.002804, allocations: 216.9 kB / 22.25 MB, free: 3.586 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.872/1.872, allocations: 230.6 MB / 256 MB, free: 9.613 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.414/1.414, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin") [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.004028/0.004028, allocations: 73.73 kB / 0.775 GB, free: 14.7 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.2003, allocations: 73.99 MB / 0.8472 GB, free: 4.855 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin): time 0.00479/0.2051, allocations: 2.312 MB / 0.8495 GB, free: 2.543 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3743/0.5793, allocations: 6.52 MB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003006/0.5796, allocations: 0.9375 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001988/0.5798, allocations: 29.03 kB / 0.8559 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003155/0.5801, allocations: 76.69 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003874/0.5805, allocations: 54.44 kB / 0.856 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004336/0.581, allocations: 263.5 kB / 0.8563 GB, free: 21.97 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001835/0.5812, allocations: 33 kB / 0.8563 GB, free: 21.96 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001957/0.5813, allocations: 100.6 kB / 0.8564 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002715/0.5816, allocations: 97.3 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.146e-05/0.5817, allocations: 18.12 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.894e-05/0.5817, allocations: 15.5 kB / 0.8565 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.755e-05/0.5818, allocations: 37.53 kB / 0.8565 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000123/0.5819, allocations: 96.2 kB / 0.8566 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003156/0.5822, allocations: 196.6 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.5822, allocations: 0 / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.477e-06/0.5822, allocations: 3.906 kB / 0.8568 GB, free: 21.86 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.824e-06/0.5822, allocations: 3.938 kB / 0.8568 GB, free: 21.86 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.0009338/0.5832, allocations: 495.4 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.5832, allocations: 11.38 kB / 0.8573 GB, free: 21.46 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.562e-05/0.5833, allocations: 21.2 kB / 0.8573 GB, free: 21.45 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.5835, allocations: 188.1 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/0.5835, allocations: 10.55 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.5836, allocations: 20.27 kB / 0.8575 GB, free: 21.29 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003693/0.584, allocations: 193.2 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.584, allocations: 0 / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.584, allocations: 6.688 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.063e-06/0.584, allocations: 3.344 kB / 0.8577 GB, free: 21.21 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.5843, allocations: 151.6 kB / 0.8579 GB, free: 21.17 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007677/0.5851, allocations: 482.8 kB / 0.8583 GB, free: 20.88 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004986/0.5856, allocations: 169.2 kB / 0.8585 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.5858, allocations: 96.72 kB / 0.8586 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.423e-05/0.5858, allocations: 3.938 kB / 0.8586 GB, free: 20.78 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003618/0.5862, allocations: 227.9 kB / 0.8588 GB, free: 20.63 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.342e-06/0.5862, allocations: 0.5 kB / 0.8588 GB, free: 20.63 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001526/0.5877, allocations: 0.6987 MB / 0.8595 GB, free: 20.28 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.5878, allocations: 138.4 kB / 0.8596 GB, free: 20.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002168/0.588, allocations: 218.5 kB / 0.8598 GB, free: 20.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.087e-05/0.588, allocations: 32.55 kB / 0.8599 GB, free: 19.98 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.04e-05/0.5881, allocations: 132.4 kB / 0.86 GB, free: 19.89 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.005e-05/0.5881, allocations: 70.56 kB / 0.8601 GB, free: 19.85 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.483e-05/0.5882, allocations: 59.47 kB / 0.8601 GB, free: 19.82 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.05e-05/0.5883, allocations: 337.1 kB / 0.8604 GB, free: 19.51 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000254/0.5885, allocations: 145.3 kB / 0.8606 GB, free: 19.43 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002407/0.5888, allocations: 227.4 kB / 0.8608 GB, free: 19.27 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003767/0.5892, allocations: 278 kB / 0.8611 GB, free: 19.1 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.5892, allocations: 2.125 kB / 0.8611 GB, free: 19.1 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005716/0.5897, allocations: 390.3 kB / 0.8614 GB, free: 18.92 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.674e-05/0.5898, allocations: 63 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.726e-06/0.5898, allocations: 4.562 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.146e-05/0.5898, allocations: 5.062 kB / 0.8615 GB, free: 18.86 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002039/0.59, allocations: 51.73 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/0.59, allocations: 6 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001796/0.5902, allocations: 19.62 kB / 0.8616 GB, free: 18.85 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.5902, allocations: 10.28 kB / 0.8616 GB, free: 18.85 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.0001914/0.5904, allocations: 183.1 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.5905, allocations: 23.62 kB / 0.8618 GB, free: 18.69 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.863e-05/0.5905, allocations: 29.95 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-06/0.5905, allocations: 2.75 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.5905, allocations: 4.594 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.789e-06/0.5905, allocations: 0.625 kB / 0.8618 GB, free: 18.67 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007193/0.5912, allocations: 0.5404 MB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.5913, allocations: 4.594 kB / 0.8624 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.5914, allocations: 33.19 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.5914, allocations: 5 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.018e-05/0.5915, allocations: 5.188 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.5915, allocations: 7.25 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.5915, allocations: 3.062 kB / 0.8624 GB, free: 18.36 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000693/0.5922, allocations: 497.5 kB / 0.8629 GB, free: 18.12 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.39e-05/0.5922, allocations: 19.59 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.192e-05/0.5922, allocations: 6.859 kB / 0.8629 GB, free: 18.11 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.5924, allocations: 22.42 kB / 0.8629 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.975e-05/0.5925, allocations: 19.14 kB / 0.863 GB, free: 18.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.515e-05/0.5925, allocations: 10.81 kB / 0.863 GB, free: 18.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000137/0.5927, allocations: 162.4 kB / 0.8631 GB, free: 18.02 MB / 490.8 MB Notification: Performance of sort global known variables: time 8e-08/0.5927, allocations: 0.7812 kB / 0.8631 GB, free: 18.02 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003066/0.593, allocations: 56 kB / 0.8632 GB, free: 18.02 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.0001211/0.5931, allocations: 112.4 kB / 0.8633 GB, free: 17.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005907/0.5937, allocations: 388.1 kB / 0.8636 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.5937, allocations: 0 / 0.8636 GB, free: 17.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002419/0.5939, allocations: 173.7 kB / 0.8638 GB, free: 17.6 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004919/0.5944, allocations: 69.23 kB / 0.8639 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001445/0.5959, allocations: 0.6811 MB / 0.8645 GB, free: 17.28 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001507/0.596, allocations: 127.4 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001291/0.5961, allocations: 24.44 kB / 0.8647 GB, free: 17.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.397e-05/0.5962, allocations: 21.59 kB / 0.8647 GB, free: 17.19 MB / 490.8 MB Notification: Performance of SimCode: time 1.192e-06/0.5962, allocations: 4 kB / 0.8647 GB, free: 17.18 MB / 490.8 MB Notification: Performance of Templates: time 0.009861/0.6061, allocations: 3.635 MB / 0.8683 GB, free: 16.86 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.852840453851968]