Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.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.001774/0.001774, 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.001942/0.001942, allocations: 173.9 kB / 22.46 MB, free: 2.102 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.621/1.621, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.322/1.322, allocations: 292.9 MB / 0.5392 GB, free: 49.81 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.J01AA02_Doxycycline.Doxycycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6999 GB, free: 8.508 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.999e-05/4.159e-05, allocations: 3.688 kB / 0.6999 GB, free: 8.504 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline): time 0.003579/0.00362, allocations: 3.009 MB / 0.7028 GB, free: 5.473 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.007132/0.01075, allocations: 6.643 MB / 0.7093 GB, free: 14.82 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004346/0.01119, allocations: 4 kB / 0.7093 GB, free: 14.82 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0003163/0.0115, allocations: 35.58 kB / 0.7094 GB, free: 14.78 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0008784/0.01238, allocations: 138.8 kB / 0.7095 GB, free: 14.64 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004597/0.01284, allocations: 83.84 kB / 0.7096 GB, free: 14.56 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0009076/0.01375, allocations: 433.8 kB / 0.71 GB, free: 14.14 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002889/0.01404, allocations: 65.34 kB / 0.7101 GB, free: 14.07 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005868/0.01462, allocations: 219.5 kB / 0.7103 GB, free: 13.86 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005164/0.01514, allocations: 131.6 kB / 0.7104 GB, free: 13.73 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.01524, allocations: 32 kB / 0.7104 GB, free: 13.7 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 9.993e-05/0.01534, allocations: 32 kB / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 9.022e-05/0.01543, allocations: 63.7 kB / 0.7105 GB, free: 13.61 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0002438/0.01568, allocations: 131.6 kB / 0.7106 GB, free: 13.48 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0005792/0.01626, allocations: 358.9 kB / 0.711 GB, free: 13.12 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.067e-05/0.01627, allocations: 8 kB / 0.711 GB, free: 13.12 MB / 426.8 MB Notification: Performance of FrontEnd: time 2.274e-06/0.01627, allocations: 0 / 0.711 GB, free: 13.12 MB / 426.8 MB Notification: Performance of Transformations before backend: time 7.063e-06/0.01628, allocations: 0 / 0.711 GB, free: 13.12 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: 49 * Number of variables: 49 Notification: Performance of Generate backend data structure: time 0.001416/0.01769, allocations: 0.6037 MB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.01774, allocations: 8.031 kB / 0.7116 GB, free: 12.46 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001041/0.01784, allocations: 44.7 kB / 0.7116 GB, free: 12.41 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003838/0.01823, allocations: 216.8 kB / 0.7118 GB, free: 12.18 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.615e-05/0.01826, allocations: 16.88 kB / 0.7119 GB, free: 12.16 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.257e-05/0.01832, allocations: 28.33 kB / 0.7119 GB, free: 12.14 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006347/0.01896, allocations: 306.2 kB / 0.7122 GB, free: 11.81 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.103e-05/0.01898, allocations: 0 / 0.7122 GB, free: 11.81 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.676e-05/0.01902, allocations: 15.98 kB / 0.7122 GB, free: 11.79 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.867e-06/0.01903, allocations: 4 kB / 0.7122 GB, free: 11.79 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005647/0.01959, allocations: 248.2 kB / 0.7124 GB, free: 11.54 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001436/0.02103, allocations: 0.6504 MB / 0.7131 GB, free: 10.85 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007294/0.02176, allocations: 270 kB / 0.7133 GB, free: 10.56 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003023/0.02206, allocations: 164.4 kB / 0.7135 GB, free: 10.39 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.02208, allocations: 7.938 kB / 0.7135 GB, free: 10.38 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005999/0.02268, allocations: 367.5 kB / 0.7138 GB, free: 9.969 MB / 426.8 MB Notification: Performance of pre-optimization done (n=33): time 1.893e-06/0.02268, allocations: 4 kB / 0.7138 GB, free: 9.965 MB / 426.8 MB Notification: Performance of matching and sorting (n=35): time 0.002497/0.02518, allocations: 1.143 MB / 0.715 GB, free: 8.727 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001848/0.02536, allocations: 217.6 kB / 0.7152 GB, free: 8.465 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003514/0.02571, allocations: 249.9 kB / 0.7154 GB, free: 8.215 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.586e-05/0.02576, allocations: 33.7 kB / 0.7154 GB, free: 8.176 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.02591, allocations: 160.8 kB / 0.7156 GB, free: 8.012 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001301/0.02604, allocations: 119.1 kB / 0.7157 GB, free: 7.895 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001365/0.02618, allocations: 70.19 kB / 0.7158 GB, free: 7.82 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002134/0.02639, allocations: 342.8 kB / 0.7161 GB, free: 7.477 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007105/0.02711, allocations: 227.8 kB / 0.7163 GB, free: 7.234 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004768/0.02758, allocations: 326.9 kB / 0.7166 GB, free: 6.848 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007508/0.02833, allocations: 458.1 kB / 0.7171 GB, free: 6.332 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.02834, allocations: 4 kB / 0.7171 GB, free: 6.328 MB / 426.8 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001057/0.02939, allocations: 0.5732 MB / 0.7176 GB, free: 5.711 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.0295, allocations: 93.14 kB / 0.7177 GB, free: 5.602 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/0.02952, allocations: 4 kB / 0.7177 GB, free: 5.598 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.423e-05/0.02955, allocations: 7.984 kB / 0.7177 GB, free: 5.59 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003708/0.02992, allocations: 79.89 kB / 0.7178 GB, free: 5.512 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.316e-05/0.02993, allocations: 4 kB / 0.7178 GB, free: 5.508 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/0.03017, allocations: 23.92 kB / 0.7178 GB, free: 5.484 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/0.03022, allocations: 20 kB / 0.7178 GB, free: 5.465 MB / 426.8 MB Warning: Assuming fixed start value for the following 2 variables: periodicDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real periodicDose.route.variableDose.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 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.route.absorptionLumen.Cmin,$PRE.periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.Cmax,$PRE.periodicDose.route.absorptionLumen.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,periodicDose.route.absorptionLumen.rising,$PRE.periodicDose.route.absorptionLumen.rising,central.rising,$PRE.central.rising,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (50): * Single equations (assignments): 47 * 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.000389/0.03061, allocations: 249.5 kB / 0.7181 GB, free: 5.203 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.03067, allocations: 31.81 kB / 0.7181 GB, free: 5.172 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.161e-05/0.03075, allocations: 26.97 kB / 0.7181 GB, free: 5.145 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.03075, allocations: 4 kB / 0.7181 GB, free: 5.141 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/0.03076, allocations: 3.984 kB / 0.7181 GB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.281e-06/0.03077, allocations: 0 / 0.7181 GB, free: 5.137 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/0.03219, allocations: 0.8206 MB / 0.7189 GB, free: 4.258 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/0.0322, allocations: 8 kB / 0.719 GB, free: 4.25 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003305/0.03253, allocations: 63.89 kB / 0.719 GB, free: 4.188 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.03253, allocations: 0 / 0.719 GB, free: 4.188 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/0.03256, allocations: 8 kB / 0.719 GB, free: 4.18 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.03257, allocations: 4 kB / 0.719 GB, free: 4.176 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.03257, allocations: 0 / 0.719 GB, free: 4.176 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001309/0.03388, allocations: 0.7639 MB / 0.7198 GB, free: 3.359 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/0.03401, allocations: 55.78 kB / 0.7198 GB, free: 3.305 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.229e-05/0.03408, allocations: 19.98 kB / 0.7198 GB, free: 3.285 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.03429, allocations: 15.98 kB / 0.7199 GB, free: 3.27 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.0344, allocations: 31.95 kB / 0.7199 GB, free: 3.238 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.67e-05/0.03444, allocations: 11.94 kB / 0.7199 GB, free: 3.227 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002233/0.03466, allocations: 185.2 kB / 0.7201 GB, free: 3.047 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.03466, allocations: 0 / 0.7201 GB, free: 3.047 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.2566/0.2913, allocations: 85.14 kB / 0.7202 GB, free: 37.15 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,periodicDose.route.variableDose.TotalCumulativeMass,periodicDose.route.absorptionLumen.C,periodicDose.route.absorptionLumen.AUC) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,central.Cmax,central.Cmin,central.rising,periodicDose.route.absorptionLumen.Cmax,periodicDose.route.absorptionLumen.Cmin,periodicDose.route.absorptionLumen.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 11 (periodicDose.pulse.count,central.Cmin,$whenCondition5,central.Cmax,$whenCondition4,central.rising,periodicDose.route.absorptionLumen.Cmin,$whenCondition3,periodicDose.route.absorptionLumen.Cmax,$whenCondition2,periodicDose.route.absorptionLumen.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 25 * 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.000175/0.2915, allocations: 131.4 kB / 0.7203 GB, free: 37.07 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008041/0.2923, allocations: 0.588 MB / 0.7209 GB, free: 36.72 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.2923, allocations: 0 / 0.7209 GB, free: 36.72 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0003451/0.2926, allocations: 313.7 kB / 0.7212 GB, free: 36.53 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005643/0.2932, allocations: 92.17 kB / 0.7212 GB, free: 36.53 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001513/0.2947, allocations: 0.8589 MB / 0.7221 GB, free: 36.09 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001892/0.2949, allocations: 168 kB / 0.7222 GB, free: 36.01 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001739/0.2951, allocations: 34.59 kB / 0.7223 GB, free: 36 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.669e-05/0.2951, allocations: 32.53 kB / 0.7223 GB, free: 36 MB / 426.8 MB Notification: Performance of SimCode: time 6.71e-07/0.2951, allocations: 0 / 0.7223 GB, free: 36 MB / 426.8 MB Notification: Performance of Templates: time 0.01157/0.3067, allocations: 4.834 MB / 0.727 GB, free: 35.54 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01A_Tetracyclines.J01AA02_Doxycycline.Doxycycline.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.059331289958209]