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.002603/0.002603, 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.003425/0.003425, allocations: 170.3 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.804/1.804, allocations: 177.1 MB / 202.8 MB, free: 5.746 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.454/1.454, allocations: 293 MB / 0.5392 GB, free: 49.82 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.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 1.633e-06/1.633e-06, allocations: 0 / 0.6999 GB, free: 8.539 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.574e-05/2.737e-05, allocations: 6.219 kB / 0.7 GB, free: 8.531 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin): time 0.003069/0.003097, allocations: 2.71 MB / 0.7026 GB, free: 5.801 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.006993/0.01009, allocations: 6.611 MB / 0.7091 GB, free: 15.18 MB / 426.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002921/0.01038, allocations: 4 kB / 0.7091 GB, free: 15.18 MB / 426.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001818/0.01056, allocations: 43.56 kB / 0.7091 GB, free: 15.13 MB / 426.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003568/0.01092, allocations: 130.8 kB / 0.7092 GB, free: 15 MB / 426.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.01121, allocations: 71.84 kB / 0.7093 GB, free: 14.93 MB / 426.8 MB Notification: Performance of NFFlatten.flatten: time 0.0005108/0.01172, allocations: 397.9 kB / 0.7097 GB, free: 14.54 MB / 426.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001852/0.01191, allocations: 56.88 kB / 0.7097 GB, free: 14.49 MB / 426.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002849/0.01219, allocations: 203.6 kB / 0.7099 GB, free: 14.29 MB / 426.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005465/0.01274, allocations: 123.5 kB / 0.71 GB, free: 14.17 MB / 426.8 MB Notification: Performance of NFPackage.collectConstants: time 5.212e-05/0.01279, allocations: 24 kB / 0.7101 GB, free: 14.15 MB / 426.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.638e-05/0.01285, allocations: 24 kB / 0.7101 GB, free: 14.12 MB / 426.8 MB Notification: Performance of NFScalarize.scalarize: time 6.848e-05/0.01292, allocations: 55.7 kB / 0.7101 GB, free: 14.07 MB / 426.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001592/0.01308, allocations: 115.8 kB / 0.7102 GB, free: 13.96 MB / 426.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0004168/0.01349, allocations: 295 kB / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.0135, allocations: 0 / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of FrontEnd: time 1.202e-06/0.0135, allocations: 0 / 0.7105 GB, free: 13.67 MB / 426.8 MB Notification: Performance of Transformations before backend: time 6.523e-06/0.0135, allocations: 0 / 0.7105 GB, free: 13.67 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.001207/0.01471, allocations: 0.5963 MB / 0.7111 GB, free: 13.02 MB / 426.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.01475, allocations: 12.02 kB / 0.7111 GB, free: 13.01 MB / 426.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.546e-05/0.01484, allocations: 32.75 kB / 0.7112 GB, free: 12.98 MB / 426.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000339/0.01518, allocations: 216.8 kB / 0.7114 GB, free: 12.74 MB / 426.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.91e-05/0.0152, allocations: 12.75 kB / 0.7114 GB, free: 12.73 MB / 426.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.405e-05/0.01526, allocations: 24.38 kB / 0.7114 GB, free: 12.71 MB / 426.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005583/0.01582, allocations: 288.7 kB / 0.7117 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.071e-05/0.01584, allocations: 3.953 kB / 0.7117 GB, free: 12.4 MB / 426.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.01586, allocations: 8 kB / 0.7117 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.095e-05/0.01588, allocations: 4 kB / 0.7117 GB, free: 12.39 MB / 426.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005491/0.01642, allocations: 232.4 kB / 0.7119 GB, free: 12.14 MB / 426.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001437/0.01786, allocations: 0.6833 MB / 0.7126 GB, free: 11.42 MB / 426.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008213/0.01868, allocations: 234 kB / 0.7128 GB, free: 11.17 MB / 426.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003784/0.01906, allocations: 152.4 kB / 0.7129 GB, free: 11 MB / 426.8 MB Notification: Performance of preOpt evalFunc (simulation): time 2.228e-05/0.01908, allocations: 8 kB / 0.713 GB, free: 11 MB / 426.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007339/0.01982, allocations: 358.2 kB / 0.7133 GB, free: 10.6 MB / 426.8 MB Notification: Performance of pre-optimization done (n=32): time 2.695e-06/0.01982, allocations: 0 / 0.7133 GB, free: 10.6 MB / 426.8 MB Notification: Performance of matching and sorting (n=34): time 0.002387/0.02221, allocations: 1.076 MB / 0.7143 GB, free: 9.43 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000186/0.02239, allocations: 221.6 kB / 0.7146 GB, free: 9.164 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003263/0.02272, allocations: 241.9 kB / 0.7148 GB, free: 8.922 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.361e-05/0.02276, allocations: 37.7 kB / 0.7148 GB, free: 8.879 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001501/0.02291, allocations: 156.8 kB / 0.715 GB, free: 8.719 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001277/0.02304, allocations: 115.1 kB / 0.7151 GB, free: 8.605 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/0.02318, allocations: 70.19 kB / 0.7151 GB, free: 8.527 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0002155/0.02339, allocations: 346.8 kB / 0.7155 GB, free: 8.18 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003747/0.02377, allocations: 211.9 kB / 0.7157 GB, free: 7.953 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.02424, allocations: 315.1 kB / 0.716 GB, free: 7.586 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007245/0.02497, allocations: 431.1 kB / 0.7164 GB, free: 7.098 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.02497, allocations: 0 / 0.7164 GB, free: 7.098 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0012/0.02617, allocations: 0.5538 MB / 0.7169 GB, free: 6.5 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.96e-05/0.02626, allocations: 89.09 kB / 0.717 GB, free: 6.395 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.02627, allocations: 0 / 0.717 GB, free: 6.395 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.54e-05/0.02629, allocations: 11.98 kB / 0.717 GB, free: 6.383 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000332/0.02663, allocations: 83.77 kB / 0.7171 GB, free: 6.301 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.332e-05/0.02664, allocations: 4 kB / 0.7171 GB, free: 6.297 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002353/0.02687, allocations: 23.98 kB / 0.7171 GB, free: 6.273 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.271e-05/0.02692, allocations: 15.98 kB / 0.7172 GB, free: 6.258 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.0003219/0.02724, allocations: 238.8 kB / 0.7174 GB, free: 6.004 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.398e-05/0.02729, allocations: 27.81 kB / 0.7174 GB, free: 5.977 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.073e-05/0.02737, allocations: 34.95 kB / 0.7174 GB, free: 5.941 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.02738, allocations: 4 kB / 0.7174 GB, free: 5.938 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.047e-06/0.02739, allocations: 4 kB / 0.7174 GB, free: 5.934 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.02739, allocations: 0 / 0.7174 GB, free: 5.934 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001333/0.02873, allocations: 0.7677 MB / 0.7182 GB, free: 5.105 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.02873, allocations: 4 kB / 0.7182 GB, free: 5.102 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003022/0.02903, allocations: 47.97 kB / 0.7182 GB, free: 5.055 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.437e-06/0.02903, allocations: 4 kB / 0.7183 GB, free: 5.051 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.002e-05/0.02906, allocations: 11.98 kB / 0.7183 GB, free: 5.039 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.205e-06/0.02907, allocations: 0 / 0.7183 GB, free: 5.039 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.02907, allocations: 3.938 kB / 0.7183 GB, free: 5.035 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001253/0.03032, allocations: 0.723 MB / 0.719 GB, free: 4.254 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.918e-05/0.03038, allocations: 27.8 kB / 0.719 GB, free: 4.227 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.492e-05/0.03045, allocations: 16.06 kB / 0.719 GB, free: 4.211 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.03066, allocations: 19.98 kB / 0.719 GB, free: 4.191 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.03077, allocations: 27.89 kB / 0.7191 GB, free: 4.164 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.61e-05/0.03082, allocations: 15.98 kB / 0.7191 GB, free: 4.148 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002183/0.03103, allocations: 177.2 kB / 0.7192 GB, free: 3.977 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.03103, allocations: 0 / 0.7192 GB, free: 3.977 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.000377/0.03141, allocations: 84 kB / 0.7193 GB, free: 3.895 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.0002042/0.03162, allocations: 130.9 kB / 0.7194 GB, free: 3.762 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009443/0.03256, allocations: 0.5609 MB / 0.72 GB, free: 3.133 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.03256, allocations: 0 / 0.72 GB, free: 3.133 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.2091/0.2417, allocations: 294.2 kB / 0.7203 GB, free: 37.07 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007483/0.2424, allocations: 92.94 kB / 0.7204 GB, free: 37.07 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001466/0.2439, allocations: 0.7948 MB / 0.7211 GB, free: 36.67 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001451/0.244, allocations: 159.5 kB / 0.7213 GB, free: 36.59 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001462/0.2442, allocations: 35.17 kB / 0.7213 GB, free: 36.58 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.787e-05/0.2443, allocations: 31.28 kB / 0.7214 GB, free: 36.57 MB / 426.8 MB Notification: Performance of SimCode: time 1.112e-06/0.2443, allocations: 4 kB / 0.7214 GB, free: 36.57 MB / 426.8 MB Notification: Performance of Templates: time 0.01157/0.2558, allocations: 4.544 MB / 0.7258 GB, free: 36.17 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01M_QuinoloneAntibacterials.J01MA12_Levofloxacin.Levofloxacin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.456411957973614]