Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.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.001605/0.001605, allocations: 104.3 kB / 19.71 MB, free: 440 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.001248/0.001248, allocations: 221.3 kB / 23.01 MB, free: 2.941 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.059/1.059, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.8229/0.8229, allocations: 312.3 MB / 0.6109 GB, free: 97.08 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,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=345600,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin") [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.00153/0.00153, allocations: 73.08 kB / 0.7699 GB, free: 19.64 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1693/0.1708, allocations: 73.99 MB / 0.8422 GB, free: 9.785 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin): time 0.003629/0.1745, allocations: 2.707 MB / 0.8448 GB, free: 7.078 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.00671/0.1812, allocations: 6.606 MB / 0.8513 GB, free: 484 kB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001824/0.1814, allocations: 4.5 kB / 0.8513 GB, free: 480 kB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001786/0.1815, allocations: 35.58 kB / 0.8513 GB, free: 444 kB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003056/0.1819, allocations: 124.4 kB / 0.8514 GB, free: 320 kB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002771/0.1821, allocations: 72.44 kB / 0.8515 GB, free: 248 kB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004159/0.1825, allocations: 370.7 kB / 0.8519 GB, free: 15.88 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001777/0.1827, allocations: 61.36 kB / 0.8519 GB, free: 15.82 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001882/0.1829, allocations: 136.2 kB / 0.8521 GB, free: 15.69 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002481/0.1832, allocations: 139.9 kB / 0.8522 GB, free: 15.55 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 4.088e-05/0.1832, allocations: 27.94 kB / 0.8522 GB, free: 15.52 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.491e-05/0.1832, allocations: 28.5 kB / 0.8522 GB, free: 15.5 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 5.113e-05/0.1833, allocations: 56.39 kB / 0.8523 GB, free: 15.44 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001482/0.1834, allocations: 131.4 kB / 0.8524 GB, free: 15.31 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003445/0.1838, allocations: 299.2 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.183e-06/0.1838, allocations: 0.7812 kB / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.555e-06/0.1838, allocations: 0 / 0.8527 GB, free: 15.02 MB / 490.8 MB Notification: Performance of Transformations before backend: time 1.236e-05/0.1838, allocations: 0 / 0.8527 GB, free: 15.02 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.001068/0.1849, allocations: 0.5962 MB / 0.8533 GB, free: 14.38 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.541e-05/0.1849, allocations: 8.781 kB / 0.8533 GB, free: 14.37 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.755e-05/0.185, allocations: 32.75 kB / 0.8533 GB, free: 14.34 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003135/0.1853, allocations: 213.8 kB / 0.8535 GB, free: 14.1 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.1853, allocations: 21.23 kB / 0.8536 GB, free: 14.08 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.672e-05/0.1854, allocations: 23.94 kB / 0.8536 GB, free: 14.06 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003828/0.1858, allocations: 289.1 kB / 0.8538 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.02e-05/0.1858, allocations: 7.891 kB / 0.8539 GB, free: 13.75 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.1858, allocations: 12.5 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.416e-06/0.1858, allocations: 4.5 kB / 0.8539 GB, free: 13.73 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002897/0.1861, allocations: 229.7 kB / 0.8541 GB, free: 13.5 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008942/0.187, allocations: 0.6733 MB / 0.8547 GB, free: 12.78 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.1875, allocations: 241.2 kB / 0.855 GB, free: 12.52 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001713/0.1876, allocations: 153 kB / 0.8551 GB, free: 12.36 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.4e-05/0.1877, allocations: 4.562 kB / 0.8551 GB, free: 12.36 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003487/0.188, allocations: 350.6 kB / 0.8555 GB, free: 11.96 MB / 490.8 MB Notification: Performance of pre-optimization done (n=32): time 4.298e-06/0.188, allocations: 0.5312 kB / 0.8555 GB, free: 11.96 MB / 490.8 MB Notification: Performance of matching and sorting (n=34): time 0.4001/0.5881, allocations: 1.084 MB / 0.8565 GB, free: 21.04 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.5882, allocations: 217.1 kB / 0.8567 GB, free: 20.79 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002202/0.5884, allocations: 255.7 kB / 0.857 GB, free: 20.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.5884, allocations: 30.98 kB / 0.857 GB, free: 20.65 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.165e-05/0.5885, allocations: 157.2 kB / 0.8572 GB, free: 20.55 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.757e-05/0.5885, allocations: 115.2 kB / 0.8573 GB, free: 20.5 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.742e-05/0.5886, allocations: 75.81 kB / 0.8573 GB, free: 20.48 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 5.532e-05/0.5887, allocations: 342.5 kB / 0.8577 GB, free: 20.16 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002067/0.5889, allocations: 215.8 kB / 0.8579 GB, free: 20.05 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002112/0.5891, allocations: 316.9 kB / 0.8582 GB, free: 19.83 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003499/0.5895, allocations: 435.3 kB / 0.8586 GB, free: 19.57 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.5895, allocations: 0.7812 kB / 0.8586 GB, free: 19.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005831/0.59, allocations: 0.5542 MB / 0.8591 GB, free: 19.33 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.5901, allocations: 92.31 kB / 0.8592 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.5901, allocations: 1.875 kB / 0.8592 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.273e-05/0.5901, allocations: 6.312 kB / 0.8592 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002145/0.5904, allocations: 77.67 kB / 0.8593 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.434e-05/0.5904, allocations: 9.719 kB / 0.8593 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001448/0.5905, allocations: 20.67 kB / 0.8593 GB, free: 19.23 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.666e-05/0.5905, allocations: 25.12 kB / 0.8593 GB, free: 19.23 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.0002786/0.5908, allocations: 218.7 kB / 0.8596 GB, free: 19.05 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.897e-05/0.5909, allocations: 30.78 kB / 0.8596 GB, free: 19.04 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.248e-05/0.5909, allocations: 34.81 kB / 0.8596 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.666e-06/0.5909, allocations: 4.188 kB / 0.8596 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.5909, allocations: 0 / 0.8596 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.041e-06/0.5909, allocations: 7.938 kB / 0.8596 GB, free: 19.03 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000848/0.5918, allocations: 0.7632 MB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.845e-06/0.5918, allocations: 0 / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001851/0.592, allocations: 61.86 kB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.592, allocations: 0 / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.114e-05/0.592, allocations: 13.12 kB / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.592, allocations: 0 / 0.8604 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.592, allocations: 5.203 kB / 0.8605 GB, free: 18.66 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006962/0.5927, allocations: 0.7261 MB / 0.8612 GB, free: 18.31 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.825e-05/0.5928, allocations: 25.95 kB / 0.8612 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.029e-05/0.5928, allocations: 10.47 kB / 0.8612 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/0.5929, allocations: 17.7 kB / 0.8612 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.593, allocations: 34.16 kB / 0.8612 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.162e-05/0.593, allocations: 14.03 kB / 0.8613 GB, free: 18.3 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001518/0.5932, allocations: 180.8 kB / 0.8614 GB, free: 18.21 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.5932, allocations: 0.625 kB / 0.8614 GB, free: 18.21 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002715/0.5935, allocations: 85.16 kB / 0.8615 GB, free: 18.21 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.000151/0.5936, allocations: 126.4 kB / 0.8616 GB, free: 18.13 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005806/0.5942, allocations: 0.5605 MB / 0.8622 GB, free: 17.78 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.5942, allocations: 0 / 0.8622 GB, free: 17.78 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002386/0.5944, allocations: 304.8 kB / 0.8625 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.5949, allocations: 86.58 kB / 0.8626 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.5964, allocations: 0.9661 MB / 0.8635 GB, free: 17.11 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.5965, allocations: 158.5 kB / 0.8637 GB, free: 17.03 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.824e-05/0.5966, allocations: 28.11 kB / 0.8637 GB, free: 17.02 MB / 490.8 MB Notification: Performance of SimCode: time 7.31e-07/0.5966, allocations: 0 / 0.8637 GB, free: 17.02 MB / 490.8 MB Notification: Performance of Templates: time 0.008226/0.6048, allocations: 4.033 MB / 0.8676 GB, free: 16.66 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.085750223137438]