Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_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.0006405/0.0006405, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001291/0.001932, allocations: 435.8 kB / 10.31 MB, free: 384 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.001032/0.001032, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001305/0.002337, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.9307/0.9307, allocations: 177.1 MB / 189.5 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08915/1.02, allocations: 53.66 MB / 243.2 MB, free: 15.6 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 1.372/1.372, allocations: 291.2 MB / 0.5225 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04345/1.416, allocations: 21.05 MB / 0.5431 GB, free: 31.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.Examples.Gentamicin.Gentamicin_higher_adult,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult") translateModel(Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.5444 GB, free: 30.62 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.213e-05, allocations: 6.25 kB / 0.5444 GB, free: 30.61 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult): time 0.002338/0.00235, allocations: 2.463 MB / 0.5468 GB, free: 28.14 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003705/0.006055, allocations: 0.6234 MB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.006113, allocations: 4 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.817e-05/0.006161, allocations: 23.72 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001176/0.006278, allocations: 83.27 kB / 0.5475 GB, free: 27.4 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 8.965e-05/0.006368, allocations: 51.86 kB / 0.5476 GB, free: 27.35 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001916/0.00656, allocations: 266.6 kB / 0.5479 GB, free: 27.09 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001025/0.006662, allocations: 34.53 kB / 0.5479 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.006842, allocations: 195.9 kB / 0.5481 GB, free: 26.87 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001463/0.006988, allocations: 83.78 kB / 0.5482 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.699e-05/0.007015, allocations: 16 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.745e-05/0.007043, allocations: 16 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.884e-05/0.007072, allocations: 27.88 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.186e-05/0.007134, allocations: 59.88 kB / 0.5483 GB, free: 26.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.007289, allocations: 131.5 kB / 0.5484 GB, free: 26.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.218e-05/0.007301, allocations: 0 / 0.5484 GB, free: 26.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.007301, allocations: 0 / 0.5484 GB, free: 26.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.083e-05/0.007312, allocations: 4 kB / 0.5484 GB, free: 26.54 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.0005502/0.007863, allocations: 0.4937 MB / 0.5489 GB, free: 26 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.832e-05/0.007891, allocations: 8.031 kB / 0.5489 GB, free: 26 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.576e-05/0.007937, allocations: 28.91 kB / 0.5489 GB, free: 25.97 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.008083, allocations: 170.1 kB / 0.5491 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.008104, allocations: 12.55 kB / 0.5491 GB, free: 25.76 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.481e-05/0.008129, allocations: 16.38 kB / 0.5491 GB, free: 25.75 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.008295, allocations: 163 kB / 0.5493 GB, free: 25.57 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.26e-05/0.008307, allocations: 11.95 kB / 0.5493 GB, free: 25.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.008319, allocations: 4 kB / 0.5493 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.008325, allocations: 4 kB / 0.5493 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.013e-05/0.008405, allocations: 72.7 kB / 0.5493 GB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003355/0.01176, allocations: 361 kB / 0.5497 GB, free: 25.11 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001368/0.0119, allocations: 108.2 kB / 0.5498 GB, free: 24.98 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.791e-05/0.01194, allocations: 61.67 kB / 0.5499 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.662e-06/0.01194, allocations: 4 kB / 0.5499 GB, free: 24.91 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001113/0.01205, allocations: 192.4 kB / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.132e-06/0.01205, allocations: 0 / 0.55 GB, free: 24.7 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004722/0.01253, allocations: 0.518 MB / 0.5505 GB, free: 24.12 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.33e-05/0.01256, allocations: 136.5 kB / 0.5507 GB, free: 23.96 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.819e-05/0.01266, allocations: 195.2 kB / 0.5509 GB, free: 23.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.41e-05/0.01267, allocations: 29.7 kB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.582e-05/0.01271, allocations: 120.4 kB / 0.551 GB, free: 23.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.991e-05/0.01275, allocations: 71.45 kB / 0.5511 GB, free: 23.53 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.839e-05/0.01281, allocations: 55.17 kB / 0.5511 GB, free: 23.47 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.217e-05/0.01285, allocations: 338.7 kB / 0.5514 GB, free: 23.13 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.818e-05/0.01291, allocations: 100.9 kB / 0.5515 GB, free: 23.01 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.257e-05/0.01299, allocations: 169.4 kB / 0.5517 GB, free: 22.8 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001278/0.01312, allocations: 219.7 kB / 0.5519 GB, free: 22.54 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.01312, allocations: 3.938 kB / 0.5519 GB, free: 22.54 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001799/0.0133, allocations: 266 kB / 0.5522 GB, free: 22.25 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.18e-05/0.01333, allocations: 59.41 kB / 0.5522 GB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.01334, allocations: 0 / 0.5522 GB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.01335, allocations: 4.219 kB / 0.5522 GB, free: 22.18 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000179/0.01352, allocations: 73.86 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.01353, allocations: 7.938 kB / 0.5523 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.9e-05/0.01363, allocations: 15.98 kB / 0.5523 GB, free: 22.08 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.212e-05/0.01364, allocations: 8 kB / 0.5523 GB, free: 22.07 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.0001079/0.01375, allocations: 163.7 kB / 0.5525 GB, free: 21.9 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.331e-05/0.01377, allocations: 19.98 kB / 0.5525 GB, free: 21.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.204e-05/0.0138, allocations: 33.95 kB / 0.5525 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.01381, allocations: 3.984 kB / 0.5525 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.01381, allocations: 0 / 0.5525 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.01381, allocations: 3.938 kB / 0.5526 GB, free: 21.83 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002593/0.01407, allocations: 370.3 kB / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.01407, allocations: 0 / 0.5529 GB, free: 21.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001313/0.0142, allocations: 42.72 kB / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.117e-05/0.01423, allocations: 19.84 kB / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.01423, allocations: 0 / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01424, allocations: 12 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01424, allocations: 0 / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01424, allocations: 3.938 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003194/0.01743, allocations: 351.8 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.525e-05/0.01746, allocations: 4 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.962e-05/0.01756, allocations: 11.98 kB / 0.5533 GB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.936e-05/0.0176, allocations: 23.91 kB / 0.5534 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.01761, allocations: 7.984 kB / 0.5534 GB, free: 20.94 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.525e-05/0.01765, allocations: 59.09 kB / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.01765, allocations: 0 / 0.5534 GB, free: 20.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000232/0.01789, allocations: 59.94 kB / 0.5535 GB, free: 20.82 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 5.086e-05/0.01794, allocations: 96.34 kB / 0.5536 GB, free: 20.72 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.0181, allocations: 308.5 kB / 0.5539 GB, free: 20.37 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.0181, allocations: 4 kB / 0.5539 GB, free: 20.37 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.009e-05/0.01817, allocations: 137.9 kB / 0.554 GB, free: 20.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.01844, allocations: 94.92 kB / 0.5541 GB, free: 20.12 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.03166, allocations: 0.5589 MB / 0.5546 GB, free: 19.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.529e-05/0.0317, allocations: 84.33 kB / 0.5547 GB, free: 19.43 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.61e-05/0.03177, allocations: 21.94 kB / 0.5547 GB, free: 19.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001395/0.03191, allocations: 115.3 kB / 0.5548 GB, free: 19.3 MB / 410.7 MB Notification: Performance of SimCode: time 4.41e-07/0.03191, allocations: 4 kB / 0.5548 GB, free: 19.29 MB / 410.7 MB Notification: Performance of Templates: time 0.006711/0.03862, allocations: 3.751 MB / 0.5585 GB, free: 15.64 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.9389965711161494]