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.001205/0.001205, allocations: 92.42 kB / 19.94 MB, free: 4.602 MB / 18.57 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.0009554/0.0009554, allocations: 169.9 kB / 23.21 MB, free: 1.328 MB / 18.57 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 0.9475/0.9475, allocations: 177.1 MB / 203.5 MB, free: 5.773 MB / 186.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.7218/0.7218, allocations: 291.1 MB / 0.5382 GB, free: 51.9 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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.297e-05/2.446e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB06_Amikacin.Amikacin_Alqahtani2018_final): time 0.007675/0.0077, allocations: 2.291 MB / 0.6996 GB, free: 8.066 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005839/0.01354, allocations: 6.526 MB / 0.7059 GB, free: 1.531 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001678/0.01371, allocations: 11.94 kB / 0.7059 GB, free: 1.52 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001232/0.01383, allocations: 23.77 kB / 0.706 GB, free: 1.496 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.01403, allocations: 83.27 kB / 0.706 GB, free: 1.414 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002044/0.01423, allocations: 51.88 kB / 0.7061 GB, free: 1.363 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.01443, allocations: 270.6 kB / 0.7063 GB, free: 1.098 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001336/0.01457, allocations: 36.5 kB / 0.7064 GB, free: 1.066 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.0147, allocations: 143.6 kB / 0.7065 GB, free: 0.9258 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.01486, allocations: 83.77 kB / 0.7066 GB, free: 0.8438 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.652e-05/0.01488, allocations: 20 kB / 0.7066 GB, free: 0.8242 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.01491, allocations: 16 kB / 0.7066 GB, free: 0.8086 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.246e-05/0.01494, allocations: 43.78 kB / 0.7067 GB, free: 0.7656 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.015, allocations: 67.84 kB / 0.7067 GB, free: 0.6992 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000182/0.01518, allocations: 207.4 kB / 0.7069 GB, free: 0.4961 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.01519, allocations: 0 / 0.7069 GB, free: 0.4961 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.763e-06/0.01519, allocations: 0 / 0.7069 GB, free: 0.4961 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.0152, allocations: 0 / 0.7069 GB, free: 0.4961 MB / 410.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.0006056/0.0158, allocations: 496.8 kB / 0.7074 GB, free: 15.96 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.01584, allocations: 8.031 kB / 0.7074 GB, free: 15.96 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.327e-05/0.0159, allocations: 24.8 kB / 0.7074 GB, free: 15.93 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002152/0.01611, allocations: 186.3 kB / 0.7076 GB, free: 15.72 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.995e-05/0.01613, allocations: 12.61 kB / 0.7076 GB, free: 15.71 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.17e-05/0.01616, allocations: 12.38 kB / 0.7076 GB, free: 15.7 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002771/0.01644, allocations: 198.5 kB / 0.7078 GB, free: 15.49 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.444e-05/0.01645, allocations: 3.953 kB / 0.7078 GB, free: 15.49 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/0.01647, allocations: 4 kB / 0.7078 GB, free: 15.48 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.01648, allocations: 4 kB / 0.7078 GB, free: 15.48 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002112/0.01669, allocations: 150.2 kB / 0.708 GB, free: 15.33 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005957/0.01728, allocations: 485.4 kB / 0.7084 GB, free: 14.82 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003468/0.01763, allocations: 172 kB / 0.7086 GB, free: 14.64 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001126/0.01774, allocations: 102.5 kB / 0.7087 GB, free: 14.53 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.01775, allocations: 0 / 0.7087 GB, free: 14.53 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002521/0.018, allocations: 236.4 kB / 0.7089 GB, free: 14.27 MB / 426.8 MB Notification: Performance of pre-optimization done (n=20): time 1.373e-06/0.01801, allocations: 0 / 0.7089 GB, free: 14.27 MB / 426.8 MB Notification: Performance of matching and sorting (n=21): time 0.001023/0.01903, allocations: 0.6948 MB / 0.7096 GB, free: 13.51 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.569e-05/0.01911, allocations: 144.5 kB / 0.7098 GB, free: 13.34 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001812/0.01929, allocations: 215 kB / 0.71 GB, free: 13.12 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.25e-05/0.01932, allocations: 37.64 kB / 0.71 GB, free: 13.07 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.0194, allocations: 128.5 kB / 0.7101 GB, free: 12.95 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.527e-05/0.01945, allocations: 71.42 kB / 0.7102 GB, free: 12.88 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.316e-05/0.01951, allocations: 45.7 kB / 0.7102 GB, free: 12.82 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001106/0.01962, allocations: 342.8 kB / 0.7106 GB, free: 12.48 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.01978, allocations: 141 kB / 0.7107 GB, free: 12.32 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001792/0.01996, allocations: 225.3 kB / 0.7109 GB, free: 12.06 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002711/0.02023, allocations: 286.2 kB / 0.7112 GB, free: 11.74 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.02023, allocations: 0 / 0.7112 GB, free: 11.74 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004129/0.02065, allocations: 396 kB / 0.7116 GB, free: 11.32 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.393e-05/0.0207, allocations: 68.33 kB / 0.7116 GB, free: 11.24 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.02071, allocations: 0 / 0.7116 GB, free: 11.24 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.02072, allocations: 4 kB / 0.7116 GB, free: 11.24 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000135/0.02086, allocations: 51.84 kB / 0.7117 GB, free: 11.19 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.02086, allocations: 4.219 kB / 0.7117 GB, free: 11.18 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.133e-05/0.02096, allocations: 23.98 kB / 0.7117 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.485e-05/0.02097, allocations: 12 kB / 0.7117 GB, free: 11.15 MB / 426.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.0001743/0.02114, allocations: 175.2 kB / 0.7119 GB, free: 10.96 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.241e-05/0.02117, allocations: 19.91 kB / 0.7119 GB, free: 10.95 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.01e-05/0.02121, allocations: 25.95 kB / 0.7119 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.02121, allocations: 0 / 0.7119 GB, free: 10.92 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.02122, allocations: 7.922 kB / 0.7119 GB, free: 10.91 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.017e-06/0.02122, allocations: 4 kB / 0.7119 GB, free: 10.91 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005512/0.02177, allocations: 0.5432 MB / 0.7125 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.02178, allocations: 0 / 0.7125 GB, free: 10.32 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00011/0.02189, allocations: 35.91 kB / 0.7125 GB, free: 10.28 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.02189, allocations: 0 / 0.7125 GB, free: 10.28 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/0.0219, allocations: 8 kB / 0.7125 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.02191, allocations: 0 / 0.7125 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.436e-06/0.02191, allocations: 3.984 kB / 0.7125 GB, free: 10.27 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004729/0.02238, allocations: 0.489 MB / 0.713 GB, free: 9.746 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.803e-05/0.02241, allocations: 19.89 kB / 0.713 GB, free: 9.727 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.745e-05/0.02244, allocations: 8 kB / 0.713 GB, free: 9.719 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.503e-05/0.02252, allocations: 15.98 kB / 0.713 GB, free: 9.703 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.281e-05/0.02259, allocations: 23.97 kB / 0.7131 GB, free: 9.68 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.0226, allocations: 7.984 kB / 0.7131 GB, free: 9.672 MB / 426.8 MB Notification: Performance of sorting global known variables: time 9.666e-05/0.0227, allocations: 160.4 kB / 0.7132 GB, free: 9.516 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.0227, allocations: 3.938 kB / 0.7132 GB, free: 9.512 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001923/0.02289, allocations: 60 kB / 0.7133 GB, free: 9.453 MB / 426.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.02301, allocations: 125.1 kB / 0.7134 GB, free: 9.324 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003765/0.02339, allocations: 375.6 kB / 0.7138 GB, free: 8.914 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.02339, allocations: 0 / 0.7138 GB, free: 8.914 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.02353, allocations: 177.4 kB / 0.7139 GB, free: 8.723 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003079/0.02384, allocations: 59.91 kB / 0.714 GB, free: 8.664 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008041/0.02465, allocations: 0.594 MB / 0.7146 GB, free: 8.035 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.652e-05/0.02473, allocations: 125.6 kB / 0.7147 GB, free: 7.891 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.038e-05/0.02478, allocations: 24.5 kB / 0.7147 GB, free: 7.867 MB / 426.8 MB Notification: Performance of SimCode: time 5.81e-07/0.02478, allocations: 0 / 0.7147 GB, free: 7.867 MB / 426.8 MB Notification: Performance of Templates: time 0.004028/0.02881, allocations: 2.958 MB / 0.7176 GB, free: 4.945 MB / 426.8 MB " [Timeout remaining time 660] 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: 5.745273279957473]