Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.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.001111/0.001111, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001646/0.002757, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001099/0.001099, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00169/0.002788, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.8995/0.8995, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07582/0.9753, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.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 4.715/4.715, allocations: 291.1 MB / 0.5227 GB, free: 52.45 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03024/4.745, allocations: 21.04 MB / 0.5433 GB, free: 31.47 MB / 410.7 MB " [Timeout remaining time 175] 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.Examples.Gentamicin.Gentamicin_lower_adult,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult") translateModel(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.725e-06/2.725e-06, allocations: 4 kB / 0.5447 GB, free: 30.08 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.744e-05, allocations: 6.312 kB / 0.5447 GB, free: 30.07 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult): time 0.003584/0.003602, allocations: 2.468 MB / 0.5471 GB, free: 27.59 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001013/0.004615, allocations: 0.6233 MB / 0.5477 GB, free: 26.97 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.686e-05/0.004702, allocations: 11.94 kB / 0.5477 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.268e-05/0.004765, allocations: 23.78 kB / 0.5477 GB, free: 26.93 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001495/0.004914, allocations: 79.27 kB / 0.5478 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001282/0.005042, allocations: 59.86 kB / 0.5479 GB, free: 26.8 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.005249, allocations: 262.6 kB / 0.5481 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.472e-05/0.005343, allocations: 46.47 kB / 0.5482 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00019/0.005533, allocations: 172.1 kB / 0.5483 GB, free: 26.33 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001623/0.005696, allocations: 91.72 kB / 0.5484 GB, free: 26.24 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.315e-05/0.005729, allocations: 16 kB / 0.5484 GB, free: 26.22 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.339e-05/0.005762, allocations: 16 kB / 0.5484 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.054e-05/0.005793, allocations: 27.88 kB / 0.5485 GB, free: 26.18 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.598e-05/0.005859, allocations: 67.81 kB / 0.5485 GB, free: 26.11 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001807/0.006039, allocations: 131.5 kB / 0.5486 GB, free: 25.98 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.006048, allocations: 4 kB / 0.5487 GB, free: 25.98 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.31e-07/0.006048, allocations: 0 / 0.5487 GB, free: 25.98 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.167e-06/0.006058, allocations: 0 / 0.5487 GB, free: 25.98 MB / 410.7 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.0005308/0.006588, allocations: 0.4976 MB / 0.5491 GB, free: 25.45 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.79e-05/0.006616, allocations: 8.031 kB / 0.5491 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.635e-05/0.006673, allocations: 32.16 kB / 0.5492 GB, free: 25.41 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.006831, allocations: 166.2 kB / 0.5493 GB, free: 25.22 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.037e-05/0.006851, allocations: 8.609 kB / 0.5493 GB, free: 25.21 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.142e-05/0.006882, allocations: 20.36 kB / 0.5494 GB, free: 25.19 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001882/0.007071, allocations: 155.1 kB / 0.5495 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.007082, allocations: 7.938 kB / 0.5495 GB, free: 25.02 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.173e-05/0.007094, allocations: 4 kB / 0.5495 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.007101, allocations: 8 kB / 0.5495 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.672e-05/0.007198, allocations: 78.28 kB / 0.5496 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.007654, allocations: 361 kB / 0.5499 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000201/0.007855, allocations: 104.2 kB / 0.55 GB, free: 24.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.545e-05/0.007911, allocations: 62.53 kB / 0.5501 GB, free: 24.37 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.028e-05/0.007921, allocations: 7.938 kB / 0.5501 GB, free: 24.36 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000154/0.008075, allocations: 192.4 kB / 0.5503 GB, free: 24.14 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.433e-06/0.008076, allocations: 0 / 0.5503 GB, free: 24.14 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006479/0.008724, allocations: 0.5211 MB / 0.5508 GB, free: 23.56 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.107e-05/0.008765, allocations: 162.2 kB / 0.551 GB, free: 23.36 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.00888, allocations: 191.2 kB / 0.5511 GB, free: 23.16 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/0.0089, allocations: 33.7 kB / 0.5512 GB, free: 23.12 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.007e-05/0.00895, allocations: 124.4 kB / 0.5513 GB, free: 23 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.008991, allocations: 67.42 kB / 0.5514 GB, free: 22.93 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.653e-05/0.009058, allocations: 59.17 kB / 0.5514 GB, free: 22.87 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.716e-05/0.009115, allocations: 342.7 kB / 0.5517 GB, free: 22.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.00919, allocations: 96.94 kB / 0.5518 GB, free: 22.41 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.53e-05/0.009285, allocations: 177.3 kB / 0.552 GB, free: 22.2 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.009439, allocations: 215.7 kB / 0.5522 GB, free: 21.94 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.009441, allocations: 0 / 0.5522 GB, free: 21.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002432/0.009684, allocations: 262.7 kB / 0.5525 GB, free: 21.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.895e-05/0.009723, allocations: 63.39 kB / 0.5525 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.205e-06/0.009731, allocations: 4 kB / 0.5525 GB, free: 21.58 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/0.009746, allocations: 4 kB / 0.5525 GB, free: 21.57 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.00997, allocations: 60.12 kB / 0.5526 GB, free: 21.52 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.009977, allocations: 15.92 kB / 0.5526 GB, free: 21.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000119/0.0101, allocations: 12 kB / 0.5526 GB, free: 21.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.818e-05/0.01011, allocations: 12 kB / 0.5526 GB, free: 21.48 MB / 410.7 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.0001324/0.01025, allocations: 171.9 kB / 0.5528 GB, free: 21.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.135e-05/0.01028, allocations: 23.97 kB / 0.5528 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.749e-05/0.01032, allocations: 17.97 kB / 0.5528 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.01032, allocations: 4 kB / 0.5528 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-06/0.01032, allocations: 4 kB / 0.5528 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.01033, allocations: 7.922 kB / 0.5528 GB, free: 21.24 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003515/0.01068, allocations: 377.7 kB / 0.5532 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01068, allocations: 0 / 0.5532 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001706/0.01085, allocations: 35.97 kB / 0.5532 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.96e-05/0.01088, allocations: 19.86 kB / 0.5533 GB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.027e-06/0.01089, allocations: 3.938 kB / 0.5533 GB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.704e-05/0.0109, allocations: 11.98 kB / 0.5533 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.0109, allocations: 0 / 0.5533 GB, free: 20.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.01091, allocations: 4 kB / 0.5533 GB, free: 20.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002866/0.01119, allocations: 345 kB / 0.5536 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.01123, allocations: 8 kB / 0.5536 GB, free: 20.38 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001192/0.01135, allocations: 12 kB / 0.5536 GB, free: 20.37 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001272/0.01147, allocations: 27.89 kB / 0.5537 GB, free: 20.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.921e-05/0.01149, allocations: 0 / 0.5537 GB, free: 20.34 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.78e-05/0.01159, allocations: 67.08 kB / 0.5537 GB, free: 20.28 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01159, allocations: 0 / 0.5537 GB, free: 20.28 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003116/0.0119, allocations: 52 kB / 0.5538 GB, free: 20.23 MB / 410.7 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.0001139/0.01202, allocations: 88.42 kB / 0.5538 GB, free: 20.13 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001962/0.01221, allocations: 308.6 kB / 0.5541 GB, free: 19.79 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.01222, allocations: 0 / 0.5541 GB, free: 19.79 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.453e-05/0.0123, allocations: 161.7 kB / 0.5543 GB, free: 19.61 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003441/0.01265, allocations: 0.5138 MB / 0.5548 GB, free: 19 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005617/0.01826, allocations: 0.5465 MB / 0.5553 GB, free: 18.43 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.631e-05/0.01832, allocations: 80.33 kB / 0.5554 GB, free: 18.33 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001125/0.01843, allocations: 21.95 kB / 0.5554 GB, free: 18.3 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001349/0.01857, allocations: 119.3 kB / 0.5555 GB, free: 18.19 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01857, allocations: 0 / 0.5555 GB, free: 18.19 MB / 410.7 MB Notification: Performance of Templates: time 0.2529/0.2714, allocations: 3.755 MB / 0.5592 GB, free: 84.72 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.399514302611351]