Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin_Crcek2019_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.0009714/0.0009714, allocations: 104.4 kB / 19.71 MB, free: 436 kB / 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.0009404/0.0009404, allocations: 217.3 kB / 23.01 MB, free: 2.965 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 0.9559/0.9559, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] 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 0.7701/0.7701, allocations: 312.3 MB / 0.6108 GB, free: 96.96 MB / 410.7 MB " [Timeout remaining time 179] 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.J01GB03_Gentamicin.Gentamicin_Crcek2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin_Crcek2019_reference") translateModel(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin_Crcek2019_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin_Crcek2019_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.004838/0.004838, allocations: 75.22 kB / 0.7699 GB, free: 19.66 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.179/0.1838, allocations: 73.98 MB / 0.8421 GB, free: 9.809 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin_Crcek2019_reference): time 0.003177/0.187, allocations: 2.291 MB / 0.8444 GB, free: 7.523 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007409/0.1944, allocations: 6.541 MB / 0.8507 GB, free: 0.9805 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002419/0.1946, allocations: 0.625 kB / 0.8507 GB, free: 0.9805 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001699/0.1948, allocations: 28.34 kB / 0.8508 GB, free: 0.9531 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002592/0.1951, allocations: 72.03 kB / 0.8508 GB, free: 0.8828 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002525/0.1953, allocations: 52.41 kB / 0.8509 GB, free: 0.832 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.1956, allocations: 267.3 kB / 0.8511 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001762/0.1958, allocations: 33.2 kB / 0.8512 GB, free: 0.5391 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.196, allocations: 99.64 kB / 0.8513 GB, free: 452 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002241/0.1962, allocations: 96.11 kB / 0.8514 GB, free: 356 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 3.096e-05/0.1962, allocations: 16.66 kB / 0.8514 GB, free: 340 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.955e-05/0.1962, allocations: 16 kB / 0.8514 GB, free: 324 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 4.319e-05/0.1963, allocations: 40.56 kB / 0.8514 GB, free: 284 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001043/0.1964, allocations: 99.52 kB / 0.8515 GB, free: 184 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002758/0.1967, allocations: 199.8 kB / 0.8517 GB, free: 15.98 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 7.073e-06/0.1967, allocations: 0 / 0.8517 GB, free: 15.98 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.755e-06/0.1967, allocations: 0.5938 kB / 0.8517 GB, free: 15.98 MB / 490.8 MB Notification: Performance of Transformations before backend: time 9.137e-06/0.1967, allocations: 0.5 kB / 0.8517 GB, free: 15.98 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.0008367/0.1975, allocations: 494 kB / 0.8522 GB, free: 15.46 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.151e-05/0.1976, allocations: 8.625 kB / 0.8522 GB, free: 15.45 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.015e-05/0.1976, allocations: 29.28 kB / 0.8522 GB, free: 15.42 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002418/0.1979, allocations: 179.8 kB / 0.8524 GB, free: 15.22 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.1979, allocations: 20.53 kB / 0.8524 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.93e-05/0.1979, allocations: 20.52 kB / 0.8524 GB, free: 15.18 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003072/0.1982, allocations: 186.9 kB / 0.8526 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.1982, allocations: 0.625 kB / 0.8526 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/0.1983, allocations: 11.92 kB / 0.8526 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.899e-06/0.1983, allocations: 8.609 kB / 0.8526 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002298/0.1985, allocations: 139 kB / 0.8528 GB, free: 14.82 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007364/0.1992, allocations: 486.8 kB / 0.8532 GB, free: 14.31 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004119/0.1997, allocations: 173.4 kB / 0.8534 GB, free: 14.13 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001202/0.1998, allocations: 95.14 kB / 0.8535 GB, free: 14.03 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.1998, allocations: 4.594 kB / 0.8535 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002856/0.2001, allocations: 221.1 kB / 0.8537 GB, free: 13.78 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.393e-06/0.2001, allocations: 0.625 kB / 0.8537 GB, free: 13.78 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001406/0.2015, allocations: 0.7003 MB / 0.8544 GB, free: 13.02 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.773e-05/0.2016, allocations: 140.5 kB / 0.8545 GB, free: 12.85 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001735/0.2017, allocations: 219.4 kB / 0.8547 GB, free: 12.62 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.17e-05/0.2018, allocations: 34.39 kB / 0.8548 GB, free: 12.59 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.414e-05/0.2018, allocations: 132.5 kB / 0.8549 GB, free: 12.45 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.282e-05/0.2019, allocations: 64.22 kB / 0.855 GB, free: 12.39 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.508e-05/0.2019, allocations: 61.64 kB / 0.855 GB, free: 12.32 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 9.248e-05/0.202, allocations: 335.4 kB / 0.8553 GB, free: 11.99 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4036/0.6057, allocations: 146.9 kB / 0.8555 GB, free: 30.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002115/0.6059, allocations: 219.3 kB / 0.8557 GB, free: 30.14 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.6062, allocations: 278.8 kB / 0.856 GB, free: 29.98 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6062, allocations: 6.125 kB / 0.856 GB, free: 29.98 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005006/0.6067, allocations: 391.5 kB / 0.8563 GB, free: 29.82 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.785e-05/0.6067, allocations: 67.39 kB / 0.8564 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.718e-06/0.6067, allocations: 1.281 kB / 0.8564 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.137e-05/0.6068, allocations: 7.938 kB / 0.8564 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001581/0.6069, allocations: 47.59 kB / 0.8564 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.106e-05/0.6069, allocations: 8.312 kB / 0.8565 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001323/0.6071, allocations: 23.28 kB / 0.8565 GB, free: 29.76 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/0.6071, allocations: 8.641 kB / 0.8565 GB, free: 29.76 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.0002225/0.6073, allocations: 180.1 kB / 0.8567 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.384e-05/0.6073, allocations: 22.64 kB / 0.8567 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.552e-05/0.6074, allocations: 24.47 kB / 0.8567 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.6074, allocations: 10.5 kB / 0.8567 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.6074, allocations: 0.7031 kB / 0.8567 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.6074, allocations: 1.547 kB / 0.8567 GB, free: 29.61 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005882/0.608, allocations: 0.5376 MB / 0.8572 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.608, allocations: 0 / 0.8572 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001172/0.6081, allocations: 39.52 kB / 0.8573 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.6081, allocations: 3.438 kB / 0.8573 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.458e-05/0.6081, allocations: 6.953 kB / 0.8573 GB, free: 29.31 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.6081, allocations: 5.75 kB / 0.8573 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.6081, allocations: 0 / 0.8573 GB, free: 29.3 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004887/0.6086, allocations: 498.7 kB / 0.8578 GB, free: 29.08 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.643e-05/0.6087, allocations: 23.77 kB / 0.8578 GB, free: 29.08 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.6087, allocations: 7.031 kB / 0.8578 GB, free: 29.08 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.194e-05/0.6088, allocations: 16 kB / 0.8578 GB, free: 29.08 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.638e-05/0.6089, allocations: 24.75 kB / 0.8578 GB, free: 29.08 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.6089, allocations: 8.297 kB / 0.8578 GB, free: 29.08 MB / 490.8 MB Notification: Performance of sorting global known variables: time 9.88e-05/0.609, allocations: 158.4 kB / 0.858 GB, free: 29 MB / 490.8 MB Notification: Performance of sort global known variables: time 7.1e-08/0.609, allocations: 0 / 0.858 GB, free: 29 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002098/0.6092, allocations: 52.84 kB / 0.858 GB, free: 29 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.000125/0.6093, allocations: 127.5 kB / 0.8582 GB, free: 28.91 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0003817/0.6097, allocations: 377.2 kB / 0.8585 GB, free: 28.68 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.6097, allocations: 0 / 0.8585 GB, free: 28.68 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.6099, allocations: 174 kB / 0.8587 GB, free: 28.59 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.6102, allocations: 64.33 kB / 0.8588 GB, free: 28.58 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.6114, allocations: 0.6994 MB / 0.8594 GB, free: 28.27 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.32e-05/0.6115, allocations: 126.4 kB / 0.8596 GB, free: 28.2 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/0.6115, allocations: 25.84 kB / 0.8596 GB, free: 28.19 MB / 490.8 MB Notification: Performance of SimCode: time 1.122e-06/0.6115, allocations: 0 / 0.8596 GB, free: 28.19 MB / 490.8 MB Notification: Performance of Templates: time 0.006246/0.6178, allocations: 2.952 MB / 0.8625 GB, free: 27.97 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin_Crcek2019_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin_Crcek2019_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin_Crcek2019_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin_Crcek2019_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin_Crcek2019_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin_Crcek2019_reference > Pharmacolibrary_Pharmacolibrary.Drugs.J_AntiinfectivesForSystemicUse.J01G_AminoglycosideAntibacterials.J01GB03_Gentamicin.Gentamicin_Crcek2019_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.088245487771928]