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.0007438/0.0007438, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001191/0.001935, allocations: 443.9 kB / 10.36 MB, free: 332 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.0007275/0.0007275, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001741, allocations: 475.7 kB / 11.72 MB, free: 2.453 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.996/0.996, allocations: 177.1 MB / 189.6 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1142/1.11, allocations: 53.68 MB / 243.3 MB, free: 15.58 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 2.352/2.352, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03233/2.384, allocations: 21.04 MB / 0.5432 GB, free: 31.96 MB / 410.7 MB " [Timeout remaining time 178] 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 8.61e-07/8.61e-07, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.242e-05/1.328e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult): time 0.00329/0.003303, allocations: 2.47 MB / 0.5469 GB, free: 28.11 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001083/0.004386, allocations: 0.6234 MB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.062e-05/0.004477, allocations: 4 kB / 0.5475 GB, free: 27.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.663e-05/0.004534, allocations: 27.7 kB / 0.5476 GB, free: 27.45 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001648/0.004698, allocations: 91.27 kB / 0.5477 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.004827, allocations: 47.94 kB / 0.5477 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002137/0.00504, allocations: 262.6 kB / 0.548 GB, free: 27.06 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.622e-05/0.005127, allocations: 42.42 kB / 0.548 GB, free: 27.02 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000198/0.005325, allocations: 180 kB / 0.5482 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000143/0.005468, allocations: 79.8 kB / 0.5482 GB, free: 26.77 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.522e-05/0.005493, allocations: 16 kB / 0.5483 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.725e-05/0.00552, allocations: 16 kB / 0.5483 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.005549, allocations: 31.86 kB / 0.5483 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.005618, allocations: 63.88 kB / 0.5484 GB, free: 26.64 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.005778, allocations: 135.5 kB / 0.5485 GB, free: 26.51 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.005784, allocations: 0 / 0.5485 GB, free: 26.51 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.12e-07/0.005785, allocations: 3.938 kB / 0.5485 GB, free: 26.5 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.005793, allocations: 0 / 0.5485 GB, free: 26.5 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.0004857/0.006279, allocations: 0.4976 MB / 0.549 GB, free: 25.97 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.344e-05/0.006302, allocations: 11.97 kB / 0.549 GB, free: 25.96 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.00635, allocations: 24.92 kB / 0.549 GB, free: 25.93 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001423/0.006492, allocations: 170.2 kB / 0.5492 GB, free: 25.74 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/0.006508, allocations: 8.609 kB / 0.5492 GB, free: 25.73 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.383e-05/0.006532, allocations: 20.31 kB / 0.5492 GB, free: 25.71 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.00671, allocations: 162.8 kB / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.376e-06/0.006718, allocations: 3.953 kB / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.006728, allocations: 0 / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.006732, allocations: 4 kB / 0.5494 GB, free: 25.53 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.084e-05/0.006823, allocations: 80.69 kB / 0.5495 GB, free: 25.45 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000397/0.00722, allocations: 361 kB / 0.5498 GB, free: 25.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001604/0.00738, allocations: 116.2 kB / 0.5499 GB, free: 24.95 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.567e-05/0.007426, allocations: 54.55 kB / 0.55 GB, free: 24.89 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.634e-06/0.007433, allocations: 4 kB / 0.55 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001291/0.007563, allocations: 196.3 kB / 0.5502 GB, free: 24.66 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.914e-06/0.007564, allocations: 3.984 kB / 0.5502 GB, free: 24.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005436/0.008108, allocations: 0.5188 MB / 0.5507 GB, free: 24.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.424e-05/0.008152, allocations: 162.2 kB / 0.5508 GB, free: 23.88 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.008264, allocations: 195.2 kB / 0.551 GB, free: 23.68 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.47e-05/0.008279, allocations: 33.7 kB / 0.551 GB, free: 23.64 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.008319, allocations: 120.4 kB / 0.5511 GB, free: 23.52 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.265e-05/0.008361, allocations: 71.39 kB / 0.5512 GB, free: 23.45 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.194e-05/0.008423, allocations: 55.17 kB / 0.5513 GB, free: 23.39 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.911e-05/0.008462, allocations: 334.8 kB / 0.5516 GB, free: 23.05 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.873e-05/0.008531, allocations: 104.9 kB / 0.5517 GB, free: 22.93 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.008614, allocations: 171.7 kB / 0.5519 GB, free: 22.72 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001315/0.008746, allocations: 219.7 kB / 0.5521 GB, free: 22.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.008747, allocations: 0 / 0.5521 GB, free: 22.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002061/0.008953, allocations: 267.6 kB / 0.5523 GB, free: 22.18 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.493e-05/0.008978, allocations: 67.39 kB / 0.5524 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.008982, allocations: 0 / 0.5524 GB, free: 22.1 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.304e-06/0.008989, allocations: 4 kB / 0.5524 GB, free: 22.09 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002041/0.009193, allocations: 70.95 kB / 0.5525 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.009198, allocations: 2.734 kB / 0.5525 GB, free: 22.03 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001147/0.009312, allocations: 19.94 kB / 0.5525 GB, free: 22.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.009327, allocations: 11.98 kB / 0.5525 GB, free: 22 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 9.886e-05/0.009426, allocations: 165.8 kB / 0.5526 GB, free: 21.82 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.956e-05/0.009456, allocations: 23.97 kB / 0.5527 GB, free: 21.8 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.009487, allocations: 21.97 kB / 0.5527 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.576e-06/0.009491, allocations: 3.984 kB / 0.5527 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.009492, allocations: 0 / 0.5527 GB, free: 21.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.009518, allocations: 19.8 kB / 0.5527 GB, free: 21.75 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.00953, allocations: 11.94 kB / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.926e-05/0.009559, allocations: 8 kB / 0.5527 GB, free: 21.73 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.101e-05/0.00964, allocations: 15.98 kB / 0.5527 GB, free: 21.71 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.276e-05/0.009683, allocations: 15.97 kB / 0.5528 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002315/0.009915, allocations: 264.2 kB / 0.553 GB, free: 21.42 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002128/0.01013, allocations: 419.7 kB / 0.5534 GB, free: 20.97 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.276e-05/0.01018, allocations: 88.8 kB / 0.5535 GB, free: 20.88 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.799e-05/0.01022, allocations: 59.09 kB / 0.5536 GB, free: 20.82 MB / 410.7 MB Notification: Performance of Backend: time 1.5e-07/0.01022, allocations: 0 / 0.5536 GB, free: 20.82 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.000209/0.01043, allocations: 334.5 kB / 0.5539 GB, free: 20.45 MB / 410.7 MB Notification: Performance of SimCode: time 0.005459/0.01589, allocations: 1.113 MB / 0.555 GB, free: 19.29 MB / 410.7 MB Notification: Performance of Templates: time 0.004299/0.02019, allocations: 3.808 MB / 0.5587 GB, free: 15.56 MB / 410.7 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 -s=ida > Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.903358488343656]