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.0009736/0.0009736, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001409/0.002382, allocations: 443.8 kB / 10.3 MB, free: 400 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.001032/0.001032, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0014/0.002433, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9361/0.9361, allocations: 177.2 MB / 189.5 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08473/1.021, allocations: 53.66 MB / 243.2 MB, free: 15.58 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.7015/0.7015, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.02713/0.7286, allocations: 21.05 MB / 0.5431 GB, free: 31.95 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.413e-06/1.413e-06, allocations: 0 / 0.5444 GB, free: 30.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.902e-05/2.043e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam): time 0.003391/0.003412, allocations: 2.915 MB / 0.5473 GB, free: 27.66 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009499/0.004361, allocations: 0.7032 MB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001097/0.004471, allocations: 4 kB / 0.548 GB, free: 26.96 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 7.501e-05/0.004546, allocations: 39.62 kB / 0.548 GB, free: 26.92 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001727/0.004719, allocations: 119 kB / 0.5481 GB, free: 26.8 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001523/0.004871, allocations: 71.78 kB / 0.5482 GB, free: 26.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.005123, allocations: 389.9 kB / 0.5486 GB, free: 26.35 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001224/0.005245, allocations: 62.84 kB / 0.5486 GB, free: 26.29 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002278/0.005473, allocations: 245.6 kB / 0.5489 GB, free: 26.05 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000166/0.005639, allocations: 123.6 kB / 0.549 GB, free: 25.93 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.00567, allocations: 24 kB / 0.549 GB, free: 25.91 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.308e-05/0.005703, allocations: 24 kB / 0.549 GB, free: 25.88 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.872e-05/0.005731, allocations: 39.81 kB / 0.5491 GB, free: 25.84 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 7.252e-05/0.005804, allocations: 95.81 kB / 0.5492 GB, free: 25.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001888/0.005993, allocations: 195.3 kB / 0.5493 GB, free: 25.56 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.444e-05/0.006007, allocations: 0 / 0.5493 GB, free: 25.56 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.42e-07/0.006008, allocations: 3.938 kB / 0.5494 GB, free: 25.55 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.118e-05/0.006019, allocations: 0 / 0.5494 GB, free: 25.55 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.0006293/0.006648, allocations: 0.6244 MB / 0.55 GB, free: 24.89 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.731e-05/0.006676, allocations: 11.89 kB / 0.55 GB, free: 24.88 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.006729, allocations: 36.91 kB / 0.55 GB, free: 24.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001699/0.006899, allocations: 193.5 kB / 0.5502 GB, free: 24.63 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.006923, allocations: 17.12 kB / 0.5502 GB, free: 24.61 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.835e-05/0.006951, allocations: 28.3 kB / 0.5502 GB, free: 24.59 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002167/0.007168, allocations: 242.2 kB / 0.5505 GB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.561e-05/0.007184, allocations: 4 kB / 0.5505 GB, free: 24.32 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.515e-05/0.007199, allocations: 4 kB / 0.5505 GB, free: 24.31 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.007205, allocations: 4 kB / 0.5505 GB, free: 24.31 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001093/0.007314, allocations: 149.7 kB / 0.5506 GB, free: 24.15 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005535/0.007868, allocations: 0.5077 MB / 0.5511 GB, free: 23.62 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000185/0.008053, allocations: 158.1 kB / 0.5513 GB, free: 23.44 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.83e-05/0.008101, allocations: 100.5 kB / 0.5514 GB, free: 23.32 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.008113, allocations: 11.88 kB / 0.5514 GB, free: 23.31 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001807/0.008294, allocations: 319.3 kB / 0.5517 GB, free: 22.95 MB / 410.7 MB Notification: Performance of pre-optimization done (n=32): time 1.863e-06/0.008296, allocations: 0 / 0.5517 GB, free: 22.95 MB / 410.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007114/0.009007, allocations: 0.8054 MB / 0.5525 GB, free: 22.05 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.718e-05/0.009044, allocations: 217.5 kB / 0.5527 GB, free: 21.79 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001012/0.009146, allocations: 228.9 kB / 0.5529 GB, free: 21.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.622e-05/0.009162, allocations: 37.7 kB / 0.5529 GB, free: 21.52 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.443e-05/0.009196, allocations: 129.3 kB / 0.5531 GB, free: 21.39 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.745e-05/0.009244, allocations: 115.1 kB / 0.5532 GB, free: 21.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.018e-05/0.009304, allocations: 78.14 kB / 0.5532 GB, free: 21.19 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.406e-05/0.009338, allocations: 346.7 kB / 0.5536 GB, free: 20.84 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.61e-05/0.009404, allocations: 147.8 kB / 0.5537 GB, free: 20.68 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.371e-05/0.009488, allocations: 251.2 kB / 0.5539 GB, free: 20.37 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.009636, allocations: 344.2 kB / 0.5543 GB, free: 19.96 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.009638, allocations: 0 / 0.5543 GB, free: 19.96 MB / 410.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002185/0.009856, allocations: 383.2 kB / 0.5546 GB, free: 19.55 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.009895, allocations: 97.09 kB / 0.5547 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.009901, allocations: 3.656 kB / 0.5547 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.009912, allocations: 8 kB / 0.5547 GB, free: 19.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002411/0.01015, allocations: 107.8 kB / 0.5548 GB, free: 19.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.01016, allocations: 7.047 kB / 0.5549 GB, free: 19.32 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001088/0.01027, allocations: 19.98 kB / 0.5549 GB, free: 19.3 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.413e-05/0.01028, allocations: 12 kB / 0.5549 GB, free: 19.29 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.0001169/0.0104, allocations: 215 kB / 0.5551 GB, free: 19.05 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.01043, allocations: 35.97 kB / 0.5551 GB, free: 19.02 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.201e-05/0.01046, allocations: 34.89 kB / 0.5552 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.746e-06/0.01046, allocations: 4 kB / 0.5552 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.01047, allocations: 0 / 0.5552 GB, free: 18.98 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.01047, allocations: 3.984 kB / 0.5552 GB, free: 18.97 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003517/0.01082, allocations: 0.5103 MB / 0.5557 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.01082, allocations: 0 / 0.5557 GB, free: 18.41 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001751/0.011, allocations: 71.94 kB / 0.5557 GB, free: 18.34 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.612e-05/0.01103, allocations: 27.8 kB / 0.5558 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.01103, allocations: 0 / 0.5558 GB, free: 18.32 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.01104, allocations: 8 kB / 0.5558 GB, free: 18.31 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.01104, allocations: 7.938 kB / 0.5558 GB, free: 18.3 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.01105, allocations: 0 / 0.5558 GB, free: 18.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002551/0.0113, allocations: 0.5182 MB / 0.5563 GB, free: 17.73 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/0.01133, allocations: 11.12 kB / 0.5563 GB, free: 17.72 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.325e-05/0.01143, allocations: 19.98 kB / 0.5563 GB, free: 17.7 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.103e-05/0.01148, allocations: 31.89 kB / 0.5563 GB, free: 17.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.01149, allocations: 11.98 kB / 0.5564 GB, free: 17.66 MB / 410.7 MB Notification: Performance of sorting global known variables: time 4.705e-05/0.01154, allocations: 74.78 kB / 0.5564 GB, free: 17.58 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01154, allocations: 0 / 0.5564 GB, free: 17.58 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001971/0.01174, allocations: 84 kB / 0.5565 GB, free: 17.5 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 8.234e-05/0.01182, allocations: 100.3 kB / 0.5566 GB, free: 17.39 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002259/0.01204, allocations: 496.9 kB / 0.5571 GB, free: 16.84 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.01205, allocations: 0 / 0.5571 GB, free: 16.84 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 9.627e-05/0.01214, allocations: 262.9 kB / 0.5573 GB, free: 16.54 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002863/0.01243, allocations: 122.4 kB / 0.5574 GB, free: 16.43 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007829/0.02026, allocations: 0.7472 MB / 0.5582 GB, free: 15.64 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.263e-05/0.02033, allocations: 159.7 kB / 0.5583 GB, free: 15.46 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002284/0.02056, allocations: 145.3 kB / 0.5585 GB, free: 15.32 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.02056, allocations: 0 / 0.5585 GB, free: 15.32 MB / 410.7 MB Notification: Performance of Templates: time 0.224/0.2446, allocations: 3.943 MB / 0.5623 GB, free: 84 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 > Pharmacolibrary_Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.331817794591188]