Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.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.002049/0.002049, allocations: 84.44 kB / 19.17 MB, free: 0.7383 MB / 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.002433/0.002433, allocations: 173.9 kB / 22.46 MB, free: 2.098 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.575/1.575, allocations: 177.1 MB / 202.8 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 178] 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 1.462/1.462, allocations: 293 MB / 0.5393 GB, free: 50.09 MB / 410.7 MB " [Timeout remaining time 178] 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.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.463e-06/1.463e-06, allocations: 0 / 0.7 GB, free: 9.547 MB / 458.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.353e-05/3.5e-05, allocations: 5.516 kB / 0.7 GB, free: 9.543 MB / 458.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline): time 0.004465/0.0045, allocations: 2.709 MB / 0.7027 GB, free: 6.82 MB / 458.8 MB Notification: Performance of NFInst.instExpressions: time 0.009779/0.01428, allocations: 6.608 MB / 0.7091 GB, free: 208 kB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002546/0.01453, allocations: 4 kB / 0.7091 GB, free: 204 kB / 458.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.01471, allocations: 39.58 kB / 0.7091 GB, free: 164 kB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003326/0.01504, allocations: 126.9 kB / 0.7093 GB, free: 36 kB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.01534, allocations: 72 kB / 0.7093 GB, free: 15.96 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.00048/0.01582, allocations: 385.9 kB / 0.7097 GB, free: 15.58 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001732/0.01599, allocations: 56.89 kB / 0.7098 GB, free: 15.53 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002899/0.01628, allocations: 207.3 kB / 0.71 GB, free: 15.33 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002826/0.01656, allocations: 115.6 kB / 0.7101 GB, free: 15.21 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 5.513e-05/0.01662, allocations: 24 kB / 0.7101 GB, free: 15.19 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.718e-05/0.01667, allocations: 28 kB / 0.7101 GB, free: 15.16 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.547e-05/0.01675, allocations: 63.73 kB / 0.7102 GB, free: 15.1 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001562/0.01691, allocations: 107.7 kB / 0.7103 GB, free: 15 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004718/0.01738, allocations: 307 kB / 0.7106 GB, free: 14.7 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.01738, allocations: 0 / 0.7106 GB, free: 14.7 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.414e-06/0.01738, allocations: 0 / 0.7106 GB, free: 14.7 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.302e-06/0.01739, allocations: 3.938 kB / 0.7106 GB, free: 14.69 MB / 474.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.001315/0.01871, allocations: 0.5885 MB / 0.7112 GB, free: 14.05 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.01874, allocations: 8.031 kB / 0.7112 GB, free: 14.04 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003008/0.01904, allocations: 36.75 kB / 0.7112 GB, free: 14.01 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003488/0.01939, allocations: 220.7 kB / 0.7114 GB, free: 13.77 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.793e-05/0.01942, allocations: 16.75 kB / 0.7114 GB, free: 13.75 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.189e-05/0.01947, allocations: 24.38 kB / 0.7114 GB, free: 13.73 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005502/0.02002, allocations: 288.5 kB / 0.7117 GB, free: 13.42 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.671e-05/0.02005, allocations: 11.94 kB / 0.7117 GB, free: 13.41 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.65e-05/0.02008, allocations: 8 kB / 0.7117 GB, free: 13.4 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.02008, allocations: 4 kB / 0.7117 GB, free: 13.4 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005578/0.02064, allocations: 236.4 kB / 0.712 GB, free: 13.16 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001428/0.02207, allocations: 0.6756 MB / 0.7126 GB, free: 12.44 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.02274, allocations: 248.8 kB / 0.7129 GB, free: 12.17 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002886/0.02303, allocations: 148.5 kB / 0.713 GB, free: 12.01 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.934e-05/0.02305, allocations: 7.984 kB / 0.713 GB, free: 12 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005751/0.02363, allocations: 356.2 kB / 0.7134 GB, free: 11.61 MB / 474.8 MB Notification: Performance of pre-optimization done (n=32): time 2.034e-06/0.02363, allocations: 0 / 0.7134 GB, free: 11.61 MB / 474.8 MB Notification: Performance of matching and sorting (n=34): time 0.002558/0.02619, allocations: 1.079 MB / 0.7144 GB, free: 10.44 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001786/0.02637, allocations: 217.6 kB / 0.7146 GB, free: 10.18 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003226/0.02669, allocations: 249.9 kB / 0.7149 GB, free: 9.926 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 4.052e-05/0.02673, allocations: 33.7 kB / 0.7149 GB, free: 9.887 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/0.02687, allocations: 152.9 kB / 0.715 GB, free: 9.73 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.02699, allocations: 123 kB / 0.7151 GB, free: 9.609 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001397/0.02713, allocations: 66.2 kB / 0.7152 GB, free: 9.539 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.02733, allocations: 346.7 kB / 0.7155 GB, free: 9.191 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003694/0.0277, allocations: 203.9 kB / 0.7157 GB, free: 8.973 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/0.02817, allocations: 323.1 kB / 0.716 GB, free: 8.59 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006888/0.02885, allocations: 435 kB / 0.7165 GB, free: 8.098 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.02886, allocations: 0 / 0.7165 GB, free: 8.098 MB / 474.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009996/0.02986, allocations: 0.5536 MB / 0.717 GB, free: 7.5 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 9.132e-05/0.02995, allocations: 96.53 kB / 0.7171 GB, free: 7.391 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/0.02996, allocations: 4 kB / 0.7171 GB, free: 7.387 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.14e-05/0.02998, allocations: 4 kB / 0.7171 GB, free: 7.383 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003455/0.03033, allocations: 79.89 kB / 0.7172 GB, free: 7.305 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.153e-05/0.03034, allocations: 7.938 kB / 0.7172 GB, free: 7.297 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002432/0.03058, allocations: 19.98 kB / 0.7172 GB, free: 7.277 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/0.03061, allocations: 16 kB / 0.7172 GB, free: 7.262 MB / 474.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.0003019/0.03092, allocations: 227.1 kB / 0.7174 GB, free: 7.02 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.709e-05/0.03098, allocations: 31.81 kB / 0.7175 GB, free: 6.988 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.235e-05/0.03106, allocations: 26.97 kB / 0.7175 GB, free: 6.965 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.815e-06/0.03106, allocations: 7.984 kB / 0.7175 GB, free: 6.957 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/0.03107, allocations: 3.938 kB / 0.7175 GB, free: 6.953 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.07e-06/0.03108, allocations: 0 / 0.7175 GB, free: 6.953 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00156/0.03264, allocations: 0.7639 MB / 0.7182 GB, free: 6.129 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.728e-06/0.03264, allocations: 8 kB / 0.7183 GB, free: 6.121 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003248/0.03297, allocations: 59.89 kB / 0.7183 GB, free: 6.062 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.03297, allocations: 0 / 0.7183 GB, free: 6.062 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.735e-05/0.033, allocations: 8 kB / 0.7183 GB, free: 6.055 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.033, allocations: 4 kB / 0.7183 GB, free: 6.051 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.497e-06/0.033, allocations: 3.938 kB / 0.7183 GB, free: 6.047 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.03426, allocations: 0.7229 MB / 0.719 GB, free: 5.27 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.859e-05/0.03432, allocations: 31.88 kB / 0.7191 GB, free: 5.238 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.904e-05/0.03438, allocations: 12 kB / 0.7191 GB, free: 5.227 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000217/0.03459, allocations: 19.97 kB / 0.7191 GB, free: 5.207 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.03471, allocations: 35.89 kB / 0.7191 GB, free: 5.172 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.509e-05/0.03473, allocations: 8 kB / 0.7191 GB, free: 5.164 MB / 474.8 MB Notification: Performance of sorting global known variables: time 0.0002175/0.03495, allocations: 177.2 kB / 0.7193 GB, free: 4.992 MB / 474.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.03495, allocations: 0 / 0.7193 GB, free: 4.992 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0003812/0.03533, allocations: 91.98 kB / 0.7194 GB, free: 4.902 MB / 474.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.0001721/0.0355, allocations: 123.2 kB / 0.7195 GB, free: 4.77 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0009269/0.03643, allocations: 0.5609 MB / 0.7201 GB, free: 4.141 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.03643, allocations: 0 / 0.7201 GB, free: 4.141 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.03689, allocations: 305.5 kB / 0.7204 GB, free: 3.809 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000559/0.03745, allocations: 89.17 kB / 0.7204 GB, free: 3.719 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001694/0.03914, allocations: 0.7875 MB / 0.7212 GB, free: 2.891 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.03932, allocations: 160.3 kB / 0.7214 GB, free: 2.715 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 0.0001449/0.03947, allocations: 34.95 kB / 0.7214 GB, free: 2.684 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.357e-05/0.03955, allocations: 28.5 kB / 0.7214 GB, free: 2.656 MB / 474.8 MB Notification: Performance of SimCode: time 8.02e-07/0.03955, allocations: 0 / 0.7214 GB, free: 2.656 MB / 474.8 MB Notification: Performance of Templates: time 0.01051/0.05006, allocations: 4.543 MB / 0.7259 GB, free: 14.32 MB / 490.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA15_Omadacycline.Omadacycline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.946058433968574]