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.0009084/0.0009084, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001021/0.001021, allocations: 166.3 kB / 23.21 MB, free: 1.332 MB / 18.57 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.889/0.889, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.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.6777/0.6777, allocations: 291.1 MB / 0.5382 GB, free: 51.81 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 2.415e-06/2.415e-06, allocations: 0 / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.571e-05/3.812e-05, allocations: 10.16 kB / 0.6973 GB, free: 10.44 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult): time 0.002396/0.002434, allocations: 2.283 MB / 0.6995 GB, free: 8.145 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0007501/0.003184, allocations: 0.5924 MB / 0.7001 GB, free: 7.551 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.003277, allocations: 7.938 kB / 0.7001 GB, free: 7.543 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001266/0.003404, allocations: 31.7 kB / 0.7001 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001841/0.003588, allocations: 75.34 kB / 0.7002 GB, free: 7.438 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.003788, allocations: 51.86 kB / 0.7003 GB, free: 7.387 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002134/0.004001, allocations: 258.7 kB / 0.7005 GB, free: 7.133 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001509/0.004152, allocations: 48.44 kB / 0.7006 GB, free: 7.09 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000136/0.004288, allocations: 135.6 kB / 0.7007 GB, free: 6.957 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.00448, allocations: 75.8 kB / 0.7008 GB, free: 6.883 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.257e-05/0.004512, allocations: 20 kB / 0.7008 GB, free: 6.863 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.48e-05/0.004537, allocations: 20 kB / 0.7008 GB, free: 6.844 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.724e-05/0.004574, allocations: 43.77 kB / 0.7008 GB, free: 6.801 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 7.516e-05/0.004649, allocations: 71.83 kB / 0.7009 GB, free: 6.73 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001995/0.004849, allocations: 199.4 kB / 0.7011 GB, free: 6.535 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.004852, allocations: 0 / 0.7011 GB, free: 6.535 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.004853, allocations: 0 / 0.7011 GB, free: 6.535 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.438e-06/0.004858, allocations: 4 kB / 0.7011 GB, free: 6.531 MB / 410.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.000665/0.005523, allocations: 484.9 kB / 0.7016 GB, free: 6.012 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.005569, allocations: 8.031 kB / 0.7016 GB, free: 6.004 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.236e-05/0.005621, allocations: 20.84 kB / 0.7016 GB, free: 5.984 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.005803, allocations: 196.8 kB / 0.7018 GB, free: 5.766 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.005824, allocations: 8.609 kB / 0.7018 GB, free: 5.758 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.88e-05/0.005852, allocations: 16.38 kB / 0.7018 GB, free: 5.742 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002497/0.006102, allocations: 194.1 kB / 0.702 GB, free: 5.539 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.006115, allocations: 0 / 0.702 GB, free: 5.539 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.588e-05/0.006131, allocations: 11.94 kB / 0.702 GB, free: 5.527 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.052e-06/0.006137, allocations: 8 kB / 0.702 GB, free: 5.52 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001909/0.006328, allocations: 142.3 kB / 0.7021 GB, free: 5.375 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000523/0.006851, allocations: 493.3 kB / 0.7026 GB, free: 4.859 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.007178, allocations: 172.1 kB / 0.7028 GB, free: 4.676 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.985e-05/0.007277, allocations: 106.5 kB / 0.7029 GB, free: 4.562 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.327e-05/0.007291, allocations: 4 kB / 0.7029 GB, free: 4.559 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002451/0.007536, allocations: 220.5 kB / 0.7031 GB, free: 4.312 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.663e-06/0.007537, allocations: 0 / 0.7031 GB, free: 4.312 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.0009101/0.008447, allocations: 0.7116 MB / 0.7038 GB, free: 3.539 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.008491, allocations: 136.5 kB / 0.7039 GB, free: 3.375 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.008616, allocations: 211.8 kB / 0.7041 GB, free: 3.156 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.298e-05/0.008629, allocations: 33.7 kB / 0.7042 GB, free: 3.117 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.816e-05/0.008678, allocations: 128.5 kB / 0.7043 GB, free: 2.988 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.172e-05/0.008709, allocations: 71.41 kB / 0.7043 GB, free: 2.918 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.008e-05/0.008759, allocations: 57.66 kB / 0.7044 GB, free: 2.855 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.251e-05/0.008802, allocations: 334.8 kB / 0.7047 GB, free: 2.52 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001292/0.008931, allocations: 145 kB / 0.7049 GB, free: 2.359 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/0.009057, allocations: 225.3 kB / 0.7051 GB, free: 2.094 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002082/0.009265, allocations: 276.8 kB / 0.7053 GB, free: 1.781 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/0.009267, allocations: 0 / 0.7053 GB, free: 1.781 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000311/0.009578, allocations: 386.4 kB / 0.7057 GB, free: 1.375 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 3.041e-05/0.009609, allocations: 59.41 kB / 0.7058 GB, free: 1.305 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.009614, allocations: 4 kB / 0.7058 GB, free: 1.301 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.789e-05/0.009632, allocations: 11.92 kB / 0.7058 GB, free: 1.289 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.009747, allocations: 51.91 kB / 0.7058 GB, free: 1.238 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.009753, allocations: 8.219 kB / 0.7058 GB, free: 1.23 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.362e-05/0.009837, allocations: 15.98 kB / 0.7059 GB, free: 1.215 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.331e-05/0.00985, allocations: 19.88 kB / 0.7059 GB, free: 1.195 MB / 410.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.0001252/0.009975, allocations: 167.8 kB / 0.706 GB, free: 1.016 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.504e-05/0.01, allocations: 19.91 kB / 0.7061 GB, free: 0.9961 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.988e-05/0.01003, allocations: 29.89 kB / 0.7061 GB, free: 0.9648 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.01003, allocations: 3.938 kB / 0.7061 GB, free: 0.9609 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/0.01004, allocations: 8 kB / 0.7061 GB, free: 0.9531 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.01004, allocations: 0 / 0.7061 GB, free: 0.9531 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004323/0.01048, allocations: 0.5328 MB / 0.7066 GB, free: 380 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.01048, allocations: 0 / 0.7066 GB, free: 380 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000103/0.01058, allocations: 39.91 kB / 0.7066 GB, free: 340 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.01058, allocations: 0 / 0.7066 GB, free: 340 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.179e-05/0.0106, allocations: 4 kB / 0.7067 GB, free: 336 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.883e-06/0.0106, allocations: 0 / 0.7067 GB, free: 336 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.0106, allocations: 7.938 kB / 0.7067 GB, free: 328 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.01103, allocations: 0.496 MB / 0.7071 GB, free: 15.79 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.575e-05/0.01106, allocations: 11.91 kB / 0.7072 GB, free: 15.78 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.81e-05/0.01108, allocations: 12.03 kB / 0.7072 GB, free: 15.77 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.134e-05/0.01117, allocations: 15.98 kB / 0.7072 GB, free: 15.75 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.863e-05/0.01124, allocations: 23.91 kB / 0.7072 GB, free: 15.73 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.518e-06/0.01125, allocations: 7.938 kB / 0.7072 GB, free: 15.72 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001067/0.01136, allocations: 157.5 kB / 0.7074 GB, free: 15.57 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01136, allocations: 0 / 0.7074 GB, free: 15.57 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001908/0.01155, allocations: 56 kB / 0.7074 GB, free: 15.51 MB / 426.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 9.688e-05/0.01165, allocations: 105.4 kB / 0.7075 GB, free: 15.4 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0003682/0.01202, allocations: 383.5 kB / 0.7079 GB, free: 14.98 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.01202, allocations: 0 / 0.7079 GB, free: 14.98 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001435/0.01216, allocations: 173.4 kB / 0.708 GB, free: 14.8 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.01246, allocations: 62.34 kB / 0.7081 GB, free: 14.74 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008178/0.01328, allocations: 0.5992 MB / 0.7087 GB, free: 14.1 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.222e-05/0.01337, allocations: 125.2 kB / 0.7088 GB, free: 13.96 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.833e-05/0.01343, allocations: 28.48 kB / 0.7088 GB, free: 13.93 MB / 426.8 MB Notification: Performance of SimCode: time 9.52e-07/0.01343, allocations: 0 / 0.7088 GB, free: 13.93 MB / 426.8 MB Notification: Performance of Templates: time 0.004324/0.01776, allocations: 2.918 MB / 0.7117 GB, free: 11.04 MB / 426.8 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: 5.5278876926749945]