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.0006483/0.0006483, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000899/0.001547, allocations: 443.8 kB / 10.3 MB, free: 400 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.0007353/0.0007353, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009251/0.00166, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9705/0.9705, allocations: 177.2 MB / 189.5 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07616/1.047, allocations: 53.66 MB / 243.2 MB, free: 15.57 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.116/1.116, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02373/1.139, allocations: 21.04 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.413e-06/1.413e-06, allocations: 0 / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.668e-06/1.108e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult): time 0.002914/0.002925, allocations: 2.473 MB / 0.5468 GB, free: 28.15 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008434/0.003769, allocations: 0.6195 MB / 0.5474 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.215e-05/0.003841, allocations: 4 kB / 0.5474 GB, free: 27.53 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.319e-05/0.003904, allocations: 27.7 kB / 0.5475 GB, free: 27.5 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001506/0.004055, allocations: 79.33 kB / 0.5475 GB, free: 27.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001257/0.00418, allocations: 55.81 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002005/0.004381, allocations: 262.6 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.068e-05/0.004462, allocations: 34.55 kB / 0.5479 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001762/0.004638, allocations: 184 kB / 0.5481 GB, free: 26.9 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001347/0.004773, allocations: 87.72 kB / 0.5481 GB, free: 26.81 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.829e-05/0.004801, allocations: 16 kB / 0.5482 GB, free: 26.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.618e-05/0.004837, allocations: 16 kB / 0.5482 GB, free: 26.78 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.621e-05/0.004863, allocations: 27.88 kB / 0.5482 GB, free: 26.75 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.872e-05/0.004932, allocations: 59.88 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.005092, allocations: 135.5 kB / 0.5484 GB, free: 26.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.0051, allocations: 3.984 kB / 0.5484 GB, free: 26.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.0051, allocations: 4 kB / 0.5484 GB, free: 26.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 8.065e-06/0.005108, allocations: 3.938 kB / 0.5484 GB, free: 26.55 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.0004888/0.005597, allocations: 0.4937 MB / 0.5489 GB, free: 26.02 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.172e-05/0.005619, allocations: 8.031 kB / 0.5489 GB, free: 26.01 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.005664, allocations: 24.92 kB / 0.5489 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001407/0.005804, allocations: 174.1 kB / 0.5491 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.839e-05/0.005823, allocations: 8.609 kB / 0.5491 GB, free: 25.78 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.432e-05/0.005847, allocations: 16.38 kB / 0.5491 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001797/0.006027, allocations: 159.1 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.006036, allocations: 7.953 kB / 0.5493 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/0.006048, allocations: 4 kB / 0.5493 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.488e-06/0.006052, allocations: 4 kB / 0.5493 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.636e-05/0.006149, allocations: 80.62 kB / 0.5493 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003966/0.006545, allocations: 357 kB / 0.5497 GB, free: 25.13 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001672/0.006712, allocations: 112.2 kB / 0.5498 GB, free: 25 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.387e-05/0.006766, allocations: 58.55 kB / 0.5498 GB, free: 24.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.496e-06/0.006775, allocations: 8 kB / 0.5498 GB, free: 24.93 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001379/0.006913, allocations: 196.3 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.006914, allocations: 0 / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0005838/0.007498, allocations: 0.5004 MB / 0.5505 GB, free: 24.14 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.996e-05/0.007528, allocations: 136.5 kB / 0.5507 GB, free: 23.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.00764, allocations: 191.2 kB / 0.5508 GB, free: 23.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.007656, allocations: 33.7 kB / 0.5509 GB, free: 23.74 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.007703, allocations: 124.4 kB / 0.551 GB, free: 23.62 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.007746, allocations: 71.41 kB / 0.5511 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.836e-05/0.007814, allocations: 59.11 kB / 0.5511 GB, free: 23.48 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.63e-05/0.00785, allocations: 334.7 kB / 0.5514 GB, free: 23.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.287e-05/0.007923, allocations: 101 kB / 0.5515 GB, free: 23.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.194e-05/0.008015, allocations: 173.3 kB / 0.5517 GB, free: 22.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.00816, allocations: 219.7 kB / 0.5519 GB, free: 22.56 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.008161, allocations: 0 / 0.5519 GB, free: 22.56 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002201/0.008381, allocations: 262.1 kB / 0.5522 GB, free: 22.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.533e-05/0.008407, allocations: 63.39 kB / 0.5522 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.008412, allocations: 3.312 kB / 0.5522 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.334e-06/0.008419, allocations: 4 kB / 0.5522 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002313/0.00865, allocations: 68.12 kB / 0.5523 GB, free: 22.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.849e-06/0.008655, allocations: 7.938 kB / 0.5523 GB, free: 22.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001269/0.008782, allocations: 15.98 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.869e-05/0.008801, allocations: 8 kB / 0.5523 GB, free: 22.1 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.824e-05/0.008899, allocations: 169.6 kB / 0.5525 GB, free: 21.92 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.036e-05/0.008929, allocations: 27.92 kB / 0.5525 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.008961, allocations: 25.95 kB / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.008963, allocations: 4 kB / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.008965, allocations: 0 / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.008968, allocations: 3.938 kB / 0.5525 GB, free: 21.85 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003214/0.00929, allocations: 374.3 kB / 0.5529 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.009291, allocations: 0 / 0.5529 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.009465, allocations: 43.91 kB / 0.5529 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.855e-05/0.009494, allocations: 15.86 kB / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.009496, allocations: 0 / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.637e-05/0.009512, allocations: 11.98 kB / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.009514, allocations: 4 kB / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.009515, allocations: 0 / 0.553 GB, free: 21.38 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002574/0.009772, allocations: 351.8 kB / 0.5533 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.395e-05/0.009806, allocations: 4 kB / 0.5533 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.009936, allocations: 15.25 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.009983, allocations: 31.83 kB / 0.5533 GB, free: 20.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.177e-05/0.009995, allocations: 4 kB / 0.5534 GB, free: 20.95 MB / 410.7 MB Notification: Performance of sorting global known variables: time 5.905e-05/0.01005, allocations: 63.08 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01005, allocations: 0 / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002849/0.01034, allocations: 52 kB / 0.5535 GB, free: 20.84 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.965e-05/0.0104, allocations: 95.08 kB / 0.5536 GB, free: 20.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002119/0.01061, allocations: 304.5 kB / 0.5538 GB, free: 20.39 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.197e-06/0.01061, allocations: 4 kB / 0.5538 GB, free: 20.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.222e-05/0.01071, allocations: 141.9 kB / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.01105, allocations: 95.44 kB / 0.5541 GB, free: 20.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009562/0.02061, allocations: 0.575 MB / 0.5546 GB, free: 19.53 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.167e-05/0.0207, allocations: 129.2 kB / 0.5548 GB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002112/0.02091, allocations: 115.3 kB / 0.5549 GB, free: 19.27 MB / 410.7 MB Notification: Performance of SimCode: time 5.81e-07/0.02091, allocations: 0 / 0.5549 GB, free: 19.27 MB / 410.7 MB Notification: Performance of Templates: time 0.003953/0.02486, allocations: 2.88 MB / 0.5577 GB, free: 16.43 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 > Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.383082834072411]