Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.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.001894/0.001894, 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.002313/0.002313, allocations: 174.3 kB / 22.46 MB, free: 2.102 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.565/1.565, allocations: 177.1 MB / 202.8 MB, free: 5.734 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 1.285/1.285, allocations: 293 MB / 0.5392 GB, free: 49.75 MB / 410.7 MB " [Timeout remaining time 178] 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.Digoxin.Digoxin_Hornestam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam") translateModel(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam,tolerance=1e-09,outputFormat="empty",numberOfIntervals=86400,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6999 GB, free: 8.629 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.546e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.625 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam): time 0.00337/0.003396, allocations: 2.684 MB / 0.7025 GB, free: 5.922 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.00125/0.004646, allocations: 0.6701 MB / 0.7032 GB, free: 5.25 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002086/0.004855, allocations: 0 / 0.7032 GB, free: 5.25 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001566/0.005011, allocations: 35.64 kB / 0.7032 GB, free: 5.215 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003361/0.005347, allocations: 122.9 kB / 0.7033 GB, free: 5.094 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002495/0.005597, allocations: 83.77 kB / 0.7034 GB, free: 5.012 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003668/0.005964, allocations: 385.9 kB / 0.7038 GB, free: 4.633 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001615/0.006125, allocations: 56.83 kB / 0.7038 GB, free: 4.582 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002906/0.006416, allocations: 203.5 kB / 0.704 GB, free: 4.383 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002595/0.006675, allocations: 115.7 kB / 0.7041 GB, free: 4.27 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/0.006724, allocations: 24 kB / 0.7041 GB, free: 4.246 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.189e-05/0.006775, allocations: 24 kB / 0.7042 GB, free: 4.223 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.059e-05/0.006816, allocations: 59.7 kB / 0.7042 GB, free: 4.164 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001137/0.00693, allocations: 107.8 kB / 0.7043 GB, free: 4.059 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002877/0.007218, allocations: 295.1 kB / 0.7046 GB, free: 3.77 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007221, allocations: 4 kB / 0.7046 GB, free: 3.766 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.152e-06/0.007222, allocations: 4 kB / 0.7046 GB, free: 3.762 MB / 410.8 MB Notification: Performance of Transformations before backend: time 9.288e-06/0.007232, allocations: 0 / 0.7046 GB, free: 3.762 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0009408/0.008173, allocations: 0.5769 MB / 0.7052 GB, free: 3.133 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.923e-05/0.008212, allocations: 12.03 kB / 0.7052 GB, free: 3.121 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.05e-05/0.008292, allocations: 32.75 kB / 0.7052 GB, free: 3.09 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.008542, allocations: 212.7 kB / 0.7054 GB, free: 2.859 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.492e-05/0.008567, allocations: 20.75 kB / 0.7054 GB, free: 2.84 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.134e-05/0.008608, allocations: 20.33 kB / 0.7055 GB, free: 2.82 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004332/0.009041, allocations: 300.4 kB / 0.7058 GB, free: 2.504 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.257e-05/0.009074, allocations: 7.984 kB / 0.7058 GB, free: 2.496 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.668e-05/0.0091, allocations: 8 kB / 0.7058 GB, free: 2.488 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.009108, allocations: 8 kB / 0.7058 GB, free: 2.48 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004269/0.009534, allocations: 228.5 kB / 0.706 GB, free: 2.242 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.01058, allocations: 0.6717 MB / 0.7067 GB, free: 1.531 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005089/0.01109, allocations: 242 kB / 0.7069 GB, free: 1.27 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.0113, allocations: 156.3 kB / 0.707 GB, free: 1.102 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.612e-05/0.01132, allocations: 8 kB / 0.707 GB, free: 1.094 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003982/0.01172, allocations: 353.6 kB / 0.7074 GB, free: 0.6992 MB / 410.8 MB Notification: Performance of pre-optimization done (n=32): time 1.754e-06/0.01172, allocations: 0 / 0.7074 GB, free: 0.6992 MB / 410.8 MB Notification: Performance of matching and sorting (n=34): time 0.00202/0.01374, allocations: 1.077 MB / 0.7084 GB, free: 15.53 MB / 426.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001639/0.0139, allocations: 217.6 kB / 0.7086 GB, free: 15.27 MB / 426.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003266/0.01423, allocations: 245.8 kB / 0.7089 GB, free: 15.02 MB / 426.8 MB Notification: Performance of collectPreVariables (initialization): time 4.29e-05/0.01427, allocations: 33.7 kB / 0.7089 GB, free: 14.98 MB / 426.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.01441, allocations: 152.8 kB / 0.709 GB, free: 14.82 MB / 426.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.01453, allocations: 119.1 kB / 0.7092 GB, free: 14.71 MB / 426.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.01466, allocations: 70.19 kB / 0.7092 GB, free: 14.63 MB / 426.8 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.01486, allocations: 342.8 kB / 0.7096 GB, free: 14.29 MB / 426.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000392/0.01525, allocations: 215.8 kB / 0.7098 GB, free: 14.06 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004469/0.0157, allocations: 315.2 kB / 0.7101 GB, free: 13.69 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007098/0.01641, allocations: 431 kB / 0.7105 GB, free: 13.2 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.49e-06/0.01641, allocations: 4 kB / 0.7105 GB, free: 13.2 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001014/0.01743, allocations: 0.5421 MB / 0.711 GB, free: 12.61 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.906e-05/0.01752, allocations: 97.16 kB / 0.7111 GB, free: 12.5 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.102e-05/0.01753, allocations: 7.938 kB / 0.7111 GB, free: 12.49 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.01755, allocations: 4 kB / 0.7111 GB, free: 12.49 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000348/0.0179, allocations: 75.89 kB / 0.7112 GB, free: 12.41 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.625e-05/0.01791, allocations: 11.98 kB / 0.7112 GB, free: 12.4 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002561/0.01817, allocations: 19.98 kB / 0.7112 GB, free: 12.38 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.617e-05/0.01821, allocations: 16 kB / 0.7112 GB, free: 12.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: 12 * Number of states: 0 () * Number of discrete variables: 21 (peripheral.Cmin,$PRE.peripheral.Cmin,peripheral.Cmax,$PRE.peripheral.Cmax,central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,peripheral.rising,$PRE.peripheral.rising,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 3 * 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.0002975/0.0185, allocations: 230.8 kB / 0.7114 GB, free: 12.12 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.817e-05/0.01856, allocations: 31.81 kB / 0.7115 GB, free: 12.09 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.628e-05/0.01864, allocations: 30.95 kB / 0.7115 GB, free: 12.06 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.039e-05/0.01865, allocations: 4 kB / 0.7115 GB, free: 12.05 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.145e-06/0.01866, allocations: 4 kB / 0.7115 GB, free: 12.05 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.451e-06/0.01866, allocations: 0 / 0.7115 GB, free: 12.05 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001345/0.02001, allocations: 0.7677 MB / 0.7123 GB, free: 11.22 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.02001, allocations: 0 / 0.7123 GB, free: 11.22 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000306/0.02031, allocations: 63.91 kB / 0.7123 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.567e-06/0.02032, allocations: 0 / 0.7123 GB, free: 11.16 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.209e-05/0.02035, allocations: 11.98 kB / 0.7123 GB, free: 11.14 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.02035, allocations: 0 / 0.7123 GB, free: 11.14 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.02036, allocations: 3.938 kB / 0.7123 GB, free: 11.14 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00124/0.0216, allocations: 0.7153 MB / 0.713 GB, free: 10.37 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.666e-05/0.02166, allocations: 31.86 kB / 0.7131 GB, free: 10.34 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.962e-05/0.02172, allocations: 12 kB / 0.7131 GB, free: 10.33 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002236/0.02195, allocations: 19.98 kB / 0.7131 GB, free: 10.31 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001105/0.02206, allocations: 31.89 kB / 0.7131 GB, free: 10.28 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.684e-05/0.02208, allocations: 8 kB / 0.7131 GB, free: 10.27 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002112/0.0223, allocations: 177.2 kB / 0.7133 GB, free: 10.1 MB / 426.8 MB Notification: Performance of sort global known variables: time 6e-08/0.0223, allocations: 0 / 0.7133 GB, free: 10.1 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003862/0.02268, allocations: 84 kB / 0.7134 GB, free: 10.02 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass,peripheral.C,peripheral.AUC) * Number of discrete variables: 13 ($whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count,peripheral.Cmax,peripheral.Cmin,peripheral.rising) * Number of discrete states: 11 (periodicDose.pulse.count,peripheral.Cmin,$whenCondition4,peripheral.Cmax,$whenCondition3,peripheral.rising,central.Cmin,$whenCondition2,central.Cmax,$whenCondition1,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 2 * 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.0001744/0.02286, allocations: 122.6 kB / 0.7135 GB, free: 9.895 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0009336/0.02379, allocations: 0.5648 MB / 0.7141 GB, free: 9.262 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.02379, allocations: 0 / 0.7141 GB, free: 9.262 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0004314/0.02422, allocations: 301.8 kB / 0.7143 GB, free: 8.934 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005811/0.0248, allocations: 101.1 kB / 0.7144 GB, free: 8.836 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001639/0.02644, allocations: 0.7873 MB / 0.7152 GB, free: 8.012 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001789/0.02662, allocations: 155.7 kB / 0.7154 GB, free: 7.84 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001564/0.02678, allocations: 30.97 kB / 0.7154 GB, free: 7.809 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.193e-05/0.02687, allocations: 36.48 kB / 0.7154 GB, free: 7.77 MB / 426.8 MB Notification: Performance of SimCode: time 8.72e-07/0.02687, allocations: 0 / 0.7154 GB, free: 7.77 MB / 426.8 MB Notification: Performance of Templates: time 0.01114/0.03802, allocations: 4.475 MB / 0.7198 GB, free: 3.449 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.sim & ./Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.8848740151152015]