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.00213/0.00213, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002086/0.002086, allocations: 173.9 kB / 22.46 MB, free: 2.105 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 1.608/1.608, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.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.6/2.6, allocations: 292.9 MB / 0.5392 GB, free: 50.21 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_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.064e-06/2.064e-06, allocations: 0 / 0.6998 GB, free: 8.609 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.479e-05/3.685e-05, allocations: 7.688 kB / 0.6998 GB, free: 8.602 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult): time 0.00314/0.003177, allocations: 2.272 MB / 0.7021 GB, free: 6.312 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0009666/0.004144, allocations: 0.5925 MB / 0.7026 GB, free: 5.719 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.004264, allocations: 0 / 0.7026 GB, free: 5.719 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.004405, allocations: 35.7 kB / 0.7027 GB, free: 5.684 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002184/0.004624, allocations: 75.28 kB / 0.7027 GB, free: 5.609 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.00486, allocations: 59.8 kB / 0.7028 GB, free: 5.551 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.005161, allocations: 266.6 kB / 0.7031 GB, free: 5.289 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001661/0.005327, allocations: 36.56 kB / 0.7031 GB, free: 5.258 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001736/0.005501, allocations: 135.7 kB / 0.7032 GB, free: 5.125 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002315/0.005732, allocations: 83.72 kB / 0.7033 GB, free: 5.043 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.364e-05/0.005766, allocations: 16 kB / 0.7033 GB, free: 5.027 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.636e-05/0.005802, allocations: 23.94 kB / 0.7033 GB, free: 5.004 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.925e-05/0.005842, allocations: 35.84 kB / 0.7034 GB, free: 4.969 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.743e-05/0.005929, allocations: 71.83 kB / 0.7034 GB, free: 4.898 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002473/0.006176, allocations: 195.4 kB / 0.7036 GB, free: 4.707 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.00618, allocations: 0 / 0.7036 GB, free: 4.707 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.793e-06/0.006182, allocations: 4 kB / 0.7036 GB, free: 4.703 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.311e-06/0.006188, allocations: 0 / 0.7036 GB, free: 4.703 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.0008481/0.007036, allocations: 492.8 kB / 0.7041 GB, free: 4.176 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/0.007088, allocations: 15.95 kB / 0.7041 GB, free: 4.16 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.227e-05/0.007151, allocations: 20.84 kB / 0.7041 GB, free: 4.141 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002464/0.007397, allocations: 188.9 kB / 0.7043 GB, free: 3.93 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.273e-05/0.00742, allocations: 12.59 kB / 0.7043 GB, free: 3.918 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.86e-05/0.007458, allocations: 20.38 kB / 0.7043 GB, free: 3.898 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003813/0.00784, allocations: 196.8 kB / 0.7045 GB, free: 3.695 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.007857, allocations: 0 / 0.7045 GB, free: 3.695 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.007881, allocations: 8 kB / 0.7045 GB, free: 3.688 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-06/0.007888, allocations: 4 kB / 0.7045 GB, free: 3.684 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003531/0.008241, allocations: 142.3 kB / 0.7047 GB, free: 3.539 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007491/0.008991, allocations: 493.3 kB / 0.7051 GB, free: 3.023 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004642/0.009455, allocations: 177.5 kB / 0.7053 GB, free: 2.836 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001663/0.009621, allocations: 98.52 kB / 0.7054 GB, free: 2.73 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.213e-05/0.009633, allocations: 0 / 0.7054 GB, free: 2.73 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003074/0.009941, allocations: 224.5 kB / 0.7056 GB, free: 2.48 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.573e-06/0.009942, allocations: 0 / 0.7056 GB, free: 2.48 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001375/0.01132, allocations: 0.7025 MB / 0.7063 GB, free: 1.715 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.522e-05/0.01137, allocations: 140.5 kB / 0.7064 GB, free: 1.547 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.01153, allocations: 211.8 kB / 0.7066 GB, free: 1.328 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.163e-05/0.01155, allocations: 29.7 kB / 0.7067 GB, free: 1.293 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.927e-05/0.01161, allocations: 128.5 kB / 0.7068 GB, free: 1.164 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.177e-05/0.01165, allocations: 75.41 kB / 0.7069 GB, free: 1.09 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.01172, allocations: 61.59 kB / 0.7069 GB, free: 1.023 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.833e-05/0.01179, allocations: 338.8 kB / 0.7073 GB, free: 0.6836 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002077/0.012, allocations: 144.9 kB / 0.7074 GB, free: 0.5234 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002163/0.01222, allocations: 223.7 kB / 0.7076 GB, free: 268 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003816/0.0126, allocations: 282.3 kB / 0.7079 GB, free: 15.95 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.0126, allocations: 0 / 0.7079 GB, free: 15.95 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007297/0.01333, allocations: 380.1 kB / 0.7082 GB, free: 15.54 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.967e-05/0.0134, allocations: 72.48 kB / 0.7083 GB, free: 15.46 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.01341, allocations: 4 kB / 0.7083 GB, free: 15.46 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.989e-05/0.01343, allocations: 3.938 kB / 0.7083 GB, free: 15.45 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.01365, allocations: 55.91 kB / 0.7084 GB, free: 15.4 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.01366, allocations: 7.938 kB / 0.7084 GB, free: 15.39 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001886/0.01385, allocations: 15.98 kB / 0.7084 GB, free: 15.38 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.01387, allocations: 8 kB / 0.7084 GB, free: 15.37 MB / 426.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.0002406/0.01411, allocations: 187.2 kB / 0.7086 GB, free: 15.17 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.058e-05/0.01415, allocations: 19.91 kB / 0.7086 GB, free: 15.15 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.625e-05/0.01421, allocations: 21.95 kB / 0.7086 GB, free: 15.13 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.428e-06/0.01422, allocations: 3.938 kB / 0.7086 GB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.01422, allocations: 0 / 0.7086 GB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.558e-06/0.01423, allocations: 4 kB / 0.7086 GB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008829/0.01511, allocations: 0.5329 MB / 0.7091 GB, free: 14.54 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01512, allocations: 3.938 kB / 0.7091 GB, free: 14.54 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001971/0.01531, allocations: 35.97 kB / 0.7092 GB, free: 14.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.01532, allocations: 0 / 0.7092 GB, free: 14.5 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.472e-05/0.01534, allocations: 8 kB / 0.7092 GB, free: 14.49 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.01534, allocations: 0 / 0.7092 GB, free: 14.49 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.902e-06/0.01535, allocations: 3.938 kB / 0.7092 GB, free: 14.49 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00088/0.01623, allocations: 0.4955 MB / 0.7097 GB, free: 13.96 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.01627, allocations: 15.94 kB / 0.7097 GB, free: 13.95 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.93e-05/0.01632, allocations: 12 kB / 0.7097 GB, free: 13.93 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.01649, allocations: 15.98 kB / 0.7097 GB, free: 13.92 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000151/0.01664, allocations: 23.97 kB / 0.7097 GB, free: 13.89 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.01666, allocations: 7.938 kB / 0.7097 GB, free: 13.89 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002074/0.01687, allocations: 153.5 kB / 0.7099 GB, free: 13.74 MB / 426.8 MB Notification: Performance of sort global known variables: time 8e-08/0.01687, allocations: 0 / 0.7099 GB, free: 13.74 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003062/0.01718, allocations: 56 kB / 0.7099 GB, free: 13.68 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 0.0001381/0.01731, allocations: 106.1 kB / 0.71 GB, free: 13.57 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000685/0.018, allocations: 387.5 kB / 0.7104 GB, free: 13.15 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.018, allocations: 0 / 0.7104 GB, free: 13.15 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002886/0.01829, allocations: 173 kB / 0.7106 GB, free: 12.96 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004815/0.01877, allocations: 64.31 kB / 0.7106 GB, free: 12.9 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001219/0.01999, allocations: 0.5773 MB / 0.7112 GB, free: 12.29 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.02012, allocations: 121.3 kB / 0.7113 GB, free: 12.16 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 9.609e-05/0.02022, allocations: 25.94 kB / 0.7113 GB, free: 12.13 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.02029, allocations: 28.5 kB / 0.7114 GB, free: 12.1 MB / 426.8 MB Notification: Performance of SimCode: time 5.81e-07/0.02029, allocations: 0 / 0.7114 GB, free: 12.1 MB / 426.8 MB Notification: Performance of Templates: time 0.008484/0.02878, allocations: 3.289 MB / 0.7146 GB, free: 8.922 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Gentamicin.Gentamicin_higher_adult.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.088648061035201]