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.0007745/0.0007745, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001117/0.001892, allocations: 440 kB / 10.41 MB, free: 284 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.0007275/0.0007275, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009692/0.001697, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.022/1.022, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08831/1.111, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.732/0.732, allocations: 291.2 MB / 0.5228 GB, free: 52.52 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04777/0.7798, allocations: 21.04 MB / 0.5433 GB, free: 31.52 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.573e-06/1.573e-06, allocations: 0 / 0.5447 GB, free: 30.09 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.8e-05/1.958e-05, allocations: 2.312 kB / 0.5447 GB, free: 30.09 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam): time 0.009462/0.009482, allocations: 2.923 MB / 0.5476 GB, free: 27.16 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.01081, allocations: 0.7188 MB / 0.5483 GB, free: 26.44 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001252/0.01093, allocations: 3.938 kB / 0.5483 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001176/0.01105, allocations: 39.64 kB / 0.5483 GB, free: 26.39 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002361/0.01129, allocations: 119 kB / 0.5485 GB, free: 26.28 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00019/0.01148, allocations: 75.84 kB / 0.5485 GB, free: 26.2 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003448/0.01182, allocations: 389.9 kB / 0.5489 GB, free: 25.82 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003173/0.015, allocations: 58.86 kB / 0.549 GB, free: 25.77 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003445/0.01534, allocations: 245.5 kB / 0.5492 GB, free: 25.52 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.01559, allocations: 119.7 kB / 0.5493 GB, free: 25.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.801e-05/0.01564, allocations: 24 kB / 0.5493 GB, free: 25.38 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 4.849e-05/0.01569, allocations: 24 kB / 0.5493 GB, free: 25.36 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 4.368e-05/0.01573, allocations: 43.81 kB / 0.5494 GB, free: 25.32 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001008/0.01583, allocations: 95.81 kB / 0.5495 GB, free: 25.22 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002639/0.0161, allocations: 203.2 kB / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.344e-05/0.01611, allocations: 0 / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.01611, allocations: 0 / 0.5497 GB, free: 25.02 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.225e-05/0.01612, allocations: 0 / 0.5497 GB, free: 25.02 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.0007778/0.0169, allocations: 0.6166 MB / 0.5503 GB, free: 24.37 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.142e-05/0.01693, allocations: 15.89 kB / 0.5503 GB, free: 24.35 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.374e-05/0.01701, allocations: 36.91 kB / 0.5503 GB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.01723, allocations: 197.5 kB / 0.5505 GB, free: 24.09 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.553e-05/0.01726, allocations: 16.75 kB / 0.5505 GB, free: 24.08 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.212e-05/0.0173, allocations: 20.38 kB / 0.5506 GB, free: 24.06 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002766/0.01757, allocations: 247.6 kB / 0.5508 GB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.522e-05/0.01759, allocations: 4 kB / 0.5508 GB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.677e-05/0.01761, allocations: 4 kB / 0.5508 GB, free: 23.79 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.476e-06/0.01762, allocations: 8 kB / 0.5508 GB, free: 23.78 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001522/0.01777, allocations: 133.8 kB / 0.5509 GB, free: 23.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001417/0.01918, allocations: 0.5232 MB / 0.5514 GB, free: 23.09 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002186/0.0194, allocations: 156.2 kB / 0.5516 GB, free: 22.91 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.983e-05/0.01946, allocations: 100.5 kB / 0.5517 GB, free: 22.8 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.01948, allocations: 7.938 kB / 0.5517 GB, free: 22.79 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002005/0.01968, allocations: 317.4 kB / 0.552 GB, free: 22.43 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.793e-06/0.01968, allocations: 4 kB / 0.552 GB, free: 22.43 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008112/0.02049, allocations: 0.819 MB / 0.5528 GB, free: 21.52 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.75e-05/0.02054, allocations: 277 kB / 0.5531 GB, free: 21.19 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.02065, allocations: 221 kB / 0.5533 GB, free: 20.96 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.02067, allocations: 33.7 kB / 0.5533 GB, free: 20.92 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.72e-05/0.02072, allocations: 145.2 kB / 0.5534 GB, free: 20.78 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.273e-05/0.02077, allocations: 111.1 kB / 0.5536 GB, free: 20.67 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.746e-05/0.02085, allocations: 78.09 kB / 0.5536 GB, free: 20.59 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.991e-05/0.02089, allocations: 350.7 kB / 0.554 GB, free: 20.23 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.55e-05/0.02097, allocations: 143.8 kB / 0.5541 GB, free: 20.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001023/0.02108, allocations: 251.1 kB / 0.5543 GB, free: 19.77 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001782/0.02126, allocations: 339.8 kB / 0.5547 GB, free: 19.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.02126, allocations: 4 kB / 0.5547 GB, free: 19.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002514/0.02151, allocations: 387.3 kB / 0.555 GB, free: 18.94 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.562e-05/0.02155, allocations: 93.09 kB / 0.5551 GB, free: 18.83 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.02155, allocations: 4 kB / 0.5551 GB, free: 18.83 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.02156, allocations: 4 kB / 0.5551 GB, free: 18.82 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.02178, allocations: 103.9 kB / 0.5552 GB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.02179, allocations: 4 kB / 0.5552 GB, free: 18.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.806e-05/0.02188, allocations: 20.25 kB / 0.5553 GB, free: 18.7 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/0.0219, allocations: 19.98 kB / 0.5553 GB, free: 18.68 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.0001106/0.02201, allocations: 214 kB / 0.5555 GB, free: 18.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.02203, allocations: 31.97 kB / 0.5555 GB, free: 18.42 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.03e-05/0.02206, allocations: 34.95 kB / 0.5555 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.02207, allocations: 0 / 0.5555 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.673e-06/0.02207, allocations: 0 / 0.5555 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.02207, allocations: 0 / 0.5555 GB, free: 18.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003183/0.02239, allocations: 0.522 MB / 0.5561 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.02239, allocations: 0 / 0.5561 GB, free: 17.81 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001576/0.02255, allocations: 67.89 kB / 0.5561 GB, free: 17.74 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.246e-05/0.02257, allocations: 23.81 kB / 0.5561 GB, free: 17.72 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.02258, allocations: 0 / 0.5561 GB, free: 17.72 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.02259, allocations: 11.98 kB / 0.5561 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.993e-06/0.02259, allocations: 3.938 kB / 0.5562 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.02259, allocations: 0 / 0.5562 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002455/0.02284, allocations: 0.5242 MB / 0.5567 GB, free: 17.12 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.776e-05/0.02287, allocations: 11.98 kB / 0.5567 GB, free: 17.11 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.462e-05/0.02295, allocations: 12 kB / 0.5567 GB, free: 17.1 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.566e-05/0.023, allocations: 40.05 kB / 0.5567 GB, free: 17.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.076e-05/0.02301, allocations: 8 kB / 0.5567 GB, free: 17.05 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.293e-05/0.02305, allocations: 78.77 kB / 0.5568 GB, free: 16.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.02305, allocations: 0 / 0.5568 GB, free: 16.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000178/0.02323, allocations: 84 kB / 0.5569 GB, free: 16.89 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 7.909e-05/0.02331, allocations: 99.94 kB / 0.557 GB, free: 16.79 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001983/0.02351, allocations: 492.6 kB / 0.5575 GB, free: 16.24 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.945e-06/0.02351, allocations: 11.98 kB / 0.5575 GB, free: 16.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001067/0.02362, allocations: 274.9 kB / 0.5577 GB, free: 15.92 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003297/0.02395, allocations: 0.6618 MB / 0.5584 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007157/0.03111, allocations: 0.7224 MB / 0.5591 GB, free: 14.38 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.309e-05/0.03114, allocations: 93.12 kB / 0.5592 GB, free: 14.27 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.209e-05/0.03122, allocations: 34.95 kB / 0.5592 GB, free: 14.24 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2072/0.2384, allocations: 146.5 kB / 0.5593 GB, free: 84.56 MB / 410.8 MB Notification: Performance of SimCode: time 9.92e-07/0.2384, allocations: 0 / 0.5593 GB, free: 84.56 MB / 410.8 MB Notification: Performance of Templates: time 0.006843/0.2452, allocations: 5.211 MB / 0.5644 GB, free: 83.86 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.7758987490087748]