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.0009668/0.0009668, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001312/0.002279, allocations: 440 kB / 10.41 MB, free: 284 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.0008052/0.0008052, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001116/0.001922, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.916/0.916, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08009/0.996, allocations: 53.67 MB / 243.4 MB, free: 15.49 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 4.932/4.932, allocations: 291.2 MB / 0.5228 GB, free: 52.52 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03091/4.963, allocations: 21.04 MB / 0.5433 GB, free: 31.52 MB / 410.7 MB " [Timeout remaining time 175] 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 9.92e-07/9.92e-07, allocations: 0 / 0.5447 GB, free: 30.12 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.118e-05/2.217e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.12 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult): time 0.002464/0.002486, allocations: 2.475 MB / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000645/0.003131, allocations: 0.6272 MB / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.834e-05/0.00319, allocations: 0 / 0.5477 GB, free: 27 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.222e-05/0.003232, allocations: 23.72 kB / 0.5478 GB, free: 26.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 9.531e-05/0.003327, allocations: 95.25 kB / 0.5479 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 7.969e-05/0.003407, allocations: 43.94 kB / 0.5479 GB, free: 26.84 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.000145/0.003552, allocations: 266.6 kB / 0.5481 GB, free: 26.58 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.042e-05/0.003612, allocations: 42.48 kB / 0.5482 GB, free: 26.54 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001288/0.003741, allocations: 172.1 kB / 0.5484 GB, free: 26.37 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000114/0.003855, allocations: 91.7 kB / 0.5484 GB, free: 26.28 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 1.853e-05/0.003874, allocations: 16 kB / 0.5485 GB, free: 26.27 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.401e-05/0.003898, allocations: 16 kB / 0.5485 GB, free: 26.25 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.878e-05/0.003916, allocations: 31.88 kB / 0.5485 GB, free: 26.22 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 4.671e-05/0.003963, allocations: 67.88 kB / 0.5486 GB, free: 26.15 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001073/0.00407, allocations: 131.5 kB / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.004076, allocations: 0 / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.21e-07/0.004077, allocations: 0 / 0.5487 GB, free: 26.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.651e-06/0.004082, allocations: 0 / 0.5487 GB, free: 26.02 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.0003651/0.004447, allocations: 0.4898 MB / 0.5492 GB, free: 25.5 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.003e-05/0.004467, allocations: 12.03 kB / 0.5492 GB, free: 25.48 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.331e-05/0.004501, allocations: 28.91 kB / 0.5492 GB, free: 25.46 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001009/0.004602, allocations: 170.1 kB / 0.5494 GB, free: 25.26 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.004614, allocations: 12.61 kB / 0.5494 GB, free: 25.25 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.004632, allocations: 12.38 kB / 0.5494 GB, free: 25.24 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001238/0.004756, allocations: 170.4 kB / 0.5496 GB, free: 25.06 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.744e-06/0.004764, allocations: 3.953 kB / 0.5496 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.004772, allocations: 8 kB / 0.5496 GB, free: 25.05 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-06/0.004775, allocations: 4 kB / 0.5496 GB, free: 25.04 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.104e-05/0.004836, allocations: 74.34 kB / 0.5496 GB, free: 24.97 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002846/0.005121, allocations: 365 kB / 0.55 GB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.005253, allocations: 104.2 kB / 0.5501 GB, free: 24.48 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.642e-05/0.005289, allocations: 58.55 kB / 0.5501 GB, free: 24.41 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.272e-06/0.005296, allocations: 4 kB / 0.5502 GB, free: 24.41 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001058/0.005402, allocations: 192.3 kB / 0.5503 GB, free: 24.19 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.172e-06/0.005403, allocations: 0 / 0.5503 GB, free: 24.19 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004465/0.005849, allocations: 0.5253 MB / 0.5508 GB, free: 23.6 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.005878, allocations: 174.1 kB / 0.551 GB, free: 23.39 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.142e-05/0.005969, allocations: 187.2 kB / 0.5512 GB, free: 23.2 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.038e-05/0.00598, allocations: 33.7 kB / 0.5512 GB, free: 23.16 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.916e-05/0.006009, allocations: 120.4 kB / 0.5513 GB, free: 23.04 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.006037, allocations: 71.41 kB / 0.5514 GB, free: 22.97 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.369e-05/0.006081, allocations: 59.16 kB / 0.5515 GB, free: 22.91 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.597e-05/0.006117, allocations: 334.7 kB / 0.5518 GB, free: 22.57 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.006163, allocations: 93 kB / 0.5519 GB, free: 22.46 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.477e-05/0.006238, allocations: 185.3 kB / 0.552 GB, free: 22.23 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.5e-05/0.006333, allocations: 211.6 kB / 0.5522 GB, free: 21.98 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.006335, allocations: 0 / 0.5522 GB, free: 21.98 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001434/0.006478, allocations: 265.1 kB / 0.5525 GB, free: 21.7 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.006499, allocations: 63.39 kB / 0.5526 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.855e-06/0.006502, allocations: 0 / 0.5526 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.193e-06/0.006509, allocations: 4 kB / 0.5526 GB, free: 21.62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001444/0.006653, allocations: 67.89 kB / 0.5526 GB, free: 21.55 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.915e-06/0.006656, allocations: 7.938 kB / 0.5526 GB, free: 21.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.671e-05/0.006733, allocations: 12 kB / 0.5527 GB, free: 21.53 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.047e-05/0.006744, allocations: 16.2 kB / 0.5527 GB, free: 21.52 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 7.862e-05/0.006822, allocations: 161.7 kB / 0.5528 GB, free: 21.34 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.006842, allocations: 27.97 kB / 0.5528 GB, free: 21.32 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.351e-05/0.006866, allocations: 21.97 kB / 0.5529 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.006867, allocations: 0 / 0.5529 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.006869, allocations: 3.25 kB / 0.5529 GB, free: 21.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.006873, allocations: 7.922 kB / 0.5529 GB, free: 21.28 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002099/0.007083, allocations: 376.1 kB / 0.5532 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.007084, allocations: 4 kB / 0.5532 GB, free: 20.88 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.007193, allocations: 39.97 kB / 0.5533 GB, free: 20.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.742e-05/0.007211, allocations: 15.86 kB / 0.5533 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.007212, allocations: 7.875 kB / 0.5533 GB, free: 20.82 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.007224, allocations: 11.98 kB / 0.5533 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.007225, allocations: 0 / 0.5533 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.007226, allocations: 0 / 0.5533 GB, free: 20.8 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001673/0.007393, allocations: 349 kB / 0.5536 GB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.01e-05/0.007413, allocations: 4 kB / 0.5536 GB, free: 20.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.918e-05/0.007483, allocations: 19.98 kB / 0.5537 GB, free: 20.41 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.303e-05/0.007516, allocations: 19.91 kB / 0.5537 GB, free: 20.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.007522, allocations: 4 kB / 0.5537 GB, free: 20.38 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.564e-05/0.007558, allocations: 63.08 kB / 0.5538 GB, free: 20.32 MB / 410.7 MB Notification: Performance of sort global known variables: time 4e-08/0.007558, allocations: 0 / 0.5538 GB, free: 20.32 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001471/0.007705, allocations: 52 kB / 0.5538 GB, free: 20.27 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 4.838e-05/0.007753, allocations: 88.36 kB / 0.5539 GB, free: 20.18 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001463/0.007899, allocations: 316.7 kB / 0.5542 GB, free: 19.82 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.007905, allocations: 4 kB / 0.5542 GB, free: 19.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.076e-05/0.007976, allocations: 156.8 kB / 0.5543 GB, free: 19.64 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.008249, allocations: 0.5141 MB / 0.5548 GB, free: 19.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005055/0.0133, allocations: 0.5433 MB / 0.5554 GB, free: 18.46 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.674e-05/0.01334, allocations: 76.33 kB / 0.5554 GB, free: 18.37 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 7.892e-05/0.01342, allocations: 25.94 kB / 0.5555 GB, free: 18.34 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001438/0.01356, allocations: 119.3 kB / 0.5556 GB, free: 18.23 MB / 410.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01356, allocations: 0 / 0.5556 GB, free: 18.23 MB / 410.7 MB Notification: Performance of Templates: time 0.004513/0.01808, allocations: 3.76 MB / 0.5593 GB, free: 14.56 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: 7.6258795484900475]