Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.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.001484/0.001484, allocations: 91.55 kB / 20.19 MB, free: 4.348 MB / 18.57 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.001214/0.001214, allocations: 169 kB / 23.5 MB, free: 1.043 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 0.9647/0.9647, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/Examples/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: Paracetamol_Experiment Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.0/package.mo): time 1.617/1.617, allocations: 273.5 MB / 0.5213 GB, free: 14.76 MB / 458.7 MB " [Timeout remaining time 178] Using package Pharmacolibrary with version 25.09 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Pharmacolibrary 25.9.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.Examples.PKPG_1C_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin") translateModel(Pharmacolibrary.Examples.PKPG_1C_Gentamicin,tolerance=1e-06,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.392e-06/1.392e-06, allocations: 0 / 0.647 GB, free: 38.62 MB / 0.5262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.068e-05/2.207e-05, allocations: 2.312 kB / 0.647 GB, free: 38.62 MB / 0.5262 GB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.PKPG_1C_Gentamicin): time 0.002488/0.00251, allocations: 2.488 MB / 0.6494 GB, free: 37.02 MB / 0.5262 GB Notification: Performance of NFInst.instExpressions: time 0.001001/0.003511, allocations: 0.9351 MB / 0.6503 GB, free: 36.43 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.119e-05/0.003592, allocations: 8.125 kB / 0.6503 GB, free: 36.42 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003339/0.003926, allocations: 107.8 kB / 0.6504 GB, free: 36.38 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 9.9e-05/0.004025, allocations: 80.34 kB / 0.6505 GB, free: 36.35 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.004312, allocations: 146.8 kB / 0.6507 GB, free: 36.28 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.000224/0.004536, allocations: 286.4 kB / 0.6509 GB, free: 36.16 MB / 0.5262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.004648, allocations: 52.41 kB / 0.651 GB, free: 36.12 MB / 0.5262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.004769, allocations: 145.7 kB / 0.6511 GB, free: 36.07 MB / 0.5262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.004903, allocations: 90.89 kB / 0.6512 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of NFPackage.collectConstants: time 2.913e-05/0.004933, allocations: 21.66 kB / 0.6512 GB, free: 36.04 MB / 0.5262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.00509, allocations: 171.7 kB / 0.6514 GB, free: 35.98 MB / 0.5262 GB Notification: Performance of NFScalarize.scalarize: time 6.145e-05/0.005151, allocations: 64.25 kB / 0.6515 GB, free: 35.94 MB / 0.5262 GB Notification: Performance of NFVerifyModel.verify: time 8.065e-05/0.005232, allocations: 80.14 kB / 0.6515 GB, free: 35.91 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.0003049/0.005537, allocations: 331.3 kB / 0.6518 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 2.465e-06/0.005539, allocations: 2.188 kB / 0.6518 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of FrontEnd: time 7.81e-07/0.00554, allocations: 1.5 kB / 0.6518 GB, free: 35.76 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.005545, allocations: 0 / 0.6518 GB, free: 35.76 MB / 0.5262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 40 * Number of variables: 40 Notification: Performance of Generate backend data structure: time 0.0006334/0.006178, allocations: 0.7056 MB / 0.6525 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.577e-05/0.006214, allocations: 7.375 kB / 0.6525 GB, free: 35.12 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000213/0.006427, allocations: 109.8 kB / 0.6527 GB, free: 35.09 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.006664, allocations: 232 kB / 0.6529 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.00668, allocations: 12.06 kB / 0.6529 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.006712, allocations: 16.12 kB / 0.6529 GB, free: 34.89 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002426/0.006954, allocations: 256.5 kB / 0.6531 GB, free: 34.71 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.006966, allocations: 7.875 kB / 0.6532 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.567e-05/0.006982, allocations: 7.719 kB / 0.6532 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.776e-06/0.006991, allocations: 4.406 kB / 0.6532 GB, free: 34.7 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001427/0.007133, allocations: 173.6 kB / 0.6533 GB, free: 34.59 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005907/0.007724, allocations: 0.5188 MB / 0.6538 GB, free: 34.21 MB / 0.5262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.007943, allocations: 218.2 kB / 0.654 GB, free: 34.05 MB / 0.5262 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.336e-05/0.008027, allocations: 146.5 kB / 0.6542 GB, free: 33.93 MB / 0.5262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.608e-06/0.008036, allocations: 3.469 kB / 0.6542 GB, free: 33.93 MB / 0.5262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000202/0.008238, allocations: 285.4 kB / 0.6545 GB, free: 33.7 MB / 0.5262 GB Notification: Performance of pre-optimization done (n=26): time 2.034e-06/0.00824, allocations: 0 / 0.6545 GB, free: 33.7 MB / 0.5262 GB Notification: Performance of matching and sorting (n=27): time 0.001024/0.009264, allocations: 1.101 MB / 0.6555 GB, free: 32.87 MB / 0.5262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.009304, allocations: 192.9 kB / 0.6557 GB, free: 32.64 MB / 0.5262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.009487, allocations: 317.6 kB / 0.656 GB, free: 32.43 MB / 0.5262 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.009503, allocations: 34.64 kB / 0.6561 GB, free: 32.39 MB / 0.5262 GB Notification: Performance of collectInitialEqns (initialization): time 7.117e-05/0.009574, allocations: 204 kB / 0.6562 GB, free: 32.21 MB / 0.5262 GB Notification: Performance of collectInitialBindings (initialization): time 4.734e-05/0.009622, allocations: 93.53 kB / 0.6563 GB, free: 32.14 MB / 0.5262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.139e-05/0.009703, allocations: 66.36 kB / 0.6564 GB, free: 32.1 MB / 0.5262 GB Notification: Performance of setup shared object (initialization): time 7.629e-05/0.009779, allocations: 0.5249 MB / 0.6569 GB, free: 31.59 MB / 0.5262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001383/0.009918, allocations: 186.2 kB / 0.6571 GB, free: 31.43 MB / 0.5262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001586/0.01008, allocations: 273.9 kB / 0.6574 GB, free: 31.16 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003743/0.01045, allocations: 0.5607 MB / 0.6579 GB, free: 30.66 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.01045, allocations: 2 kB / 0.6579 GB, free: 30.66 MB / 0.5262 GB Notification: Performance of matching and sorting (n=38) (initialization): time 0.0004616/0.01091, allocations: 0.5386 MB / 0.6584 GB, free: 30.28 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 4.518e-05/0.01096, allocations: 123.7 kB / 0.6585 GB, free: 30.15 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.72e-06/0.01097, allocations: 5.312 kB / 0.6586 GB, free: 30.15 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.01098, allocations: 8.156 kB / 0.6586 GB, free: 30.14 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000153/0.01113, allocations: 51.47 kB / 0.6586 GB, free: 30.14 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.01114, allocations: 6.844 kB / 0.6586 GB, free: 30.14 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.444e-05/0.01123, allocations: 15.22 kB / 0.6586 GB, free: 30.13 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.01128, allocations: 50.61 kB / 0.6587 GB, free: 30.13 MB / 0.5262 GB Warning: Assuming fixed start value for the following 6 variables: singleDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real singleDose.variableDose.TotalCumulativeMass:VARIABLE(min = -1e-12 unit = \"kg\" fixed = true ) \"Total dose adminitrated by this source\" type: Real central.AUC:VARIABLE(unit = \"kg.s/m3\" fixed = true ) \"area under curve\" type: Real central.Cmin:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.Cmax:DISCRETE(min = -1e-9 unit = \"kg/m3\" fixed = true ) type: Real central.rising:DISCRETE(fixed = true protected = true ) type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.central.Cmin,central.Cmin,$PRE.central.Cmax,central.Cmax,$PRE.central.rising,$PRE.singleDose.pulse.count,$PRE.singleDose.pulse.T_start,CYP2C19.status,SLC22A2.status,central.rising,singleDose.pulse.count,singleDose.pulse.T_start,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 4 * 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.000159/0.01144, allocations: 287.2 kB / 0.659 GB, free: 29.86 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.874e-05/0.01153, allocations: 88.33 kB / 0.659 GB, free: 29.83 MB / 0.5262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.316e-05/0.01156, allocations: 32.48 kB / 0.6591 GB, free: 29.81 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.01157, allocations: 3.938 kB / 0.6591 GB, free: 29.8 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01157, allocations: 0 / 0.6591 GB, free: 29.8 MB / 0.5262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.216e-05/0.01159, allocations: 22.84 kB / 0.6591 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.007e-05/0.01162, allocations: 9.625 kB / 0.6591 GB, free: 29.79 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.722e-05/0.01169, allocations: 18.77 kB / 0.6591 GB, free: 29.78 MB / 0.5262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.089e-05/0.01175, allocations: 21.7 kB / 0.6591 GB, free: 29.78 MB / 0.5262 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004032/0.01215, allocations: 0.5398 MB / 0.6597 GB, free: 29.38 MB / 0.5262 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0005171/0.01267, allocations: 0.9017 MB / 0.6605 GB, free: 28.69 MB / 0.5262 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001208/0.01279, allocations: 189.2 kB / 0.6607 GB, free: 28.55 MB / 0.5262 GB Notification: Performance of sorting global known variables: time 9.994e-05/0.01289, allocations: 211.2 kB / 0.6609 GB, free: 28.41 MB / 0.5262 GB Notification: Performance of Backend: time 3.8e-07/0.01289, allocations: 0 / 0.6609 GB, free: 28.41 MB / 0.5262 GB Notification: Performance of simCode: created initialization part: time 0.000607/0.0135, allocations: 0.5985 MB / 0.6615 GB, free: 27.9 MB / 0.5262 GB Notification: Performance of SimCode: time 0.001425/0.01492, allocations: 1.518 MB / 0.663 GB, free: 26.59 MB / 0.5262 GB Notification: Performance of Templates: time 0.006585/0.02151, allocations: 4.644 MB / 0.6675 GB, free: 26.2 MB / 0.5262 GB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.PKPG_1C_Gentamicin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.918974932050332]