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.0007721/0.0007721, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001295/0.002068, allocations: 435.8 kB / 10.33 MB, free: 368 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.0007549/0.0007549, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001029/0.001784, allocations: 463.6 kB / 11.68 MB, free: 2.484 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.9302/0.9302, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09681/1.027, allocations: 53.65 MB / 243.2 MB, free: 15.59 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 0.7419/0.7419, allocations: 291.2 MB / 0.5226 GB, free: 52.91 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02532/0.7673, allocations: 21.05 MB / 0.5431 GB, free: 31.93 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.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.233e-06/1.233e-06, allocations: 3.938 kB / 0.5445 GB, free: 30.55 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 8.536e-06/9.769e-06, allocations: 6.25 kB / 0.5445 GB, free: 30.54 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam): time 0.001965/0.001975, allocations: 2.922 MB / 0.5474 GB, free: 27.61 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006507/0.002626, allocations: 0.7227 MB / 0.5481 GB, free: 26.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.002698, allocations: 4 kB / 0.5481 GB, free: 26.88 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.599e-05/0.002754, allocations: 35.58 kB / 0.5481 GB, free: 26.85 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001242/0.002879, allocations: 123 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001139/0.002993, allocations: 75.89 kB / 0.5483 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.003206, allocations: 393.8 kB / 0.5487 GB, free: 26.27 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000103/0.003309, allocations: 54.86 kB / 0.5487 GB, free: 26.21 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00017/0.003479, allocations: 245.6 kB / 0.549 GB, free: 25.98 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001497/0.003629, allocations: 123.6 kB / 0.5491 GB, free: 25.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.643e-05/0.003656, allocations: 24 kB / 0.5491 GB, free: 25.83 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.562e-05/0.003681, allocations: 24 kB / 0.5491 GB, free: 25.81 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.969e-05/0.003711, allocations: 39.81 kB / 0.5492 GB, free: 25.77 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.837e-05/0.003779, allocations: 99.8 kB / 0.5493 GB, free: 25.67 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.003959, allocations: 203.2 kB / 0.5494 GB, free: 25.47 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.391e-05/0.003973, allocations: 0 / 0.5494 GB, free: 25.47 MB / 410.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.003974, allocations: 0 / 0.5494 GB, free: 25.47 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.546e-05/0.003989, allocations: 0 / 0.5494 GB, free: 25.47 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: 48 * Number of variables: 48 Notification: Performance of Generate backend data structure: time 0.0006598/0.004649, allocations: 0.6205 MB / 0.55 GB, free: 24.81 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.026e-05/0.004679, allocations: 11.89 kB / 0.5501 GB, free: 24.8 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.973e-05/0.004729, allocations: 36.91 kB / 0.5501 GB, free: 24.77 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.004897, allocations: 193.5 kB / 0.5503 GB, free: 24.55 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.932e-05/0.004917, allocations: 17.12 kB / 0.5503 GB, free: 24.54 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.396e-05/0.004941, allocations: 20.38 kB / 0.5503 GB, free: 24.52 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001819/0.005123, allocations: 250.1 kB / 0.5506 GB, free: 24.24 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.101e-05/0.005134, allocations: 0 / 0.5506 GB, free: 24.24 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.187e-05/0.005145, allocations: 8 kB / 0.5506 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005151, allocations: 4 kB / 0.5506 GB, free: 24.23 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.005256, allocations: 141.8 kB / 0.5507 GB, free: 24.08 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005042/0.00576, allocations: 0.5155 MB / 0.5512 GB, free: 23.54 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001826/0.005943, allocations: 156.9 kB / 0.5514 GB, free: 23.36 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.94e-05/0.005992, allocations: 100.5 kB / 0.5515 GB, free: 23.25 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.006003, allocations: 7.938 kB / 0.5515 GB, free: 23.24 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000166/0.006169, allocations: 313.8 kB / 0.5518 GB, free: 22.89 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.413e-06/0.006171, allocations: 4 kB / 0.5518 GB, free: 22.89 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006893/0.00686, allocations: 0.8087 MB / 0.5526 GB, free: 21.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.029e-05/0.0069, allocations: 217.6 kB / 0.5528 GB, free: 21.72 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.979e-05/0.00699, allocations: 217 kB / 0.553 GB, free: 21.5 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.007006, allocations: 37.7 kB / 0.553 GB, free: 21.46 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.544e-05/0.007042, allocations: 145.3 kB / 0.5531 GB, free: 21.31 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.007086, allocations: 107.1 kB / 0.5532 GB, free: 21.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.447e-05/0.007141, allocations: 74.16 kB / 0.5533 GB, free: 21.13 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.148e-05/0.007182, allocations: 346.7 kB / 0.5536 GB, free: 20.78 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.3e-05/0.007245, allocations: 147.8 kB / 0.5538 GB, free: 20.62 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.352e-05/0.007329, allocations: 251.2 kB / 0.554 GB, free: 20.3 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.007473, allocations: 340.2 kB / 0.5543 GB, free: 19.91 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.007475, allocations: 7.375 kB / 0.5544 GB, free: 19.9 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002045/0.00768, allocations: 395.3 kB / 0.5547 GB, free: 19.47 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.692e-05/0.007717, allocations: 89.11 kB / 0.5548 GB, free: 19.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-06/0.007722, allocations: 4 kB / 0.5548 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.746e-06/0.00773, allocations: 4 kB / 0.5548 GB, free: 19.36 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002097/0.00794, allocations: 111.8 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.007945, allocations: 4 kB / 0.5549 GB, free: 19.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.16e-05/0.008036, allocations: 20.17 kB / 0.555 GB, free: 19.23 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.274e-05/0.008049, allocations: 16 kB / 0.555 GB, free: 19.21 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: 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.0001047/0.008154, allocations: 219 kB / 0.5552 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.632e-05/0.00818, allocations: 27.97 kB / 0.5552 GB, free: 18.95 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.258e-05/0.008213, allocations: 34.95 kB / 0.5552 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.008215, allocations: 0 / 0.5552 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.008217, allocations: 4 kB / 0.5552 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.008222, allocations: 0 / 0.5552 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003383/0.008561, allocations: 0.5142 MB / 0.5557 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.008562, allocations: 4 kB / 0.5557 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001631/0.008725, allocations: 67.89 kB / 0.5558 GB, free: 18.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.454e-05/0.00875, allocations: 23.81 kB / 0.5558 GB, free: 18.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.008753, allocations: 0 / 0.5558 GB, free: 18.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.021e-05/0.008773, allocations: 11.98 kB / 0.5558 GB, free: 18.24 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.706e-06/0.008776, allocations: 3.938 kB / 0.5559 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.008778, allocations: 4 kB / 0.5559 GB, free: 18.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002581/0.009036, allocations: 0.5212 MB / 0.5564 GB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.008e-05/0.009066, allocations: 8 kB / 0.5564 GB, free: 17.65 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.426e-05/0.00915, allocations: 19.92 kB / 0.5564 GB, free: 17.63 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.201e-05/0.009202, allocations: 31.89 kB / 0.5564 GB, free: 17.6 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.148e-05/0.009214, allocations: 8 kB / 0.5564 GB, free: 17.59 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.473e-05/0.009259, allocations: 78.77 kB / 0.5565 GB, free: 17.51 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009259, allocations: 0 / 0.5565 GB, free: 17.51 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.009433, allocations: 84 kB / 0.5566 GB, free: 17.43 MB / 410.7 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 6.777e-05/0.009501, allocations: 100.4 kB / 0.5567 GB, free: 17.32 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002025/0.009703, allocations: 492.4 kB / 0.5571 GB, free: 16.77 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.322e-06/0.009709, allocations: 4 kB / 0.5572 GB, free: 16.77 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.577e-05/0.009805, allocations: 259 kB / 0.5574 GB, free: 16.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002506/0.01006, allocations: 122.4 kB / 0.5575 GB, free: 16.36 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007288/0.01734, allocations: 0.76 MB / 0.5583 GB, free: 15.57 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.607e-05/0.01738, allocations: 93.11 kB / 0.5583 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.331e-05/0.01746, allocations: 38.95 kB / 0.5584 GB, free: 15.42 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000151/0.01761, allocations: 145.3 kB / 0.5585 GB, free: 15.28 MB / 410.7 MB Notification: Performance of SimCode: time 8.51e-07/0.01762, allocations: 0 / 0.5585 GB, free: 15.28 MB / 410.7 MB Notification: Performance of Templates: time 0.2237/0.2413, allocations: 5.188 MB / 0.5636 GB, free: 83.38 MB / 410.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: 3.527269434183836]