Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median.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.001275/0.001275, allocations: 92.52 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.001767/0.001767, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 1.007/1.007, 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.7477/0.7477, 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.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6974 GB, free: 10.39 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.067e-05/3.221e-05, allocations: 6.219 kB / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median): time 0.002752/0.002784, allocations: 2.697 MB / 0.7 GB, free: 7.668 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.005563/0.008347, allocations: 6.611 MB / 0.7064 GB, free: 1.047 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002104/0.008557, allocations: 0 / 0.7064 GB, free: 1.047 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001676/0.008725, allocations: 43.58 kB / 0.7065 GB, free: 1.004 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003146/0.00904, allocations: 123 kB / 0.7066 GB, free: 0.8828 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.009359, allocations: 67.91 kB / 0.7067 GB, free: 0.8164 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003221/0.009681, allocations: 393.9 kB / 0.707 GB, free: 440 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001967/0.009878, allocations: 64.75 kB / 0.7071 GB, free: 380 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.01008, allocations: 207.5 kB / 0.7073 GB, free: 172 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002142/0.0103, allocations: 115.6 kB / 0.7074 GB, free: 56 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.01033, allocations: 28 kB / 0.7074 GB, free: 28 kB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.235e-05/0.01036, allocations: 28 kB / 0.7075 GB, free: 0 / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 7.962e-05/0.01044, allocations: 59.88 kB / 0.7075 GB, free: 15.94 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001086/0.01055, allocations: 111.7 kB / 0.7076 GB, free: 15.83 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.01087, allocations: 291.1 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.01088, allocations: 0 / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of FrontEnd: time 3.506e-06/0.01088, allocations: 0 / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.793e-06/0.01089, allocations: 4 kB / 0.7079 GB, free: 15.54 MB / 426.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009203/0.01181, allocations: 0.5925 MB / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.873e-05/0.01186, allocations: 8.031 kB / 0.7085 GB, free: 14.89 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.178e-05/0.01193, allocations: 32.75 kB / 0.7085 GB, free: 14.86 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002682/0.0122, allocations: 216.7 kB / 0.7087 GB, free: 14.62 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.498e-05/0.01222, allocations: 12.75 kB / 0.7088 GB, free: 14.61 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.542e-05/0.01227, allocations: 28.36 kB / 0.7088 GB, free: 14.58 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003792/0.01265, allocations: 292.5 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.093e-05/0.01267, allocations: 3.953 kB / 0.7091 GB, free: 14.27 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.018e-05/0.01269, allocations: 15.94 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.0127, allocations: 4 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000307/0.013, allocations: 232.4 kB / 0.7093 GB, free: 14.01 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009205/0.01392, allocations: 0.6679 MB / 0.71 GB, free: 13.3 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004265/0.01435, allocations: 246 kB / 0.7102 GB, free: 13.04 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.01451, allocations: 152.4 kB / 0.7103 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.482e-05/0.01452, allocations: 4 kB / 0.7103 GB, free: 12.87 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003592/0.01488, allocations: 353.3 kB / 0.7107 GB, free: 12.48 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.856e-06/0.01488, allocations: 0 / 0.7107 GB, free: 12.48 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001483/0.01637, allocations: 1.091 MB / 0.7117 GB, free: 11.29 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001034/0.01647, allocations: 221.6 kB / 0.712 GB, free: 11.03 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002088/0.01668, allocations: 241.9 kB / 0.7122 GB, free: 10.79 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 2.316e-05/0.0167, allocations: 33.7 kB / 0.7122 GB, free: 10.75 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.691e-05/0.0168, allocations: 160.8 kB / 0.7124 GB, free: 10.58 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.906e-05/0.01687, allocations: 127 kB / 0.7125 GB, free: 10.46 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.01695, allocations: 70.19 kB / 0.7126 GB, free: 10.38 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001011/0.01705, allocations: 342.8 kB / 0.7129 GB, free: 10.04 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002086/0.01726, allocations: 207.9 kB / 0.7131 GB, free: 9.812 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002454/0.01751, allocations: 311.2 kB / 0.7134 GB, free: 9.445 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003846/0.01789, allocations: 439 kB / 0.7138 GB, free: 8.949 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.01789, allocations: 0 / 0.7138 GB, free: 8.949 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005445/0.01844, allocations: 0.5457 MB / 0.7143 GB, free: 8.359 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.213e-05/0.0185, allocations: 94.97 kB / 0.7144 GB, free: 8.25 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.01851, allocations: 4 kB / 0.7144 GB, free: 8.246 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.745e-05/0.01853, allocations: 4 kB / 0.7144 GB, free: 8.242 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.01872, allocations: 83.83 kB / 0.7145 GB, free: 8.16 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.01873, allocations: 4.344 kB / 0.7145 GB, free: 8.156 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001177/0.01885, allocations: 23.98 kB / 0.7145 GB, free: 8.133 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.064e-05/0.01887, allocations: 16 kB / 0.7146 GB, free: 8.117 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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0002259/0.01909, allocations: 223.1 kB / 0.7148 GB, free: 7.879 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.01913, allocations: 31.81 kB / 0.7148 GB, free: 7.848 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.827e-05/0.01917, allocations: 30.95 kB / 0.7148 GB, free: 7.816 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.01918, allocations: 4 kB / 0.7148 GB, free: 7.812 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.01919, allocations: 4 kB / 0.7148 GB, free: 7.809 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.01919, allocations: 3.938 kB / 0.7148 GB, free: 7.805 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000797/0.01999, allocations: 0.7601 MB / 0.7156 GB, free: 6.984 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.01999, allocations: 0 / 0.7156 GB, free: 6.984 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001571/0.02015, allocations: 59.89 kB / 0.7156 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.02015, allocations: 0 / 0.7156 GB, free: 6.926 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.88e-05/0.02017, allocations: 12 kB / 0.7156 GB, free: 6.914 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.02017, allocations: 0 / 0.7156 GB, free: 6.914 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.02018, allocations: 7.922 kB / 0.7157 GB, free: 6.906 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006851/0.02086, allocations: 0.7346 MB / 0.7164 GB, free: 6.113 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.597e-05/0.0209, allocations: 19.81 kB / 0.7164 GB, free: 6.094 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.014e-05/0.02094, allocations: 20.17 kB / 0.7164 GB, free: 6.074 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.862e-05/0.02104, allocations: 15.98 kB / 0.7164 GB, free: 6.059 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.816e-05/0.02113, allocations: 35.89 kB / 0.7165 GB, free: 6.023 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.02114, allocations: 8 kB / 0.7165 GB, free: 6.016 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001278/0.02127, allocations: 181.2 kB / 0.7166 GB, free: 5.84 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.9e-07/0.02127, allocations: 4 kB / 0.7166 GB, free: 5.836 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002537/0.02152, allocations: 88 kB / 0.7167 GB, free: 5.75 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.000147/0.02167, allocations: 122.9 kB / 0.7168 GB, free: 5.625 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0005382/0.02221, allocations: 0.5612 MB / 0.7174 GB, free: 5 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.02221, allocations: 4.125 kB / 0.7174 GB, free: 4.996 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002388/0.02245, allocations: 310 kB / 0.7177 GB, free: 4.656 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.02284, allocations: 80.44 kB / 0.7178 GB, free: 4.578 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001159/0.024, allocations: 0.8164 MB / 0.7186 GB, free: 3.719 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001161/0.02411, allocations: 156.3 kB / 0.7187 GB, free: 3.543 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.457e-05/0.02419, allocations: 28.5 kB / 0.7187 GB, free: 3.516 MB / 426.8 MB Notification: Performance of SimCode: time 1.333e-06/0.02419, allocations: 4 kB / 0.7187 GB, free: 3.512 MB / 426.8 MB Notification: Performance of Templates: time 0.218/0.2422, allocations: 4.028 MB / 0.7227 GB, free: 36.81 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.788649808615446]