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.0008277/0.0008277, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001273/0.002101, 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.001672/0.001672, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00146/0.003132, 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 1.142/1.142, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1262/1.268, allocations: 53.65 MB / 243.2 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 0.9047/0.9047, allocations: 291.1 MB / 0.5226 GB, free: 52.77 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04547/0.9502, allocations: 21.04 MB / 0.5431 GB, free: 31.8 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_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 1.894e-06/1.894e-06, allocations: 0 / 0.5444 GB, free: 30.45 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.392e-05/2.581e-05, allocations: 10.19 kB / 0.5444 GB, free: 30.43 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult): time 0.003671/0.003697, allocations: 2.471 MB / 0.5469 GB, free: 27.95 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001002/0.004699, allocations: 0.6234 MB / 0.5475 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001056/0.004805, allocations: 4 kB / 0.5475 GB, free: 27.32 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 8.946e-05/0.004894, allocations: 27.72 kB / 0.5475 GB, free: 27.29 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001843/0.005078, allocations: 75.33 kB / 0.5476 GB, free: 27.22 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001759/0.005254, allocations: 63.86 kB / 0.5476 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.005595, allocations: 262.6 kB / 0.5479 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001687/0.005763, allocations: 42.42 kB / 0.5479 GB, free: 26.86 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002596/0.006023, allocations: 176.1 kB / 0.5481 GB, free: 26.69 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002274/0.00625, allocations: 83.78 kB / 0.5482 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.357e-05/0.006284, allocations: 16 kB / 0.5482 GB, free: 26.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.585e-05/0.00632, allocations: 19.94 kB / 0.5482 GB, free: 26.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.844e-05/0.006358, allocations: 27.92 kB / 0.5482 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 8.412e-05/0.006442, allocations: 59.88 kB / 0.5483 GB, free: 26.48 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.006678, allocations: 139.5 kB / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.259e-05/0.006701, allocations: 0 / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.006702, allocations: 0 / 0.5484 GB, free: 26.35 MB / 410.7 MB Notification: Performance of Transformations before backend: time 2.508e-05/0.006727, allocations: 0 / 0.5484 GB, free: 26.35 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.0008925/0.007619, allocations: 0.4975 MB / 0.5489 GB, free: 25.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.905e-05/0.007669, allocations: 8.031 kB / 0.5489 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.104e-05/0.00774, allocations: 28.91 kB / 0.5489 GB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002223/0.007962, allocations: 166.2 kB / 0.5491 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.882e-05/0.007991, allocations: 16.59 kB / 0.5491 GB, free: 25.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.208e-05/0.008023, allocations: 16.38 kB / 0.5491 GB, free: 25.55 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000246/0.008269, allocations: 162.5 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.567e-05/0.008284, allocations: 3.953 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.0083, allocations: 7.984 kB / 0.5493 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.011e-05/0.00831, allocations: 4 kB / 0.5493 GB, free: 25.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001158/0.008426, allocations: 76.69 kB / 0.5494 GB, free: 25.29 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005299/0.008956, allocations: 357 kB / 0.5497 GB, free: 24.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002557/0.009212, allocations: 112.2 kB / 0.5498 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.133e-05/0.009263, allocations: 62.53 kB / 0.5499 GB, free: 24.73 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.203e-05/0.009275, allocations: 7.984 kB / 0.5499 GB, free: 24.72 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.009496, allocations: 188.4 kB / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 2.595e-06/0.009498, allocations: 0 / 0.5501 GB, free: 24.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0007834/0.01028, allocations: 0.5041 MB / 0.5506 GB, free: 23.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.01032, allocations: 144.4 kB / 0.5507 GB, free: 23.77 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.507e-05/0.01042, allocations: 195.2 kB / 0.5509 GB, free: 23.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.01044, allocations: 37.69 kB / 0.5509 GB, free: 23.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.01048, allocations: 112.4 kB / 0.551 GB, free: 23.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.928e-05/0.01053, allocations: 75.39 kB / 0.5511 GB, free: 23.33 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.682e-05/0.0106, allocations: 55.17 kB / 0.5512 GB, free: 23.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 5.989e-05/0.01066, allocations: 342.7 kB / 0.5515 GB, free: 22.93 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.228e-05/0.01073, allocations: 96.98 kB / 0.5516 GB, free: 22.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.52e-05/0.01083, allocations: 169.4 kB / 0.5517 GB, free: 22.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.01098, allocations: 219.7 kB / 0.5519 GB, free: 22.35 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01098, allocations: 0 / 0.5519 GB, free: 22.35 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002366/0.01122, allocations: 262.9 kB / 0.5522 GB, free: 22.06 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.427e-05/0.01127, allocations: 67.42 kB / 0.5523 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01128, allocations: 0 / 0.5523 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01129, allocations: 4 kB / 0.5523 GB, free: 21.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000219/0.01151, allocations: 71.89 kB / 0.5523 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.404e-06/0.01152, allocations: 3.938 kB / 0.5523 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.01163, allocations: 19.98 kB / 0.5524 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.557e-05/0.01164, allocations: 4 kB / 0.5524 GB, free: 21.88 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.0001501/0.01179, allocations: 170.7 kB / 0.5525 GB, free: 21.7 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.328e-05/0.01183, allocations: 23.98 kB / 0.5525 GB, free: 21.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.266e-05/0.01187, allocations: 21.97 kB / 0.5526 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-06/0.01187, allocations: 3.984 kB / 0.5526 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.01188, allocations: 3.438 kB / 0.5526 GB, free: 21.65 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.773e-06/0.01189, allocations: 7.938 kB / 0.5526 GB, free: 21.64 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003535/0.01224, allocations: 366.3 kB / 0.5529 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.01224, allocations: 0 / 0.5529 GB, free: 21.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001724/0.01241, allocations: 45.94 kB / 0.553 GB, free: 21.2 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.623e-05/0.01244, allocations: 19.84 kB / 0.553 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.01244, allocations: 4 kB / 0.553 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.01246, allocations: 4 kB / 0.553 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.01246, allocations: 0 / 0.553 GB, free: 21.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.01246, allocations: 3.938 kB / 0.553 GB, free: 21.17 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002714/0.01273, allocations: 351.8 kB / 0.5533 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.293e-05/0.01277, allocations: 8 kB / 0.5533 GB, free: 20.79 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.01288, allocations: 11.98 kB / 0.5534 GB, free: 20.78 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.601e-05/0.01294, allocations: 23.84 kB / 0.5534 GB, free: 20.75 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.01295, allocations: 8 kB / 0.5534 GB, free: 20.75 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.356e-05/0.01302, allocations: 63.08 kB / 0.5534 GB, free: 20.68 MB / 410.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01302, allocations: 0 / 0.5534 GB, free: 20.68 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002497/0.01327, allocations: 56 kB / 0.5535 GB, free: 20.63 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.0001026/0.01337, allocations: 92.36 kB / 0.5536 GB, free: 20.53 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002522/0.01362, allocations: 312.5 kB / 0.5539 GB, free: 20.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 8.476e-06/0.01363, allocations: 448 / 0.5539 GB, free: 20.18 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.578e-05/0.01373, allocations: 149.9 kB / 0.554 GB, free: 20.01 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.01407, allocations: 81.08 kB / 0.5541 GB, free: 19.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007778/0.02185, allocations: 0.57 MB / 0.5547 GB, free: 19.34 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.425e-05/0.0219, allocations: 76.33 kB / 0.5547 GB, free: 19.25 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000112/0.02201, allocations: 25.94 kB / 0.5548 GB, free: 19.22 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001745/0.02219, allocations: 115.3 kB / 0.5549 GB, free: 19.11 MB / 410.7 MB Notification: Performance of SimCode: time 1.293e-06/0.02219, allocations: 0 / 0.5549 GB, free: 19.11 MB / 410.7 MB Notification: Performance of Templates: time 0.007043/0.02923, allocations: 3.757 MB / 0.5585 GB, free: 15.45 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 > Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.085418472066522]