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.001111/0.001111, allocations: 100.4 kB / 19.7 MB, free: 452 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.001222/0.001222, allocations: 217.8 kB / 23 MB, free: 2.977 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.097/1.097, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.8306/0.8306, allocations: 312.3 MB / 0.6108 GB, free: 97.12 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: 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.002674/0.002674, allocations: 85.34 kB / 0.7699 GB, free: 19.69 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1662/0.1688, allocations: 73.98 MB / 0.8422 GB, free: 9.836 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin_Setiawan2022_median): time 0.003883/0.1727, allocations: 2.696 MB / 0.8448 GB, free: 7.145 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.008019/0.1807, allocations: 6.602 MB / 0.8512 GB, free: 0.543 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003059/0.181, allocations: 8.531 kB / 0.8513 GB, free: 0.5352 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002062/0.1812, allocations: 31.64 kB / 0.8513 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000353/0.1816, allocations: 124.3 kB / 0.8514 GB, free: 392 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003151/0.1819, allocations: 72.47 kB / 0.8515 GB, free: 320 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004614/0.1824, allocations: 374.7 kB / 0.8518 GB, free: 15.95 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002129/0.1826, allocations: 60.56 kB / 0.8519 GB, free: 15.89 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001792/0.1828, allocations: 135.5 kB / 0.852 GB, free: 15.76 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002573/0.183, allocations: 139.9 kB / 0.8521 GB, free: 15.62 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.215e-05/0.1831, allocations: 24.59 kB / 0.8522 GB, free: 15.6 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.965e-05/0.1831, allocations: 28.5 kB / 0.8522 GB, free: 15.57 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.735e-05/0.1832, allocations: 59.7 kB / 0.8523 GB, free: 15.51 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.1833, allocations: 135.9 kB / 0.8524 GB, free: 15.38 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003307/0.1836, allocations: 295.4 kB / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.693e-06/0.1836, allocations: 0 / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.295e-06/0.1837, allocations: 0.5312 kB / 0.8527 GB, free: 15.09 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.388e-06/0.1837, allocations: 0.7188 kB / 0.8527 GB, free: 15.09 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.0009814/0.1846, allocations: 0.5903 MB / 0.8532 GB, free: 14.45 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/0.1847, allocations: 8.031 kB / 0.8532 GB, free: 14.44 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.12e-05/0.1848, allocations: 33.34 kB / 0.8533 GB, free: 14.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002855/0.185, allocations: 213.8 kB / 0.8535 GB, free: 14.17 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.71e-05/0.1851, allocations: 24.67 kB / 0.8535 GB, free: 14.15 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.627e-05/0.1851, allocations: 28.56 kB / 0.8535 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003855/0.1855, allocations: 284.5 kB / 0.8538 GB, free: 13.82 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.795e-05/0.1855, allocations: 3.953 kB / 0.8538 GB, free: 13.82 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.926e-05/0.1855, allocations: 12.69 kB / 0.8538 GB, free: 13.81 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.655e-06/0.1856, allocations: 4.594 kB / 0.8538 GB, free: 13.8 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002994/0.1859, allocations: 233.1 kB / 0.8541 GB, free: 13.57 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009249/0.1868, allocations: 0.6773 MB / 0.8547 GB, free: 12.85 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006468/0.1874, allocations: 237.6 kB / 0.8549 GB, free: 12.59 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001606/0.1876, allocations: 157.5 kB / 0.8551 GB, free: 12.43 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.1876, allocations: 4 kB / 0.8551 GB, free: 12.42 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.1879, allocations: 357.3 kB / 0.8554 GB, free: 12.03 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 2.956e-06/0.188, allocations: 0.5938 kB / 0.8554 GB, free: 12.03 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.354/0.5419, allocations: 1.08 MB / 0.8565 GB, free: 21.11 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.023e-05/0.542, allocations: 219.6 kB / 0.8567 GB, free: 20.86 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002365/0.5422, allocations: 252.9 kB / 0.8569 GB, free: 20.75 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.255e-05/0.5422, allocations: 34.61 kB / 0.857 GB, free: 20.72 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.862e-05/0.5423, allocations: 158.6 kB / 0.8571 GB, free: 20.62 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.197e-05/0.5424, allocations: 115.4 kB / 0.8572 GB, free: 20.57 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.155e-05/0.5425, allocations: 75.28 kB / 0.8573 GB, free: 20.55 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.937e-05/0.5426, allocations: 342.2 kB / 0.8576 GB, free: 20.23 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.5428, allocations: 212.2 kB / 0.8578 GB, free: 20.12 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002267/0.543, allocations: 320.8 kB / 0.8581 GB, free: 19.9 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003768/0.5434, allocations: 428.2 kB / 0.8585 GB, free: 19.64 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.087e-06/0.5434, allocations: 5.406 kB / 0.8586 GB, free: 19.64 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005542/0.5439, allocations: 0.5451 MB / 0.8591 GB, free: 19.4 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.278e-05/0.544, allocations: 90.12 kB / 0.8592 GB, free: 19.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.544, allocations: 5.469 kB / 0.8592 GB, free: 19.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.467e-05/0.544, allocations: 7.031 kB / 0.8592 GB, free: 19.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.5442, allocations: 78.02 kB / 0.8593 GB, free: 19.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.091e-05/0.5442, allocations: 9.266 kB / 0.8593 GB, free: 19.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001335/0.5444, allocations: 22.98 kB / 0.8593 GB, free: 19.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.5444, allocations: 18.64 kB / 0.8593 GB, free: 19.3 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.0002349/0.5446, allocations: 226 kB / 0.8595 GB, free: 19.12 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.588e-05/0.5447, allocations: 32.12 kB / 0.8596 GB, free: 19.11 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.521e-05/0.5447, allocations: 30.77 kB / 0.8596 GB, free: 19.1 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.5447, allocations: 2.938 kB / 0.8596 GB, free: 19.1 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.254e-06/0.5447, allocations: 0.5312 kB / 0.8596 GB, free: 19.1 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.5447, allocations: 1.969 kB / 0.8596 GB, free: 19.1 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007843/0.5455, allocations: 0.7672 MB / 0.8603 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.026e-06/0.5455, allocations: 2.281 kB / 0.8603 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.5457, allocations: 59.08 kB / 0.8604 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.689e-06/0.5457, allocations: 3.281 kB / 0.8604 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.5457, allocations: 8.234 kB / 0.8604 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.5457, allocations: 0.625 kB / 0.8604 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/0.5457, allocations: 10.53 kB / 0.8604 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006197/0.5463, allocations: 0.7247 MB / 0.8611 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.974e-05/0.5464, allocations: 24.72 kB / 0.8611 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.72e-05/0.5464, allocations: 11.47 kB / 0.8612 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001037/0.5465, allocations: 15.16 kB / 0.8612 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.123e-05/0.5466, allocations: 34.2 kB / 0.8612 GB, free: 18.37 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.5466, allocations: 17.64 kB / 0.8612 GB, free: 18.37 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001235/0.5468, allocations: 176.2 kB / 0.8614 GB, free: 18.29 MB / 490.8 MB Notification: Performance of sort global known variables: time 6.1e-08/0.5468, allocations: 0.5938 kB / 0.8614 GB, free: 18.29 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002487/0.547, allocations: 88.34 kB / 0.8615 GB, free: 18.29 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.0001277/0.5471, allocations: 120.4 kB / 0.8616 GB, free: 18.2 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0004939/0.5476, allocations: 0.5687 MB / 0.8621 GB, free: 17.85 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.5476, allocations: 2.969 kB / 0.8621 GB, free: 17.85 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002002/0.5478, allocations: 299.2 kB / 0.8624 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.5482, allocations: 84.48 kB / 0.8625 GB, free: 17.66 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001328/0.5496, allocations: 0.9639 MB / 0.8635 GB, free: 17.16 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001304/0.5497, allocations: 159.3 kB / 0.8636 GB, free: 17.08 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.2e-05/0.5498, allocations: 32.19 kB / 0.8636 GB, free: 17.07 MB / 490.8 MB Notification: Performance of SimCode: time 9.42e-07/0.5498, allocations: 0 / 0.8636 GB, free: 17.07 MB / 490.8 MB Notification: Performance of Templates: time 0.007214/0.557, allocations: 4.024 MB / 0.8676 GB, free: 16.72 MB / 490.8 MB " [Timeout remaining time 659] 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: 6.888396133668721]