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.0009116/0.0009116, 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.0008849/0.0008849, allocations: 166.3 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.104/1.104, allocations: 177.1 MB / 203.5 MB, free: 5.395 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.7191/0.7191, allocations: 291.2 MB / 0.5382 GB, free: 51.61 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: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.6974 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.46e-05/3.667e-05, allocations: 2.281 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): time 0.004053/0.00409, allocations: 2.711 MB / 0.7001 GB, free: 7.648 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007439/0.01153, allocations: 6.611 MB / 0.7065 GB, free: 1.027 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.0119, allocations: 4 kB / 0.7065 GB, free: 1.023 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002203/0.01212, allocations: 43.62 kB / 0.7066 GB, free: 0.9805 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0004385/0.01255, allocations: 115 kB / 0.7067 GB, free: 0.8672 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003539/0.01291, allocations: 75.78 kB / 0.7068 GB, free: 0.793 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0004169/0.01333, allocations: 393.9 kB / 0.7071 GB, free: 416 kB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002205/0.01355, allocations: 64.81 kB / 0.7072 GB, free: 356 kB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002665/0.01381, allocations: 211.4 kB / 0.7074 GB, free: 144 kB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002668/0.01408, allocations: 123.5 kB / 0.7075 GB, free: 20 kB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 6.797e-05/0.01415, allocations: 24.05 kB / 0.7075 GB, free: 15.99 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.858e-05/0.0142, allocations: 28 kB / 0.7076 GB, free: 15.96 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 5.047e-05/0.01425, allocations: 51.72 kB / 0.7076 GB, free: 15.92 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001263/0.01437, allocations: 115.7 kB / 0.7077 GB, free: 15.8 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004016/0.01477, allocations: 287.1 kB / 0.708 GB, free: 15.52 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.376e-06/0.01478, allocations: 0 / 0.708 GB, free: 15.52 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.994e-06/0.01478, allocations: 0 / 0.708 GB, free: 15.52 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.01479, allocations: 0 / 0.708 GB, free: 15.52 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.001045/0.01583, allocations: 0.5925 MB / 0.7086 GB, free: 14.88 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.01588, allocations: 12.03 kB / 0.7086 GB, free: 14.87 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.77e-05/0.01597, allocations: 32.75 kB / 0.7086 GB, free: 14.84 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000311/0.01628, allocations: 216.7 kB / 0.7088 GB, free: 14.6 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.048e-05/0.01631, allocations: 16.73 kB / 0.7088 GB, free: 14.59 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.782e-05/0.01637, allocations: 24.38 kB / 0.7089 GB, free: 14.56 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004863/0.01685, allocations: 296.7 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/0.01687, allocations: 3.953 kB / 0.7091 GB, free: 14.25 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.01689, allocations: 12 kB / 0.7092 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.0169, allocations: 4 kB / 0.7092 GB, free: 14.23 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003163/0.01722, allocations: 232.5 kB / 0.7094 GB, free: 13.99 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.01838, allocations: 0.6718 MB / 0.71 GB, free: 13.28 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005644/0.01894, allocations: 242.6 kB / 0.7103 GB, free: 13.02 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002204/0.01916, allocations: 152.4 kB / 0.7104 GB, free: 12.85 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.01918, allocations: 0 / 0.7104 GB, free: 12.85 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004365/0.01961, allocations: 361.6 kB / 0.7108 GB, free: 12.45 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.645e-06/0.01961, allocations: 4 kB / 0.7108 GB, free: 12.45 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.001823/0.02144, allocations: 1.08 MB / 0.7118 GB, free: 11.28 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001243/0.02156, allocations: 221.6 kB / 0.712 GB, free: 11.01 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002625/0.02182, allocations: 241.9 kB / 0.7123 GB, free: 10.77 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.02186, allocations: 41.7 kB / 0.7123 GB, free: 10.72 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001122/0.02197, allocations: 160.8 kB / 0.7125 GB, free: 10.56 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 6.666e-05/0.02204, allocations: 115.1 kB / 0.7126 GB, free: 10.45 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.02214, allocations: 74.12 kB / 0.7126 GB, free: 10.36 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001359/0.02228, allocations: 346.8 kB / 0.713 GB, free: 10.02 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003072/0.02259, allocations: 207.9 kB / 0.7132 GB, free: 9.793 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003181/0.02291, allocations: 311.2 kB / 0.7135 GB, free: 9.43 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005856/0.02349, allocations: 435 kB / 0.7139 GB, free: 8.938 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.02349, allocations: 0 / 0.7139 GB, free: 8.938 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0007674/0.02426, allocations: 0.5497 MB / 0.7144 GB, free: 8.344 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.039e-05/0.02433, allocations: 89.09 kB / 0.7145 GB, free: 8.238 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.02434, allocations: 4 kB / 0.7145 GB, free: 8.234 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.02437, allocations: 4.344 kB / 0.7145 GB, free: 8.23 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002848/0.02465, allocations: 87.83 kB / 0.7146 GB, free: 8.145 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.241e-05/0.02466, allocations: 4 kB / 0.7146 GB, free: 8.141 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/0.02488, allocations: 27.92 kB / 0.7146 GB, free: 8.113 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.308e-05/0.02491, allocations: 15.98 kB / 0.7146 GB, free: 8.098 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.0003178/0.02523, allocations: 223.1 kB / 0.7148 GB, free: 7.855 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5e-05/0.02528, allocations: 31.81 kB / 0.7149 GB, free: 7.824 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.104e-05/0.02534, allocations: 34.95 kB / 0.7149 GB, free: 7.789 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.02535, allocations: 4 kB / 0.7149 GB, free: 7.785 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/0.02536, allocations: 0 / 0.7149 GB, free: 7.785 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.02536, allocations: 0 / 0.7149 GB, free: 7.785 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001104/0.02647, allocations: 0.7639 MB / 0.7157 GB, free: 6.961 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.28e-06/0.02647, allocations: 3.984 kB / 0.7157 GB, free: 6.957 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002342/0.02671, allocations: 55.91 kB / 0.7157 GB, free: 6.902 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.622e-06/0.02671, allocations: 0 / 0.7157 GB, free: 6.902 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.603e-05/0.02674, allocations: 11.94 kB / 0.7157 GB, free: 6.891 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.132e-06/0.02674, allocations: 11.98 kB / 0.7157 GB, free: 6.879 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.419e-06/0.02675, allocations: 3.938 kB / 0.7157 GB, free: 6.875 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009284/0.02768, allocations: 0.7153 MB / 0.7164 GB, free: 6.102 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.259e-05/0.02774, allocations: 27.8 kB / 0.7165 GB, free: 6.074 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.803e-05/0.0278, allocations: 16.06 kB / 0.7165 GB, free: 6.059 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/0.02797, allocations: 15.98 kB / 0.7165 GB, free: 6.043 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.02809, allocations: 31.89 kB / 0.7165 GB, free: 6.012 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.475e-05/0.02811, allocations: 16 kB / 0.7165 GB, free: 5.996 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001853/0.0283, allocations: 185.1 kB / 0.7167 GB, free: 5.816 MB / 426.8 MB Notification: Performance of sort global known variables: time 3.2e-07/0.0283, allocations: 0 / 0.7167 GB, free: 5.816 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0004119/0.02871, allocations: 84 kB / 0.7168 GB, free: 5.734 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.0001819/0.02889, allocations: 119 kB / 0.7169 GB, free: 5.613 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000822/0.02972, allocations: 0.565 MB / 0.7175 GB, free: 4.98 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.02972, allocations: 0 / 0.7175 GB, free: 4.98 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003188/0.03004, allocations: 305.8 kB / 0.7178 GB, free: 4.648 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005473/0.03059, allocations: 88.88 kB / 0.7178 GB, free: 4.562 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.03209, allocations: 0.8241 MB / 0.7186 GB, free: 3.695 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.03224, allocations: 160.3 kB / 0.7188 GB, free: 3.516 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.904e-05/0.03233, allocations: 32.5 kB / 0.7188 GB, free: 3.484 MB / 426.8 MB Notification: Performance of SimCode: time 1.382e-06/0.03233, allocations: 4 kB / 0.7188 GB, free: 3.48 MB / 426.8 MB Notification: Performance of Templates: time 0.2316/0.2639, allocations: 4.01 MB / 0.7228 GB, free: 37.13 MB / 426.8 MB " [Timeout remaining time 660] 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: 5.84688754286617]