Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.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.00195/0.00195, allocations: 105.5 kB / 18.95 MB, free: 1.176 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.001976/0.001976, allocations: 214.4 kB / 22.25 MB, free: 3.582 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.708/1.708, allocations: 230.6 MB / 256 MB, free: 9.582 MB / 202.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.488/1.488, allocations: 316.7 MB / 0.6144 GB, free: 92.91 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.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin") [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.01122/0.01122, allocations: 77.91 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1722/0.1834, allocations: 73.99 MB / 0.8472 GB, free: 4.938 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin): time 0.004242/0.1877, allocations: 2.297 MB / 0.8495 GB, free: 2.641 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3982/0.5859, allocations: 6.518 MB / 0.8559 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002716/0.5862, allocations: 6.719 kB / 0.8559 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001878/0.5864, allocations: 25.02 kB / 0.8559 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002823/0.5866, allocations: 83.5 kB / 0.856 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002579/0.5869, allocations: 57.27 kB / 0.856 GB, free: 21.93 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003233/0.5872, allocations: 254.8 kB / 0.8563 GB, free: 21.91 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001559/0.5874, allocations: 35.98 kB / 0.8563 GB, free: 21.9 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001432/0.5875, allocations: 100.1 kB / 0.8564 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.5878, allocations: 95.05 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 5.116e-05/0.5878, allocations: 16.97 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.86e-05/0.5879, allocations: 20.47 kB / 0.8565 GB, free: 21.87 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 7.619e-05/0.588, allocations: 38.81 kB / 0.8566 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.5881, allocations: 92.3 kB / 0.8566 GB, free: 21.83 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003407/0.5884, allocations: 197.1 kB / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.5884, allocations: 1.688 kB / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.134e-06/0.5884, allocations: 1.875 kB / 0.8568 GB, free: 21.8 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.5885, allocations: 0 / 0.8568 GB, free: 21.8 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0009334/0.5894, allocations: 499.3 kB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5894, allocations: 13.33 kB / 0.8573 GB, free: 21.4 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.591e-05/0.5895, allocations: 24.89 kB / 0.8573 GB, free: 21.39 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002414/0.5897, allocations: 185.4 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/0.5898, allocations: 8.734 kB / 0.8575 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.277e-05/0.5898, allocations: 25.44 kB / 0.8576 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003775/0.5902, allocations: 186.8 kB / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.5902, allocations: 2.312 kB / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.977e-05/0.5902, allocations: 9.406 kB / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.5902, allocations: 0 / 0.8577 GB, free: 21.15 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003323/0.5905, allocations: 149 kB / 0.8579 GB, free: 21.11 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007511/0.5913, allocations: 481.3 kB / 0.8583 GB, free: 20.82 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004779/0.5918, allocations: 171.8 kB / 0.8585 GB, free: 20.76 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001941/0.592, allocations: 97.92 kB / 0.8586 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.271e-05/0.592, allocations: 6.188 kB / 0.8586 GB, free: 20.72 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.5923, allocations: 222.4 kB / 0.8588 GB, free: 20.57 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.5923, allocations: 3.938 kB / 0.8588 GB, free: 20.57 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001355/0.5937, allocations: 0.7001 MB / 0.8595 GB, free: 20.21 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.5937, allocations: 136.5 kB / 0.8596 GB, free: 20.06 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002126/0.5939, allocations: 215.5 kB / 0.8598 GB, free: 19.95 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.096e-05/0.5939, allocations: 33.67 kB / 0.8599 GB, free: 19.92 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.128e-05/0.594, allocations: 135.5 kB / 0.86 GB, free: 19.83 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.717e-05/0.5941, allocations: 73.62 kB / 0.8601 GB, free: 19.79 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.5941, allocations: 58.75 kB / 0.8601 GB, free: 19.77 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.979e-05/0.5942, allocations: 332.5 kB / 0.8605 GB, free: 19.45 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002178/0.5944, allocations: 145.2 kB / 0.8606 GB, free: 19.38 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002323/0.5947, allocations: 222.8 kB / 0.8608 GB, free: 19.21 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.595, allocations: 287 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.472e-06/0.595, allocations: 1.188 kB / 0.8611 GB, free: 19.04 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005514/0.5956, allocations: 383.8 kB / 0.8614 GB, free: 18.86 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/0.5956, allocations: 67.75 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5956, allocations: 6.672 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.862e-05/0.5957, allocations: 5.5 kB / 0.8615 GB, free: 18.8 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002018/0.5959, allocations: 47.91 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.5959, allocations: 3.781 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.5961, allocations: 20.72 kB / 0.8616 GB, free: 18.79 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.5961, allocations: 12.41 kB / 0.8616 GB, free: 18.79 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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001642/0.5962, allocations: 179.4 kB / 0.8618 GB, free: 18.64 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.045e-05/0.5963, allocations: 24.23 kB / 0.8618 GB, free: 18.62 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.511e-05/0.5963, allocations: 30.53 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.5963, allocations: 8.094 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.5963, allocations: 1.172 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5963, allocations: 2.078 kB / 0.8618 GB, free: 18.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007355/0.5971, allocations: 0.5401 MB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.673e-06/0.5971, allocations: 0 / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001799/0.5973, allocations: 39.05 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.5973, allocations: 0.8438 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.134e-05/0.5973, allocations: 9.516 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.5973, allocations: 4.438 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.925e-06/0.5973, allocations: 5.438 kB / 0.8624 GB, free: 18.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000754/0.598, allocations: 0.4902 MB / 0.8629 GB, free: 18.05 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.833e-05/0.5981, allocations: 21.22 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.631e-05/0.5981, allocations: 7.469 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.5983, allocations: 16.09 kB / 0.8629 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.772e-05/0.5984, allocations: 18.03 kB / 0.863 GB, free: 18.04 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.5984, allocations: 12.61 kB / 0.863 GB, free: 18.04 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001439/0.5986, allocations: 162.6 kB / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5986, allocations: 0 / 0.8631 GB, free: 17.96 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003057/0.5989, allocations: 55.44 kB / 0.8632 GB, free: 17.96 MB / 490.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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.0001435/0.599, allocations: 116.8 kB / 0.8633 GB, free: 17.87 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005689/0.5996, allocations: 384.3 kB / 0.8637 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.5996, allocations: 0 / 0.8637 GB, free: 17.64 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002502/0.5998, allocations: 171 kB / 0.8638 GB, free: 17.54 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.6003, allocations: 68.92 kB / 0.8639 GB, free: 17.53 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001303/0.6016, allocations: 0.6757 MB / 0.8645 GB, free: 17.22 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.6017, allocations: 129.2 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001121/0.6018, allocations: 19.75 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.636e-05/0.6019, allocations: 24.52 kB / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of SimCode: time 8.61e-07/0.6019, allocations: 0 / 0.8647 GB, free: 17.14 MB / 490.8 MB Notification: Performance of Templates: time 0.009059/0.611, allocations: 3.655 MB / 0.8683 GB, free: 16.81 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA09_Clarithromycin.Clarithromycin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.690448835026473]