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.0006512/0.0006512, allocations: 68.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008484/0.0015, allocations: 455.9 kB / 10.35 MB, free: 348 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.0006988/0.0006988, allocations: 157.2 kB / 11.24 MB, free: 2.934 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008949/0.001594, allocations: 475.7 kB / 11.7 MB, free: 2.465 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.8888/0.8888, allocations: 177.2 MB / 189.6 MB, free: 5.297 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07749/0.9663, allocations: 53.67 MB / 243.3 MB, free: 15.56 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.6946/0.6946, allocations: 291.2 MB / 0.5227 GB, free: 52.69 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02371/0.7183, allocations: 21.04 MB / 0.5433 GB, free: 31.71 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.342e-06/1.342e-06, allocations: 3.938 kB / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.524e-05/1.658e-05, allocations: 2.312 kB / 0.5446 GB, free: 30.31 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam): time 0.002254/0.002271, allocations: 2.936 MB / 0.5475 GB, free: 27.36 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007421/0.003013, allocations: 0.711 MB / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.228e-05/0.003085, allocations: 0 / 0.5482 GB, free: 26.65 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 5.789e-05/0.003143, allocations: 43.56 kB / 0.5482 GB, free: 26.61 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001293/0.003272, allocations: 111 kB / 0.5483 GB, free: 26.5 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001124/0.003385, allocations: 75.78 kB / 0.5484 GB, free: 26.43 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001995/0.003584, allocations: 393.9 kB / 0.5488 GB, free: 26.04 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.107e-05/0.003675, allocations: 58.84 kB / 0.5488 GB, free: 25.98 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001677/0.003843, allocations: 245.5 kB / 0.5491 GB, free: 25.74 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001389/0.003982, allocations: 127.6 kB / 0.5492 GB, free: 25.62 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.004006, allocations: 24 kB / 0.5492 GB, free: 25.59 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.995e-05/0.004036, allocations: 24 kB / 0.5492 GB, free: 25.57 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.716e-05/0.004063, allocations: 39.88 kB / 0.5493 GB, free: 25.53 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.522e-05/0.004129, allocations: 91.81 kB / 0.5494 GB, free: 25.44 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001657/0.004294, allocations: 195.3 kB / 0.5496 GB, free: 25.25 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.004305, allocations: 3.984 kB / 0.5496 GB, free: 25.25 MB / 410.7 MB Notification: Performance of FrontEnd: time 7.31e-07/0.004306, allocations: 0 / 0.5496 GB, free: 25.25 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.277e-05/0.004318, allocations: 0 / 0.5496 GB, free: 25.25 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.000563/0.004881, allocations: 0.6243 MB / 0.5502 GB, free: 24.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.194e-05/0.004903, allocations: 15.89 kB / 0.5502 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/0.004945, allocations: 36.91 kB / 0.5502 GB, free: 24.53 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001371/0.005083, allocations: 189.5 kB / 0.5504 GB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.849e-05/0.005101, allocations: 28.72 kB / 0.5504 GB, free: 24.29 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.005126, allocations: 16.38 kB / 0.5504 GB, free: 24.27 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000179/0.005305, allocations: 243.7 kB / 0.5507 GB, free: 24.01 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.135e-05/0.005316, allocations: 4 kB / 0.5507 GB, free: 24.01 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.053e-05/0.005327, allocations: 4 kB / 0.5507 GB, free: 24 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.62e-06/0.005332, allocations: 11.98 kB / 0.5507 GB, free: 23.99 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.38e-05/0.005426, allocations: 133.8 kB / 0.5508 GB, free: 23.85 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004558/0.005882, allocations: 0.5116 MB / 0.5513 GB, free: 23.31 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.006033, allocations: 162.1 kB / 0.5515 GB, free: 23.13 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.697e-05/0.00608, allocations: 100.5 kB / 0.5516 GB, free: 23.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.666e-06/0.006089, allocations: 7.938 kB / 0.5516 GB, free: 23.01 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001645/0.006254, allocations: 319.3 kB / 0.5519 GB, free: 22.65 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.203e-06/0.006255, allocations: 0 / 0.5519 GB, free: 22.65 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006379/0.006893, allocations: 0.8134 MB / 0.5527 GB, free: 21.74 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.828e-05/0.006931, allocations: 281 kB / 0.553 GB, free: 21.41 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.999e-05/0.007021, allocations: 224.9 kB / 0.5532 GB, free: 21.18 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.007034, allocations: 37.7 kB / 0.5532 GB, free: 21.13 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.321e-05/0.007067, allocations: 137.2 kB / 0.5533 GB, free: 21 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.095e-05/0.007108, allocations: 111.1 kB / 0.5534 GB, free: 20.89 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.428e-05/0.007163, allocations: 74.16 kB / 0.5535 GB, free: 20.81 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.054e-05/0.007203, allocations: 346.7 kB / 0.5538 GB, free: 20.46 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.222e-05/0.007265, allocations: 147.8 kB / 0.554 GB, free: 20.29 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.704e-05/0.007342, allocations: 247.2 kB / 0.5542 GB, free: 19.99 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001325/0.007475, allocations: 344.2 kB / 0.5545 GB, free: 19.59 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.007477, allocations: 3 kB / 0.5545 GB, free: 19.59 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0001882/0.007665, allocations: 387.2 kB / 0.5549 GB, free: 19.16 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.311e-05/0.007698, allocations: 97.09 kB / 0.555 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.007702, allocations: 352 / 0.555 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.807e-06/0.007711, allocations: 12 kB / 0.555 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001964/0.007908, allocations: 103.8 kB / 0.5551 GB, free: 18.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.007912, allocations: 4 kB / 0.5551 GB, free: 18.93 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.301e-05/0.008005, allocations: 19.98 kB / 0.5551 GB, free: 18.91 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.289e-05/0.008018, allocations: 12 kB / 0.5552 GB, free: 18.9 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 9.567e-05/0.008113, allocations: 219 kB / 0.5554 GB, free: 18.67 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.171e-05/0.008145, allocations: 35.97 kB / 0.5554 GB, free: 18.63 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.008172, allocations: 30.95 kB / 0.5554 GB, free: 18.6 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.008174, allocations: 4 kB / 0.5554 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.493e-06/0.008176, allocations: 0 / 0.5554 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.00818, allocations: 3.984 kB / 0.5554 GB, free: 18.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003177/0.008498, allocations: 0.5142 MB / 0.5559 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.0085, allocations: 0 / 0.5559 GB, free: 18.03 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001533/0.008653, allocations: 67.89 kB / 0.556 GB, free: 17.96 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.275e-05/0.008676, allocations: 27.8 kB / 0.556 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.008677, allocations: 0 / 0.556 GB, free: 17.93 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.008691, allocations: 12 kB / 0.556 GB, free: 17.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/0.008693, allocations: 11.25 kB / 0.5561 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.008694, allocations: 0 / 0.5561 GB, free: 17.91 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002239/0.008918, allocations: 0.5143 MB / 0.5566 GB, free: 17.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.825e-05/0.008946, allocations: 12 kB / 0.5566 GB, free: 17.33 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.367e-05/0.00903, allocations: 15.98 kB / 0.5566 GB, free: 17.32 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.798e-05/0.009078, allocations: 31.89 kB / 0.5566 GB, free: 17.29 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.798e-06/0.009088, allocations: 8 kB / 0.5566 GB, free: 17.28 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.994e-05/0.009138, allocations: 86.75 kB / 0.5567 GB, free: 17.19 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009138, allocations: 0 / 0.5567 GB, free: 17.19 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001741/0.009312, allocations: 84 kB / 0.5568 GB, free: 17.11 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 5.494e-05/0.009367, allocations: 92.36 kB / 0.5569 GB, free: 17.01 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002021/0.009569, allocations: 0.4893 MB / 0.5573 GB, free: 16.45 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.334e-06/0.009576, allocations: 4 kB / 0.5573 GB, free: 16.45 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.791e-05/0.009674, allocations: 274.9 kB / 0.5576 GB, free: 16.14 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002466/0.009921, allocations: 123 kB / 0.5577 GB, free: 16.03 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007428/0.01735, allocations: 0.7366 MB / 0.5584 GB, free: 15.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.329e-05/0.01738, allocations: 93.12 kB / 0.5585 GB, free: 15.14 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.354e-05/0.01747, allocations: 34.95 kB / 0.5586 GB, free: 15.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001503/0.01762, allocations: 149.3 kB / 0.5587 GB, free: 14.96 MB / 410.7 MB Notification: Performance of SimCode: time 6.91e-07/0.01762, allocations: 0 / 0.5587 GB, free: 14.96 MB / 410.7 MB Notification: Performance of Templates: time 0.1959/0.2136, allocations: 5.182 MB / 0.5638 GB, free: 83.96 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.40263569355011]