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.001865/0.001865, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.001948/0.001948, allocations: 211.7 kB / 22.25 MB, free: 3.582 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.722/1.722, allocations: 230.6 MB / 256 MB, free: 9.602 MB / 202.7 MB " [Timeout remaining time 178] 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.251/2.251, allocations: 316.7 MB / 0.6144 GB, free: 93.04 MB / 410.7 MB " [Timeout remaining time 177] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00386/0.00386, allocations: 83.66 kB / 0.7749 GB, free: 14.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1766/0.1805, allocations: 73.99 MB / 0.8472 GB, free: 4.879 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_lower_adult): time 0.004114/0.1846, allocations: 2.285 MB / 0.8494 GB, free: 2.594 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1859, allocations: 0.591 MB / 0.85 GB, free: 2.008 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.604e-05/0.186, allocations: 4.594 kB / 0.85 GB, free: 2.004 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.1861, allocations: 23.72 kB / 0.85 GB, free: 1.98 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002546/0.1864, allocations: 80.58 kB / 0.8501 GB, free: 1.902 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002491/0.1866, allocations: 52.45 kB / 0.8502 GB, free: 1.852 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003771/0.187, allocations: 255.5 kB / 0.8504 GB, free: 1.602 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001746/0.1872, allocations: 28.58 kB / 0.8504 GB, free: 1.574 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001843/0.1874, allocations: 104.1 kB / 0.8505 GB, free: 1.473 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002669/0.1876, allocations: 88.05 kB / 0.8506 GB, free: 1.387 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.211e-05/0.1877, allocations: 20.5 kB / 0.8506 GB, free: 1.367 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.699e-05/0.1877, allocations: 16 kB / 0.8507 GB, free: 1.352 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.201e-05/0.1878, allocations: 44.48 kB / 0.8507 GB, free: 1.309 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.1879, allocations: 92.19 kB / 0.8508 GB, free: 1.219 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.1883, allocations: 191.2 kB / 0.851 GB, free: 1.031 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.1883, allocations: 0.5625 kB / 0.851 GB, free: 1.031 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1883, allocations: 0 / 0.851 GB, free: 1.031 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.704e-06/0.1883, allocations: 4.625 kB / 0.851 GB, free: 1.027 MB / 474.8 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.001129/0.1894, allocations: 0.4885 MB / 0.8514 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/0.1895, allocations: 10.22 kB / 0.8515 GB, free: 500 kB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.809e-05/0.1895, allocations: 20.84 kB / 0.8515 GB, free: 480 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003472/0.1899, allocations: 186.5 kB / 0.8517 GB, free: 268 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.373e-05/0.1899, allocations: 16.17 kB / 0.8517 GB, free: 252 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.812e-05/0.19, allocations: 15.94 kB / 0.8517 GB, free: 236 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004822/0.1904, allocations: 196 kB / 0.8519 GB, free: 28 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.984e-05/0.1905, allocations: 0 / 0.8519 GB, free: 28 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.186e-05/0.1905, allocations: 4 kB / 0.8519 GB, free: 24 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.925e-06/0.1905, allocations: 7.938 kB / 0.8519 GB, free: 16 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000419/0.1909, allocations: 151.2 kB / 0.852 GB, free: 15.86 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009958/0.1919, allocations: 488.4 kB / 0.8525 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007249/0.1926, allocations: 168.2 kB / 0.8527 GB, free: 15.18 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000202/0.1928, allocations: 98.52 kB / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.235e-05/0.1928, allocations: 0 / 0.8527 GB, free: 15.07 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004291/0.1933, allocations: 230.4 kB / 0.853 GB, free: 14.82 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.332e-06/0.1933, allocations: 0 / 0.853 GB, free: 14.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001627/0.1949, allocations: 0.6999 MB / 0.8537 GB, free: 14.06 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001088/0.195, allocations: 136.5 kB / 0.8538 GB, free: 13.89 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000273/0.1953, allocations: 216.2 kB / 0.854 GB, free: 13.67 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.631e-05/0.1953, allocations: 34.36 kB / 0.854 GB, free: 13.63 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001194/0.1954, allocations: 136.4 kB / 0.8541 GB, free: 13.49 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.307e-05/0.1955, allocations: 68.2 kB / 0.8542 GB, free: 13.43 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.1956, allocations: 53.7 kB / 0.8543 GB, free: 13.37 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001956/0.1958, allocations: 335.5 kB / 0.8546 GB, free: 13.03 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.1961, allocations: 141.5 kB / 0.8547 GB, free: 12.88 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003299/0.1964, allocations: 224.2 kB / 0.8549 GB, free: 12.61 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004782/0.1969, allocations: 276.8 kB / 0.8552 GB, free: 12.3 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1969, allocations: 0 / 0.8552 GB, free: 12.3 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.4607/0.6576, allocations: 399.7 kB / 0.8556 GB, free: 28.21 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.318e-05/0.6577, allocations: 62.33 kB / 0.8556 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.235e-05/0.6577, allocations: 3.594 kB / 0.8556 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.319e-05/0.6577, allocations: 3.312 kB / 0.8556 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000239/0.658, allocations: 53.59 kB / 0.8557 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.422e-05/0.658, allocations: 3.75 kB / 0.8557 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002282/0.6582, allocations: 16.72 kB / 0.8557 GB, free: 28.14 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.6583, allocations: 16.72 kB / 0.8557 GB, free: 28.14 MB / 490.8 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.0002488/0.6585, allocations: 171.7 kB / 0.8559 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.721e-05/0.6585, allocations: 23.23 kB / 0.8559 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.105e-05/0.6586, allocations: 22.25 kB / 0.8559 GB, free: 27.99 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.6586, allocations: 2.484 kB / 0.8559 GB, free: 27.99 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.6586, allocations: 5.875 kB / 0.8559 GB, free: 27.99 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.6586, allocations: 1.875 kB / 0.8559 GB, free: 27.99 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008139/0.6594, allocations: 0.5423 MB / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.6594, allocations: 0 / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001879/0.6596, allocations: 38.84 kB / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.6596, allocations: 0 / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.118e-05/0.6596, allocations: 8.969 kB / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.096e-06/0.6596, allocations: 1.5 kB / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6596, allocations: 3.938 kB / 0.8565 GB, free: 27.69 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007678/0.6604, allocations: 0.4893 MB / 0.857 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.225e-05/0.6605, allocations: 22.98 kB / 0.857 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.361e-05/0.6605, allocations: 5.719 kB / 0.857 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001629/0.6607, allocations: 17.38 kB / 0.8571 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.6608, allocations: 22.58 kB / 0.8571 GB, free: 27.46 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.555e-05/0.6608, allocations: 4.875 kB / 0.8571 GB, free: 27.46 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001593/0.661, allocations: 152.9 kB / 0.8572 GB, free: 27.39 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.661, allocations: 0.5625 kB / 0.8572 GB, free: 27.39 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003261/0.6613, allocations: 57.56 kB / 0.8573 GB, free: 27.39 MB / 490.8 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.0001196/0.6614, allocations: 106.7 kB / 0.8574 GB, free: 27.3 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0006086/0.662, allocations: 382.3 kB / 0.8577 GB, free: 27.08 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.662, allocations: 0.625 kB / 0.8577 GB, free: 27.08 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002405/0.6623, allocations: 174.9 kB / 0.8579 GB, free: 26.98 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004904/0.6627, allocations: 67.5 kB / 0.858 GB, free: 26.98 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.6642, allocations: 0.6633 MB / 0.8586 GB, free: 26.72 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001292/0.6643, allocations: 123.8 kB / 0.8587 GB, free: 26.64 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001174/0.6644, allocations: 26.72 kB / 0.8588 GB, free: 26.64 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.387e-05/0.6645, allocations: 26.89 kB / 0.8588 GB, free: 26.63 MB / 490.8 MB Notification: Performance of SimCode: time 4.41e-07/0.6645, allocations: 2.406 kB / 0.8588 GB, free: 26.63 MB / 490.8 MB Notification: Performance of Templates: time 0.008957/0.6734, allocations: 3.575 MB / 0.8623 GB, free: 26.32 MB / 490.8 MB " [Timeout remaining time 659] 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: 8.588252868968993]