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_mean.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.001766/0.001766, 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.001275/0.001275, allocations: 215.5 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.058/1.058, allocations: 230.6 MB / 256.8 MB, free: 9.574 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.9201/0.9201, allocations: 312.3 MB / 0.6108 GB, free: 97.5 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_mean,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_mean") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_mean,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_mean") [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.001744/0.001744, allocations: 73.73 kB / 0.7699 GB, free: 20.19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1718, allocations: 73.99 MB / 0.8421 GB, free: 10.33 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_mean): time 0.004294/0.1761, allocations: 2.699 MB / 0.8448 GB, free: 7.633 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.008452/0.1846, allocations: 6.602 MB / 0.8512 GB, free: 1.031 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003063/0.1849, allocations: 4 kB / 0.8512 GB, free: 1.027 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001897/0.1851, allocations: 40.17 kB / 0.8513 GB, free: 0.9883 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003474/0.1854, allocations: 120.2 kB / 0.8514 GB, free: 0.8711 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002834/0.1857, allocations: 76.47 kB / 0.8515 GB, free: 0.7969 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004243/0.1861, allocations: 374.9 kB / 0.8518 GB, free: 440 kB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002235/0.1863, allocations: 48.91 kB / 0.8519 GB, free: 392 kB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000193/0.1865, allocations: 144 kB / 0.852 GB, free: 248 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002722/0.1868, allocations: 140 kB / 0.8521 GB, free: 108 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.058e-05/0.1868, allocations: 24.69 kB / 0.8522 GB, free: 84 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.911e-05/0.1869, allocations: 28 kB / 0.8522 GB, free: 56 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.789e-05/0.187, allocations: 60.39 kB / 0.8522 GB, free: 15.99 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.1871, allocations: 131.4 kB / 0.8524 GB, free: 15.87 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004166/0.1875, allocations: 291.4 kB / 0.8526 GB, free: 15.58 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1875, allocations: 0 / 0.8526 GB, free: 15.58 MB / 490.8 MB Notification: Performance of FrontEnd: time 3.637e-06/0.1875, allocations: 0.7188 kB / 0.8526 GB, free: 15.58 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.866e-06/0.1875, allocations: 0 / 0.8526 GB, free: 15.58 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.001108/0.1886, allocations: 0.6025 MB / 0.8532 GB, free: 14.93 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.617e-05/0.1887, allocations: 8.031 kB / 0.8532 GB, free: 14.92 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.614e-05/0.1887, allocations: 33.25 kB / 0.8533 GB, free: 14.89 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.189, allocations: 213.6 kB / 0.8535 GB, free: 14.65 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.997e-05/0.189, allocations: 12.75 kB / 0.8535 GB, free: 14.64 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.584e-05/0.1891, allocations: 28.66 kB / 0.8535 GB, free: 14.61 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004041/0.1895, allocations: 288.6 kB / 0.8538 GB, free: 14.31 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.763e-05/0.1895, allocations: 8.484 kB / 0.8538 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.301e-05/0.1895, allocations: 8 kB / 0.8538 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.027e-06/0.1895, allocations: 8.531 kB / 0.8538 GB, free: 14.29 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003097/0.1898, allocations: 229.1 kB / 0.854 GB, free: 14.05 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001049/0.1909, allocations: 0.6814 MB / 0.8547 GB, free: 13.33 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004627/0.1914, allocations: 238.6 kB / 0.8549 GB, free: 13.08 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000155/0.1915, allocations: 149.1 kB / 0.8551 GB, free: 12.92 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.606e-05/0.1915, allocations: 4.719 kB / 0.8551 GB, free: 12.91 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003943/0.1919, allocations: 360.7 kB / 0.8554 GB, free: 12.52 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 3.717e-06/0.1919, allocations: 0.5938 kB / 0.8554 GB, free: 12.52 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.362/0.554, allocations: 1.07 MB / 0.8565 GB, free: 21.37 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.656e-05/0.554, allocations: 225 kB / 0.8567 GB, free: 21.12 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002824/0.5543, allocations: 250.3 kB / 0.8569 GB, free: 21.02 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.268e-05/0.5543, allocations: 35.86 kB / 0.8569 GB, free: 20.99 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 9.503e-05/0.5544, allocations: 157.5 kB / 0.8571 GB, free: 20.9 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.655e-05/0.5545, allocations: 114.4 kB / 0.8572 GB, free: 20.84 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.999e-05/0.5546, allocations: 74.61 kB / 0.8573 GB, free: 20.83 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.484e-05/0.5547, allocations: 339.5 kB / 0.8576 GB, free: 20.52 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.5549, allocations: 209.2 kB / 0.8578 GB, free: 20.41 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002149/0.5551, allocations: 319.3 kB / 0.8581 GB, free: 20.18 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000378/0.5555, allocations: 442.3 kB / 0.8585 GB, free: 19.92 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.5555, allocations: 0 / 0.8585 GB, free: 19.92 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005554/0.556, allocations: 0.554 MB / 0.8591 GB, free: 19.68 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.273e-05/0.5561, allocations: 91.7 kB / 0.8592 GB, free: 19.59 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.5561, allocations: 5.469 kB / 0.8592 GB, free: 19.59 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.685e-05/0.5561, allocations: 5.219 kB / 0.8592 GB, free: 19.59 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.5564, allocations: 76.22 kB / 0.8592 GB, free: 19.59 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.5564, allocations: 8.531 kB / 0.8592 GB, free: 19.59 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001396/0.5565, allocations: 22.31 kB / 0.8593 GB, free: 19.59 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.248e-05/0.5565, allocations: 14.14 kB / 0.8593 GB, free: 19.59 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: 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.0002332/0.5568, allocations: 224.3 kB / 0.8595 GB, free: 19.4 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.796e-05/0.5568, allocations: 38.64 kB / 0.8595 GB, free: 19.39 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.5569, allocations: 29.78 kB / 0.8596 GB, free: 19.38 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.141e-06/0.5569, allocations: 5.75 kB / 0.8596 GB, free: 19.38 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/0.5569, allocations: 0 / 0.8596 GB, free: 19.38 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.273e-06/0.5569, allocations: 3 kB / 0.8596 GB, free: 19.38 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008342/0.5577, allocations: 0.7695 MB / 0.8603 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/0.5577, allocations: 0.625 kB / 0.8603 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001689/0.5579, allocations: 49.64 kB / 0.8604 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.542e-06/0.5579, allocations: 5.578 kB / 0.8604 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.023e-05/0.5579, allocations: 9.219 kB / 0.8604 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-06/0.5579, allocations: 2 kB / 0.8604 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.5579, allocations: 3.406 kB / 0.8604 GB, free: 19.01 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006401/0.5586, allocations: 0.7332 MB / 0.8611 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.429e-05/0.5586, allocations: 24.98 kB / 0.8611 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.314e-05/0.5586, allocations: 16.47 kB / 0.8611 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.5587, allocations: 18.05 kB / 0.8612 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.563e-05/0.5588, allocations: 24.66 kB / 0.8612 GB, free: 18.65 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.782e-05/0.5589, allocations: 14.95 kB / 0.8612 GB, free: 18.65 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001391/0.559, allocations: 176.5 kB / 0.8614 GB, free: 18.57 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.559, allocations: 1.594 kB / 0.8614 GB, free: 18.57 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002631/0.5593, allocations: 92.97 kB / 0.8615 GB, free: 18.56 MB / 490.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.0001683/0.5594, allocations: 124.5 kB / 0.8616 GB, free: 18.48 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005956/0.56, allocations: 0.5636 MB / 0.8621 GB, free: 18.13 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.56, allocations: 3.375 kB / 0.8621 GB, free: 18.13 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002471/0.5603, allocations: 298.8 kB / 0.8624 GB, free: 17.94 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004299/0.5607, allocations: 91.11 kB / 0.8625 GB, free: 17.94 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001502/0.5622, allocations: 0.9597 MB / 0.8634 GB, free: 17.45 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000147/0.5624, allocations: 158.6 kB / 0.8636 GB, free: 17.37 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.719e-05/0.5624, allocations: 29.2 kB / 0.8636 GB, free: 17.36 MB / 490.8 MB Notification: Performance of SimCode: time 1.092e-06/0.5624, allocations: 0 / 0.8636 GB, free: 17.36 MB / 490.8 MB Notification: Performance of Templates: time 0.008239/0.5707, allocations: 4.02 MB / 0.8675 GB, free: 17.01 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_mean.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_mean.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_mean.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_mean.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_mean.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_mean > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_mean.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.091823755763471]