Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference.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.002596/0.002596, allocations: 105.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.003313/0.003313, allocations: 214.4 kB / 22.25 MB, free: 3.578 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.704/1.704, allocations: 230.6 MB / 256 MB, free: 9.613 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.447/1.447, allocations: 316.7 MB / 0.6144 GB, free: 93.01 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.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=100800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=100800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference") [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.003959/0.003959, allocations: 77.52 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1914, allocations: 73.99 MB / 0.8472 GB, free: 4.914 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference): time 0.004791/0.1962, allocations: 2.301 MB / 0.8495 GB, free: 2.613 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.2994/0.4957, allocations: 6.521 MB / 0.8559 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001852/0.4958, allocations: 2.75 kB / 0.8559 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001553/0.496, allocations: 30 kB / 0.8559 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.4962, allocations: 82.05 kB / 0.856 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002094/0.4964, allocations: 54.91 kB / 0.856 GB, free: 22.02 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002497/0.4967, allocations: 254 kB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001294/0.4968, allocations: 41.66 kB / 0.8563 GB, free: 21.99 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001345/0.4969, allocations: 100.1 kB / 0.8564 GB, free: 21.98 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002146/0.4972, allocations: 91.77 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.529e-05/0.4972, allocations: 19.97 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.044e-05/0.4972, allocations: 14.19 kB / 0.8565 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 3.901e-05/0.4973, allocations: 43.38 kB / 0.8566 GB, free: 21.95 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 9.077e-05/0.4974, allocations: 92.31 kB / 0.8566 GB, free: 21.92 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.4976, allocations: 195.9 kB / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.4976, allocations: 3.625 kB / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.993e-06/0.4976, allocations: 1.719 kB / 0.8568 GB, free: 21.89 MB / 490.8 MB Notification: Performance of Transformations before backend: time 6.562e-06/0.4976, allocations: 3.719 kB / 0.8568 GB, free: 21.89 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.0008347/0.4984, allocations: 492.3 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.662e-05/0.4985, allocations: 8.656 kB / 0.8573 GB, free: 21.49 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.821e-05/0.4985, allocations: 25.39 kB / 0.8573 GB, free: 21.48 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.4988, allocations: 187.7 kB / 0.8575 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.903e-05/0.4988, allocations: 13.25 kB / 0.8575 GB, free: 21.32 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.166e-05/0.4988, allocations: 20.86 kB / 0.8575 GB, free: 21.31 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003411/0.4992, allocations: 191.3 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.4992, allocations: 0 / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.704e-05/0.4992, allocations: 8.188 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-06/0.4992, allocations: 3.312 kB / 0.8577 GB, free: 21.23 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003182/0.4995, allocations: 148.9 kB / 0.8579 GB, free: 21.2 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000668/0.5002, allocations: 482.9 kB / 0.8583 GB, free: 20.9 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004439/0.5007, allocations: 172.8 kB / 0.8585 GB, free: 20.85 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.5008, allocations: 95.61 kB / 0.8586 GB, free: 20.81 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.5008, allocations: 6.688 kB / 0.8586 GB, free: 20.8 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002866/0.5011, allocations: 229.1 kB / 0.8588 GB, free: 20.66 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.413e-06/0.5011, allocations: 0.5938 kB / 0.8588 GB, free: 20.66 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001332/0.5025, allocations: 0.701 MB / 0.8595 GB, free: 20.3 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.218e-05/0.5025, allocations: 134.6 kB / 0.8596 GB, free: 20.14 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002114/0.5027, allocations: 214.9 kB / 0.8598 GB, free: 20.04 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2e-05/0.5027, allocations: 34.2 kB / 0.8599 GB, free: 20.01 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.032e-05/0.5028, allocations: 133.2 kB / 0.86 GB, free: 19.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.627e-05/0.5029, allocations: 71.33 kB / 0.8601 GB, free: 19.87 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.524e-05/0.5029, allocations: 56.62 kB / 0.8601 GB, free: 19.85 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.516e-05/0.503, allocations: 340.2 kB / 0.8604 GB, free: 19.54 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002101/0.5032, allocations: 140.7 kB / 0.8606 GB, free: 19.46 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002232/0.5034, allocations: 223.7 kB / 0.8608 GB, free: 19.29 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/0.5038, allocations: 282.7 kB / 0.8611 GB, free: 19.13 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5038, allocations: 2.062 kB / 0.8611 GB, free: 19.13 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005239/0.5043, allocations: 388.8 kB / 0.8614 GB, free: 18.95 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.729e-05/0.5044, allocations: 60.78 kB / 0.8615 GB, free: 18.89 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.5044, allocations: 6 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/0.5044, allocations: 5.531 kB / 0.8615 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002105/0.5046, allocations: 53.36 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.268e-06/0.5046, allocations: 5.25 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001693/0.5048, allocations: 17.7 kB / 0.8616 GB, free: 18.88 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.129e-05/0.5048, allocations: 14.69 kB / 0.8616 GB, free: 18.88 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.0001605/0.505, allocations: 174.2 kB / 0.8618 GB, free: 18.73 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.091e-05/0.505, allocations: 29.09 kB / 0.8618 GB, free: 18.71 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.5051, allocations: 23.5 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.327e-06/0.5051, allocations: 3.188 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/0.5051, allocations: 7.406 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.5051, allocations: 3.328 kB / 0.8618 GB, free: 18.7 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006635/0.5057, allocations: 0.5365 MB / 0.8623 GB, free: 18.4 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.5057, allocations: 3.938 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001821/0.5059, allocations: 38.48 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.506e-06/0.5059, allocations: 2.375 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.5059, allocations: 4.016 kB / 0.8624 GB, free: 18.39 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.165e-06/0.5059, allocations: 10.06 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.5059, allocations: 0.6562 kB / 0.8624 GB, free: 18.38 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007035/0.5066, allocations: 0.4942 MB / 0.8629 GB, free: 18.14 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.5067, allocations: 16.83 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.413e-05/0.5067, allocations: 12.09 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001649/0.5069, allocations: 13.8 kB / 0.8629 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.472e-05/0.507, allocations: 23.3 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.691e-05/0.507, allocations: 8.141 kB / 0.863 GB, free: 18.13 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001254/0.5071, allocations: 161 kB / 0.8631 GB, free: 18.05 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.5071, allocations: 2.406 kB / 0.8631 GB, free: 18.05 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003061/0.5074, allocations: 55.34 kB / 0.8632 GB, free: 18.05 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.0001342/0.5076, allocations: 120 kB / 0.8633 GB, free: 17.96 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005457/0.5081, allocations: 384.3 kB / 0.8636 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5081, allocations: 0 / 0.8636 GB, free: 17.72 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002284/0.5083, allocations: 171.5 kB / 0.8638 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000475/0.5088, allocations: 63.23 kB / 0.8639 GB, free: 17.62 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001269/0.5101, allocations: 0.6811 MB / 0.8645 GB, free: 17.32 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001197/0.5102, allocations: 126.3 kB / 0.8647 GB, free: 17.24 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.00011/0.5103, allocations: 26.31 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.5104, allocations: 19.8 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of SimCode: time 5.01e-07/0.5104, allocations: 1.062 kB / 0.8647 GB, free: 17.23 MB / 490.8 MB Notification: Performance of Templates: time 0.0086/0.519, allocations: 3.651 MB / 0.8683 GB, free: 16.9 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB07_Netilmicin.Netilmicin_Sherwin2008_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.822418197058141]