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.001631/0.001631, allocations: 96.5 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001839/0.001839, allocations: 165.8 kB / 23.2 MB, free: 1.34 MB / 18.57 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.004/1.004, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.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.7016/0.7016, allocations: 291.1 MB / 0.5382 GB, free: 51.83 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.533e-06/1.533e-06, allocations: 0 / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.484e-05/2.637e-05, allocations: 6.281 kB / 0.6973 GB, free: 10.38 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Examples.Digoxin.Digoxin_Hornestam): time 0.002609/0.002635, allocations: 2.692 MB / 0.6999 GB, free: 7.664 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001027/0.003662, allocations: 0.6662 MB / 0.7006 GB, free: 6.996 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001285/0.00379, allocations: 0 / 0.7006 GB, free: 6.996 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001292/0.003919, allocations: 39.62 kB / 0.7006 GB, free: 6.957 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002254/0.004145, allocations: 123 kB / 0.7008 GB, free: 6.836 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.004377, allocations: 75.78 kB / 0.7008 GB, free: 6.762 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.004655, allocations: 385.9 kB / 0.7012 GB, free: 6.383 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001442/0.0048, allocations: 52.89 kB / 0.7012 GB, free: 6.336 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001867/0.004986, allocations: 199.5 kB / 0.7014 GB, free: 6.141 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001999/0.005186, allocations: 115.7 kB / 0.7015 GB, free: 6.027 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.725e-05/0.005223, allocations: 24 kB / 0.7016 GB, free: 6.004 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.359e-05/0.005257, allocations: 28 kB / 0.7016 GB, free: 5.977 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.624e-05/0.005293, allocations: 63.64 kB / 0.7017 GB, free: 5.914 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.608e-05/0.005379, allocations: 107.8 kB / 0.7018 GB, free: 5.809 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002244/0.005604, allocations: 303 kB / 0.702 GB, free: 5.512 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.005606, allocations: 0 / 0.702 GB, free: 5.512 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.583e-06/0.005608, allocations: 0 / 0.702 GB, free: 5.512 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.005615, allocations: 0 / 0.702 GB, free: 5.512 MB / 410.8 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.0007051/0.00632, allocations: 0.5808 MB / 0.7026 GB, free: 4.879 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.006355, allocations: 16.02 kB / 0.7026 GB, free: 4.863 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.537e-05/0.006411, allocations: 32.75 kB / 0.7027 GB, free: 4.832 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.006595, allocations: 200.8 kB / 0.7029 GB, free: 4.613 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.006612, allocations: 24.73 kB / 0.7029 GB, free: 4.59 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.006645, allocations: 24.33 kB / 0.7029 GB, free: 4.566 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002814/0.006926, allocations: 296.5 kB / 0.7032 GB, free: 4.254 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.00694, allocations: 3.938 kB / 0.7032 GB, free: 4.25 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.392e-05/0.006964, allocations: 8 kB / 0.7032 GB, free: 4.242 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-06/0.006969, allocations: 8 kB / 0.7032 GB, free: 4.234 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.007211, allocations: 236.4 kB / 0.7034 GB, free: 3.988 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006749/0.007886, allocations: 0.6717 MB / 0.7041 GB, free: 3.277 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003288/0.008214, allocations: 242.7 kB / 0.7043 GB, free: 3.016 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001183/0.008333, allocations: 152.4 kB / 0.7045 GB, free: 2.852 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.094e-05/0.008344, allocations: 4 kB / 0.7045 GB, free: 2.848 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002388/0.008582, allocations: 353.6 kB / 0.7048 GB, free: 2.453 MB / 410.8 MB Notification: Performance of pre-optimization done (n=32): time 1.884e-06/0.008584, allocations: 0 / 0.7048 GB, free: 2.453 MB / 410.8 MB Notification: Performance of matching and sorting (n=34): time 0.001067/0.009652, allocations: 1.079 MB / 0.7059 GB, free: 1.285 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.527e-05/0.009697, allocations: 225.5 kB / 0.7061 GB, free: 1.016 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001381/0.009835, allocations: 237.8 kB / 0.7063 GB, free: 0.7734 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.009849, allocations: 33.7 kB / 0.7063 GB, free: 0.7344 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.581e-05/0.009905, allocations: 152.8 kB / 0.7065 GB, free: 0.5781 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.512e-05/0.00995, allocations: 123 kB / 0.7066 GB, free: 468 kB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.274e-05/0.01001, allocations: 66.2 kB / 0.7067 GB, free: 396 kB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.755e-05/0.01005, allocations: 350.7 kB / 0.707 GB, free: 36 kB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001969/0.01025, allocations: 207.9 kB / 0.7072 GB, free: 15.81 MB / 426.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000217/0.01046, allocations: 315.1 kB / 0.7075 GB, free: 15.45 MB / 426.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003476/0.01081, allocations: 443.1 kB / 0.7079 GB, free: 14.95 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01081, allocations: 0 / 0.7079 GB, free: 14.95 MB / 426.8 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005045/0.01132, allocations: 0.5496 MB / 0.7084 GB, free: 14.35 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.73e-05/0.01137, allocations: 93.09 kB / 0.7085 GB, free: 14.24 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/0.01137, allocations: 4 kB / 0.7085 GB, free: 14.24 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.01139, allocations: 4 kB / 0.7085 GB, free: 14.23 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001705/0.01156, allocations: 79.89 kB / 0.7086 GB, free: 14.16 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.01157, allocations: 4 kB / 0.7086 GB, free: 14.15 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.01168, allocations: 20.3 kB / 0.7086 GB, free: 14.13 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.0117, allocations: 20 kB / 0.7087 GB, free: 14.11 MB / 426.8 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.0001817/0.01188, allocations: 219 kB / 0.7089 GB, free: 13.88 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.971e-05/0.01191, allocations: 35.8 kB / 0.7089 GB, free: 13.84 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.832e-05/0.01195, allocations: 26.97 kB / 0.7089 GB, free: 13.81 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.01195, allocations: 7.984 kB / 0.7089 GB, free: 13.8 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.538e-06/0.01196, allocations: 0 / 0.7089 GB, free: 13.8 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.628e-06/0.01196, allocations: 3.984 kB / 0.7089 GB, free: 13.8 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007028/0.01267, allocations: 0.7677 MB / 0.7097 GB, free: 12.97 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.866e-06/0.01267, allocations: 4 kB / 0.7097 GB, free: 12.96 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001449/0.01281, allocations: 51.97 kB / 0.7097 GB, free: 12.91 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.01282, allocations: 0 / 0.7097 GB, free: 12.91 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.77e-05/0.01283, allocations: 15.92 kB / 0.7098 GB, free: 12.9 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.424e-06/0.01284, allocations: 3.938 kB / 0.7098 GB, free: 12.89 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.01284, allocations: 11.92 kB / 0.7098 GB, free: 12.88 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006068/0.01345, allocations: 0.7192 MB / 0.7105 GB, free: 12.11 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.131e-05/0.01348, allocations: 27.8 kB / 0.7105 GB, free: 12.08 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.549e-05/0.01351, allocations: 12 kB / 0.7105 GB, free: 12.07 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.811e-05/0.01361, allocations: 19.98 kB / 0.7105 GB, free: 12.05 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.127e-05/0.01368, allocations: 31.89 kB / 0.7106 GB, free: 12.02 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.0137, allocations: 11.98 kB / 0.7106 GB, free: 12.01 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001099/0.01381, allocations: 173.2 kB / 0.7107 GB, free: 11.84 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.51e-07/0.01381, allocations: 4 kB / 0.7107 GB, free: 11.84 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0002255/0.01403, allocations: 84 kB / 0.7108 GB, free: 11.75 MB / 426.8 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 9.912e-05/0.01413, allocations: 119.1 kB / 0.7109 GB, free: 11.63 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004634/0.0146, allocations: 0.5682 MB / 0.7115 GB, free: 11 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.0146, allocations: 0.6875 kB / 0.7115 GB, free: 11 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002089/0.01481, allocations: 302.1 kB / 0.7118 GB, free: 10.67 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003331/0.01514, allocations: 80.45 kB / 0.7119 GB, free: 10.59 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009439/0.01608, allocations: 0.8202 MB / 0.7127 GB, free: 9.727 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.498e-05/0.01618, allocations: 159.7 kB / 0.7128 GB, free: 9.551 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.417e-05/0.01624, allocations: 32.5 kB / 0.7128 GB, free: 9.516 MB / 426.8 MB Notification: Performance of SimCode: time 7.12e-07/0.01624, allocations: 0 / 0.7128 GB, free: 9.516 MB / 426.8 MB Notification: Performance of Templates: time 0.004372/0.02062, allocations: 3.985 MB / 0.7167 GB, free: 5.551 MB / 426.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: 5.944517103023827]