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.0006907/0.0006907, allocations: 84.17 kB / 9.886 MB, free: 0.8008 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008885/0.001579, allocations: 435.8 kB / 10.31 MB, free: 384 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.0007062/0.0007062, allocations: 157.1 kB / 11.2 MB, free: 2.973 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008902/0.001596, allocations: 463.6 kB / 11.65 MB, free: 2.516 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.985/0.985, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09122/1.076, 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.7978/0.7978, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.04498/0.8428, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.634e-06/1.634e-06, allocations: 0 / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.023e-05/2.186e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.58 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam): time 0.002193/0.002215, allocations: 2.915 MB / 0.5473 GB, free: 27.65 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.000726/0.002941, allocations: 0.7032 MB / 0.548 GB, free: 26.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.494e-05/0.003026, allocations: 4 kB / 0.548 GB, free: 26.94 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.54e-05/0.003101, allocations: 35.58 kB / 0.5481 GB, free: 26.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001451/0.003246, allocations: 130.9 kB / 0.5482 GB, free: 26.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001218/0.003368, allocations: 67.89 kB / 0.5482 GB, free: 26.71 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002351/0.003603, allocations: 401.8 kB / 0.5486 GB, free: 26.32 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001383/0.003741, allocations: 58.84 kB / 0.5487 GB, free: 26.26 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001916/0.003933, allocations: 233.6 kB / 0.5489 GB, free: 26.04 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001649/0.004098, allocations: 127.6 kB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.943e-05/0.004127, allocations: 20 kB / 0.549 GB, free: 25.89 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.964e-05/0.004157, allocations: 28 kB / 0.5491 GB, free: 25.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.004187, allocations: 39.81 kB / 0.5491 GB, free: 25.82 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.176e-05/0.004259, allocations: 91.81 kB / 0.5492 GB, free: 25.73 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001811/0.00444, allocations: 195.3 kB / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.326e-05/0.004453, allocations: 4 kB / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.21e-07/0.004454, allocations: 0 / 0.5494 GB, free: 25.54 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.888e-05/0.004473, allocations: 3.938 kB / 0.5494 GB, free: 25.54 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.0006114/0.005084, allocations: 0.6283 MB / 0.55 GB, free: 24.87 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.027e-05/0.005114, allocations: 11.89 kB / 0.55 GB, free: 24.86 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.892e-05/0.005163, allocations: 36.91 kB / 0.5501 GB, free: 24.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.00533, allocations: 193.5 kB / 0.5502 GB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.509e-05/0.005355, allocations: 17.12 kB / 0.5503 GB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.821e-05/0.005383, allocations: 24.36 kB / 0.5503 GB, free: 24.57 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002065/0.00559, allocations: 242.1 kB / 0.5505 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.005602, allocations: 0 / 0.5505 GB, free: 24.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.005614, allocations: 8 kB / 0.5505 GB, free: 24.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.005619, allocations: 4 kB / 0.5505 GB, free: 24.29 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.005723, allocations: 141.8 kB / 0.5507 GB, free: 24.14 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005326/0.006255, allocations: 0.5116 MB / 0.5512 GB, free: 23.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001651/0.00642, allocations: 158.1 kB / 0.5513 GB, free: 23.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.119e-05/0.006471, allocations: 104.5 kB / 0.5514 GB, free: 23.3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.208e-05/0.006483, allocations: 7.938 kB / 0.5514 GB, free: 23.3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001702/0.006654, allocations: 313.8 kB / 0.5517 GB, free: 22.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 2.174e-06/0.006656, allocations: 7.984 kB / 0.5517 GB, free: 22.94 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0006864/0.007342, allocations: 0.8048 MB / 0.5525 GB, free: 22.04 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.007386, allocations: 217.6 kB / 0.5527 GB, free: 21.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.007488, allocations: 221 kB / 0.5529 GB, free: 21.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.497e-05/0.007503, allocations: 41.69 kB / 0.553 GB, free: 21.5 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.00754, allocations: 133.3 kB / 0.5531 GB, free: 21.37 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.363e-05/0.007584, allocations: 115.1 kB / 0.5532 GB, free: 21.26 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.779e-05/0.007642, allocations: 74.16 kB / 0.5533 GB, free: 21.18 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.861e-05/0.00768, allocations: 346.7 kB / 0.5536 GB, free: 20.83 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.591e-05/0.007746, allocations: 147.8 kB / 0.5537 GB, free: 20.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.508e-05/0.007831, allocations: 255.2 kB / 0.554 GB, free: 20.35 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.007973, allocations: 344.2 kB / 0.5543 GB, free: 19.95 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.007976, allocations: 3.375 kB / 0.5543 GB, free: 19.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0001958/0.008172, allocations: 391.4 kB / 0.5547 GB, free: 19.52 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.946e-05/0.008211, allocations: 93.09 kB / 0.5548 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.008217, allocations: 4 kB / 0.5548 GB, free: 19.41 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.126e-05/0.008228, allocations: 7.938 kB / 0.5548 GB, free: 19.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002278/0.008456, allocations: 107.8 kB / 0.5549 GB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.008461, allocations: 4 kB / 0.5549 GB, free: 19.29 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.578e-05/0.008557, allocations: 15.98 kB / 0.5549 GB, free: 19.28 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.00857, allocations: 20.16 kB / 0.5549 GB, free: 19.26 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.0001149/0.008685, allocations: 207 kB / 0.5551 GB, free: 19.04 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.722e-05/0.008712, allocations: 35.97 kB / 0.5552 GB, free: 19 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.134e-05/0.008744, allocations: 30.95 kB / 0.5552 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.008746, allocations: 4 kB / 0.5552 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.104e-06/0.008748, allocations: 0 / 0.5552 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.008753, allocations: 3.984 kB / 0.5552 GB, free: 18.96 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003472/0.0091, allocations: 0.5142 MB / 0.5557 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009101, allocations: 0 / 0.5557 GB, free: 18.39 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001697/0.009271, allocations: 67.89 kB / 0.5558 GB, free: 18.33 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.388e-05/0.009295, allocations: 27.8 kB / 0.5558 GB, free: 18.3 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.009297, allocations: 0 / 0.5558 GB, free: 18.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.009311, allocations: 12 kB / 0.5558 GB, free: 18.29 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.009313, allocations: 3.938 kB / 0.5558 GB, free: 18.29 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.009314, allocations: 0 / 0.5558 GB, free: 18.29 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.009563, allocations: 0.5212 MB / 0.5563 GB, free: 17.71 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.937e-05/0.009593, allocations: 12 kB / 0.5563 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.559e-05/0.009678, allocations: 15.98 kB / 0.5563 GB, free: 17.69 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.143e-05/0.00973, allocations: 27.89 kB / 0.5564 GB, free: 17.66 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.009742, allocations: 11.98 kB / 0.5564 GB, free: 17.65 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.37e-05/0.009786, allocations: 82.72 kB / 0.5565 GB, free: 17.56 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009786, allocations: 0 / 0.5565 GB, free: 17.56 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001793/0.009965, allocations: 84 kB / 0.5565 GB, free: 17.48 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.803e-05/0.01004, allocations: 100.4 kB / 0.5566 GB, free: 17.38 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002125/0.01026, allocations: 488.4 kB / 0.5571 GB, free: 16.83 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.918e-06/0.01026, allocations: 4 kB / 0.5571 GB, free: 16.82 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.484e-05/0.01035, allocations: 262.9 kB / 0.5574 GB, free: 16.53 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002651/0.01062, allocations: 122.4 kB / 0.5575 GB, free: 16.41 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007334/0.01795, allocations: 0.7562 MB / 0.5582 GB, free: 15.62 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.084e-05/0.018, allocations: 93.12 kB / 0.5583 GB, free: 15.51 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001119/0.01811, allocations: 30.97 kB / 0.5583 GB, free: 15.48 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001714/0.01828, allocations: 153.2 kB / 0.5585 GB, free: 15.33 MB / 410.7 MB Notification: Performance of SimCode: time 1.112e-06/0.01828, allocations: 0 / 0.5585 GB, free: 15.33 MB / 410.7 MB Notification: Performance of Templates: time 0.2522/0.2705, allocations: 5.186 MB / 0.5635 GB, free: 83.39 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.7121791215613484]