Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.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.002811/0.002811, allocations: 109.5 kB / 18.95 MB, free: 1.18 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.003594/0.003594, allocations: 213.9 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.707/1.707, allocations: 230.6 MB / 256 MB, free: 9.598 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.481/1.481, allocations: 316.7 MB / 0.6144 GB, free: 93.16 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.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=115200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral,tolerance=1e-09,outputFormat="empty",numberOfIntervals=115200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral") [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.01435/0.01435, allocations: 81.48 kB / 0.7749 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1769/0.1912, allocations: 73.99 MB / 0.8472 GB, free: 4.941 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral): time 0.004528/0.1958, allocations: 2.297 MB / 0.8494 GB, free: 2.645 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.3375/0.5333, allocations: 6.522 MB / 0.8558 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002765/0.5336, allocations: 0 / 0.8558 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001751/0.5337, allocations: 26.06 kB / 0.8558 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003122/0.534, allocations: 84.12 kB / 0.8559 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.5343, allocations: 53.38 kB / 0.856 GB, free: 21.88 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003173/0.5346, allocations: 255.3 kB / 0.8562 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001518/0.5348, allocations: 38.16 kB / 0.8563 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001535/0.5349, allocations: 99.47 kB / 0.8563 GB, free: 21.84 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002531/0.5352, allocations: 99.53 kB / 0.8564 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.735e-05/0.5352, allocations: 17.91 kB / 0.8565 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.181e-05/0.5353, allocations: 16.88 kB / 0.8565 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.463e-05/0.5353, allocations: 33.44 kB / 0.8565 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001103/0.5354, allocations: 95.31 kB / 0.8566 GB, free: 21.78 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.000301/0.5357, allocations: 201.2 kB / 0.8568 GB, free: 21.75 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.5357, allocations: 0 / 0.8568 GB, free: 21.75 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.083e-06/0.5357, allocations: 0 / 0.8568 GB, free: 21.75 MB / 490.8 MB Notification: Performance of Transformations before backend: time 8.295e-06/0.5357, allocations: 0 / 0.8568 GB, free: 21.75 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.0009175/0.5367, allocations: 0.4893 MB / 0.8573 GB, free: 21.35 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.54e-05/0.5367, allocations: 9.188 kB / 0.8573 GB, free: 21.35 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.986e-05/0.5368, allocations: 23.73 kB / 0.8573 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002699/0.537, allocations: 191.9 kB / 0.8575 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.5371, allocations: 7.359 kB / 0.8575 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.619e-05/0.5371, allocations: 22.3 kB / 0.8575 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003964/0.5375, allocations: 185.4 kB / 0.8577 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.129e-05/0.5375, allocations: 7.469 kB / 0.8577 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.5375, allocations: 7.219 kB / 0.8577 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.5376, allocations: 0.7188 kB / 0.8577 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004003/0.538, allocations: 149.4 kB / 0.8578 GB, free: 21.06 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008465/0.5388, allocations: 481.5 kB / 0.8583 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004968/0.5393, allocations: 172.1 kB / 0.8585 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001769/0.5395, allocations: 98.33 kB / 0.8586 GB, free: 20.67 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.525e-05/0.5395, allocations: 3.125 kB / 0.8586 GB, free: 20.67 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003621/0.5399, allocations: 227.4 kB / 0.8588 GB, free: 20.52 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.503e-06/0.5399, allocations: 0 / 0.8588 GB, free: 20.52 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001414/0.5413, allocations: 0.708 MB / 0.8595 GB, free: 20.16 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.094e-05/0.5413, allocations: 132.8 kB / 0.8596 GB, free: 20.01 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002008/0.5415, allocations: 213.7 kB / 0.8598 GB, free: 19.9 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.5415, allocations: 34.25 kB / 0.8598 GB, free: 19.87 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.972e-05/0.5416, allocations: 135.5 kB / 0.86 GB, free: 19.78 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.735e-05/0.5417, allocations: 72 kB / 0.86 GB, free: 19.73 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.298e-05/0.5418, allocations: 56.19 kB / 0.8601 GB, free: 19.71 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 8.578e-05/0.5418, allocations: 341.9 kB / 0.8604 GB, free: 19.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002268/0.5421, allocations: 142.7 kB / 0.8605 GB, free: 19.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002504/0.5423, allocations: 221.4 kB / 0.8608 GB, free: 19.16 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003839/0.5427, allocations: 280.3 kB / 0.861 GB, free: 18.99 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.5427, allocations: 0 / 0.861 GB, free: 18.99 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005405/0.5432, allocations: 392.2 kB / 0.8614 GB, free: 18.81 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.671e-05/0.5433, allocations: 62.41 kB / 0.8615 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.301e-05/0.5433, allocations: 7.406 kB / 0.8615 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/0.5433, allocations: 3.688 kB / 0.8615 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002343/0.5436, allocations: 51.98 kB / 0.8615 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.5436, allocations: 3.375 kB / 0.8615 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001813/0.5438, allocations: 18.86 kB / 0.8615 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.574e-05/0.5438, allocations: 17.44 kB / 0.8616 GB, free: 18.74 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.0001926/0.544, allocations: 168.3 kB / 0.8617 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.275e-05/0.544, allocations: 26.28 kB / 0.8617 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.815e-05/0.5441, allocations: 32.89 kB / 0.8618 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.17e-06/0.5441, allocations: 3.453 kB / 0.8618 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/0.5441, allocations: 0 / 0.8618 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/0.5441, allocations: 5.094 kB / 0.8618 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007545/0.5449, allocations: 0.5361 MB / 0.8623 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.5449, allocations: 8.5 kB / 0.8623 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001825/0.545, allocations: 38.98 kB / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.545, allocations: 0 / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.89e-05/0.5451, allocations: 8.844 kB / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.5451, allocations: 4.5 kB / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.32e-07/0.5451, allocations: 0 / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007041/0.5458, allocations: 498.3 kB / 0.8628 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.582e-05/0.5458, allocations: 25.33 kB / 0.8629 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.194e-05/0.5458, allocations: 10.2 kB / 0.8629 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.546, allocations: 9.734 kB / 0.8629 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.676e-05/0.5461, allocations: 24.34 kB / 0.8629 GB, free: 17.99 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.622e-05/0.5461, allocations: 10.19 kB / 0.8629 GB, free: 17.99 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001297/0.5462, allocations: 161.1 kB / 0.8631 GB, free: 17.91 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.5462, allocations: 3.406 kB / 0.8631 GB, free: 17.91 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003008/0.5465, allocations: 55.38 kB / 0.8631 GB, free: 17.91 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.0001269/0.5467, allocations: 113.5 kB / 0.8632 GB, free: 17.82 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005482/0.5472, allocations: 385.1 kB / 0.8636 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.5472, allocations: 0.9688 kB / 0.8636 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002458/0.5475, allocations: 173.4 kB / 0.8638 GB, free: 17.49 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004581/0.5479, allocations: 69.39 kB / 0.8638 GB, free: 17.48 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001383/0.5493, allocations: 0.6807 MB / 0.8645 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.5494, allocations: 122.2 kB / 0.8646 GB, free: 17.1 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001182/0.5496, allocations: 31.73 kB / 0.8646 GB, free: 17.09 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.891e-05/0.5496, allocations: 20.31 kB / 0.8647 GB, free: 17.08 MB / 490.8 MB Notification: Performance of SimCode: time 6.81e-07/0.5496, allocations: 0 / 0.8647 GB, free: 17.08 MB / 490.8 MB Notification: Performance of Templates: time 0.008747/0.5584, allocations: 3.649 MB / 0.8682 GB, free: 16.75 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01F_MacrolidesLincosamidesAndStreptogramins.J01FA02_Spiramycin.Spiramycin_Elazab2021_oral.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.7851951769553125]