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.000652/0.000652, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009371/0.001589, 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.0006956/0.0006956, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009126/0.001608, 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.9538/0.9538, allocations: 177.1 MB / 189.5 MB, free: 5.332 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07686/1.031, allocations: 53.66 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 1.127/1.127, allocations: 291.2 MB / 0.5225 GB, free: 52.95 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02396/1.151, allocations: 21.04 MB / 0.5431 GB, free: 31.98 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.293e-06/1.293e-06, allocations: 0 / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.878e-05/2.007e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult): time 0.003394/0.003414, allocations: 2.471 MB / 0.5468 GB, free: 28.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000902/0.004316, allocations: 0.6117 MB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.818e-05/0.004404, allocations: 4 kB / 0.5474 GB, free: 27.54 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.318e-05/0.004477, allocations: 27.72 kB / 0.5474 GB, free: 27.51 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.004659, allocations: 83.27 kB / 0.5475 GB, free: 27.43 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001557/0.004815, allocations: 59.8 kB / 0.5476 GB, free: 27.37 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002493/0.005064, allocations: 266.6 kB / 0.5478 GB, free: 27.11 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.005174, allocations: 30.55 kB / 0.5479 GB, free: 27.08 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002209/0.005395, allocations: 176.1 kB / 0.548 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001732/0.005568, allocations: 91.7 kB / 0.5481 GB, free: 26.82 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.143e-05/0.005599, allocations: 20 kB / 0.5481 GB, free: 26.8 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.683e-05/0.005636, allocations: 16 kB / 0.5482 GB, free: 26.79 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.171e-05/0.005668, allocations: 27.88 kB / 0.5482 GB, free: 26.76 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.865e-05/0.005746, allocations: 63.81 kB / 0.5482 GB, free: 26.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001903/0.005937, allocations: 131.5 kB / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.293e-05/0.00595, allocations: 0 / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.00595, allocations: 0 / 0.5484 GB, free: 26.57 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.283e-05/0.005963, allocations: 7.938 kB / 0.5484 GB, free: 26.56 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.0006498/0.006613, allocations: 0.4937 MB / 0.5489 GB, free: 26.03 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.006643, allocations: 8.031 kB / 0.5489 GB, free: 26.02 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.119e-05/0.006704, allocations: 28.91 kB / 0.5489 GB, free: 25.99 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001812/0.006885, allocations: 170.1 kB / 0.5491 GB, free: 25.8 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.006909, allocations: 12.59 kB / 0.5491 GB, free: 25.79 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.006939, allocations: 16.38 kB / 0.5491 GB, free: 25.77 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002124/0.007151, allocations: 151.1 kB / 0.5492 GB, free: 25.61 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.509e-05/0.007166, allocations: 15.88 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.00718, allocations: 3.984 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.007185, allocations: 4 kB / 0.5492 GB, free: 25.58 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001098/0.007295, allocations: 80.7 kB / 0.5493 GB, free: 25.5 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004961/0.007791, allocations: 353 kB / 0.5497 GB, free: 25.14 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002178/0.008009, allocations: 112.1 kB / 0.5498 GB, free: 25.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.593e-05/0.008065, allocations: 62.53 kB / 0.5498 GB, free: 24.94 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.859e-06/0.008075, allocations: 0 / 0.5498 GB, free: 24.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001743/0.008249, allocations: 196.4 kB / 0.55 GB, free: 24.72 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.008251, allocations: 4 kB / 0.55 GB, free: 24.71 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0006938/0.008945, allocations: 0.4967 MB / 0.5505 GB, free: 24.16 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.585e-05/0.00898, allocations: 140.5 kB / 0.5506 GB, free: 23.99 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.009103, allocations: 191.2 kB / 0.5508 GB, free: 23.79 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.705e-05/0.00912, allocations: 33.69 kB / 0.5509 GB, free: 23.75 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.905e-05/0.009159, allocations: 120.4 kB / 0.551 GB, free: 23.63 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.796e-05/0.009207, allocations: 75.39 kB / 0.551 GB, free: 23.55 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.166e-05/0.009279, allocations: 63.05 kB / 0.5511 GB, free: 23.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.663e-05/0.009326, allocations: 338.7 kB / 0.5514 GB, free: 23.15 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.693e-05/0.009403, allocations: 101 kB / 0.5515 GB, free: 23.03 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.521e-05/0.009498, allocations: 171.8 kB / 0.5517 GB, free: 22.82 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.009657, allocations: 211.6 kB / 0.5519 GB, free: 22.57 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.009659, allocations: 4.031 kB / 0.5519 GB, free: 22.57 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0002338/0.009892, allocations: 262.7 kB / 0.5521 GB, free: 22.28 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.537e-05/0.009928, allocations: 67.39 kB / 0.5522 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.009933, allocations: 0 / 0.5522 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.358e-06/0.009942, allocations: 4 kB / 0.5522 GB, free: 22.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002396/0.01018, allocations: 63.89 kB / 0.5523 GB, free: 22.14 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.01019, allocations: 8.156 kB / 0.5523 GB, free: 22.13 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001328/0.01032, allocations: 27.03 kB / 0.5523 GB, free: 22.11 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.91e-05/0.01034, allocations: 12 kB / 0.5523 GB, free: 22.09 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.0001166/0.01046, allocations: 169.6 kB / 0.5525 GB, free: 21.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.584e-05/0.01049, allocations: 19.98 kB / 0.5525 GB, free: 21.89 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.56e-05/0.01053, allocations: 25.95 kB / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.01053, allocations: 0 / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.01053, allocations: 0 / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01054, allocations: 7.938 kB / 0.5525 GB, free: 21.86 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.01088, allocations: 374.3 kB / 0.5529 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.01089, allocations: 0 / 0.5529 GB, free: 21.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001844/0.01107, allocations: 39.97 kB / 0.5529 GB, free: 21.41 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.909e-05/0.0111, allocations: 19.84 kB / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.0111, allocations: 0 / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.01112, allocations: 8 kB / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.824e-06/0.01112, allocations: 0 / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.01112, allocations: 0 / 0.5529 GB, free: 21.39 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002578/0.01138, allocations: 355.8 kB / 0.5533 GB, free: 21.01 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/0.01142, allocations: 8 kB / 0.5533 GB, free: 21 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001292/0.01155, allocations: 15.92 kB / 0.5533 GB, free: 20.98 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.523e-05/0.0116, allocations: 23.91 kB / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.01162, allocations: 7.312 kB / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of sorting global known variables: time 6.021e-05/0.01168, allocations: 63.08 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.01e-07/0.01168, allocations: 0 / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002894/0.01197, allocations: 52 kB / 0.5534 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 7.712e-05/0.01204, allocations: 96.34 kB / 0.5535 GB, free: 20.74 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002135/0.01226, allocations: 303.7 kB / 0.5538 GB, free: 20.4 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.01226, allocations: 7.938 kB / 0.5538 GB, free: 20.39 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 8.917e-05/0.01235, allocations: 137.9 kB / 0.554 GB, free: 20.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/0.01259, allocations: 91.45 kB / 0.5541 GB, free: 20.15 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005452/0.01804, allocations: 0.5801 MB / 0.5546 GB, free: 19.54 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.806e-05/0.01809, allocations: 125.3 kB / 0.5547 GB, free: 19.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/0.01823, allocations: 115.3 kB / 0.5549 GB, free: 19.28 MB / 410.7 MB Notification: Performance of SimCode: time 7.91e-07/0.01823, allocations: 0 / 0.5549 GB, free: 19.28 MB / 410.7 MB Notification: Performance of Templates: time 0.002688/0.02092, allocations: 2.889 MB / 0.5577 GB, free: 16.43 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 > Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.4716466115787625]