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.0007254/0.0007254, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009331/0.001659, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007049/0.0007049, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009675/0.001672, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.99/0.99, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1184/1.108, allocations: 53.65 MB / 243.2 MB, free: 15.59 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 0.8558/0.8558, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06423/0.92, allocations: 21.04 MB / 0.5432 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 5.009e-06/5.009e-06, allocations: 0 / 0.5445 GB, free: 30.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.392e-05/4.893e-05, allocations: 10.25 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult): time 0.00443/0.004479, allocations: 2.474 MB / 0.5469 GB, free: 28.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001361/0.00584, allocations: 0.6234 MB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001475/0.005987, allocations: 3.938 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.5e-05/0.006082, allocations: 23.78 kB / 0.5475 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.006318, allocations: 83.27 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.006593, allocations: 51.86 kB / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003861/0.006979, allocations: 266.6 kB / 0.5479 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001807/0.007159, allocations: 42.41 kB / 0.548 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003403/0.0075, allocations: 180.1 kB / 0.5481 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002477/0.007747, allocations: 83.78 kB / 0.5482 GB, free: 26.76 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.266e-05/0.00779, allocations: 16 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.755e-05/0.007828, allocations: 23.94 kB / 0.5483 GB, free: 26.72 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.824e-05/0.007866, allocations: 19.94 kB / 0.5483 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 9.727e-05/0.007963, allocations: 63.88 kB / 0.5483 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002884/0.008252, allocations: 131.5 kB / 0.5485 GB, free: 26.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.159e-05/0.008283, allocations: 0 / 0.5485 GB, free: 26.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.505e-06/0.008286, allocations: 0 / 0.5485 GB, free: 26.51 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.781e-05/0.008313, allocations: 0 / 0.5485 GB, free: 26.51 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.0009692/0.009283, allocations: 0.5053 MB / 0.549 GB, free: 25.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.009334, allocations: 12.03 kB / 0.549 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.65e-05/0.00942, allocations: 24.91 kB / 0.549 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002833/0.009704, allocations: 170.2 kB / 0.5492 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.009736, allocations: 8.609 kB / 0.5492 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.919e-05/0.009775, allocations: 16.36 kB / 0.5492 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002863/0.01006, allocations: 155.1 kB / 0.5493 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.075e-05/0.01008, allocations: 11.88 kB / 0.5493 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.681e-05/0.0101, allocations: 12 kB / 0.5494 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.01e-05/0.01011, allocations: 4 kB / 0.5494 GB, free: 25.52 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.01024, allocations: 76.7 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006312/0.01087, allocations: 357 kB / 0.5498 GB, free: 25.07 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002941/0.01117, allocations: 108.2 kB / 0.5499 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.057e-05/0.01123, allocations: 62.53 kB / 0.5499 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.408e-05/0.01124, allocations: 0 / 0.5499 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002283/0.01147, allocations: 192.4 kB / 0.5501 GB, free: 24.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.334e-06/0.01147, allocations: 0 / 0.5501 GB, free: 24.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000883/0.01236, allocations: 0.5161 MB / 0.5506 GB, free: 24.09 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.01241, allocations: 132.5 kB / 0.5507 GB, free: 23.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001472/0.01256, allocations: 195.2 kB / 0.5509 GB, free: 23.72 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.01258, allocations: 29.7 kB / 0.551 GB, free: 23.69 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.571e-05/0.01263, allocations: 120.4 kB / 0.5511 GB, free: 23.57 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.39e-05/0.01271, allocations: 75.41 kB / 0.5511 GB, free: 23.49 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.161e-05/0.01279, allocations: 55.17 kB / 0.5512 GB, free: 23.43 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.527e-05/0.01286, allocations: 346.6 kB / 0.5515 GB, free: 23.09 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.532e-05/0.01294, allocations: 97 kB / 0.5516 GB, free: 22.97 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.01304, allocations: 173.3 kB / 0.5518 GB, free: 22.76 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.01322, allocations: 215.7 kB / 0.552 GB, free: 22.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01322, allocations: 0 / 0.552 GB, free: 22.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002656/0.01348, allocations: 266.7 kB / 0.5522 GB, free: 22.21 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.351e-05/0.01354, allocations: 59.41 kB / 0.5523 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.01354, allocations: 0 / 0.5523 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.01356, allocations: 4 kB / 0.5523 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002457/0.0138, allocations: 72.11 kB / 0.5524 GB, free: 22.07 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.697e-06/0.01381, allocations: 7.938 kB / 0.5524 GB, free: 22.06 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.01393, allocations: 19.3 kB / 0.5524 GB, free: 22.05 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.675e-05/0.01395, allocations: 12 kB / 0.5524 GB, free: 22.04 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.000192/0.01414, allocations: 165.7 kB / 0.5526 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.435e-05/0.01417, allocations: 15.98 kB / 0.5526 GB, free: 21.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.07e-05/0.01423, allocations: 25.95 kB / 0.5526 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.01423, allocations: 4 kB / 0.5526 GB, free: 21.81 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01423, allocations: 4 kB / 0.5526 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.01424, allocations: 3.938 kB / 0.5526 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004182/0.01466, allocations: 370.3 kB / 0.553 GB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.567e-06/0.01466, allocations: 0 / 0.553 GB, free: 21.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001868/0.01485, allocations: 39.97 kB / 0.553 GB, free: 21.36 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.571e-05/0.01489, allocations: 23.84 kB / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.01489, allocations: 0 / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.768e-05/0.01491, allocations: 4 kB / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.01491, allocations: 0 / 0.553 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.01491, allocations: 4 kB / 0.553 GB, free: 21.33 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003158/0.01523, allocations: 351.8 kB / 0.5534 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.793e-05/0.01527, allocations: 8 kB / 0.5534 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.01538, allocations: 11.98 kB / 0.5534 GB, free: 20.94 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.126e-05/0.01545, allocations: 31.83 kB / 0.5534 GB, free: 20.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.397e-05/0.01547, allocations: 7.984 kB / 0.5534 GB, free: 20.9 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.778e-05/0.01554, allocations: 55.11 kB / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01554, allocations: 0 / 0.5535 GB, free: 20.84 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002807/0.01582, allocations: 56 kB / 0.5535 GB, free: 20.79 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.0001356/0.01595, allocations: 96.34 kB / 0.5536 GB, free: 20.69 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002762/0.01623, allocations: 304.5 kB / 0.5539 GB, free: 20.34 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.01624, allocations: 4 kB / 0.5539 GB, free: 20.34 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001049/0.01634, allocations: 145.2 kB / 0.5541 GB, free: 20.18 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003759/0.01672, allocations: 88.77 kB / 0.5542 GB, free: 20.1 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007206/0.02393, allocations: 0.5706 MB / 0.5547 GB, free: 19.5 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.092e-05/0.02398, allocations: 76.33 kB / 0.5548 GB, free: 19.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001626/0.02414, allocations: 25.94 kB / 0.5548 GB, free: 19.38 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001662/0.02431, allocations: 115.3 kB / 0.5549 GB, free: 19.27 MB / 410.7 MB Notification: Performance of SimCode: time 2.355e-06/0.02431, allocations: 0 / 0.5549 GB, free: 19.27 MB / 410.7 MB Notification: Performance of Templates: time 0.00646/0.03077, allocations: 3.76 MB / 0.5586 GB, free: 15.6 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: 4.055628082714975]