Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.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.00101/0.00101, allocations: 92.52 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.0009711/0.0009711, allocations: 166.3 kB / 23.21 MB, free: 1.336 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.005/1.005, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.7136/0.7136, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=432000,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.473e-06/1.473e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.775e-05/2.923e-05, allocations: 4.953 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference): time 0.00255/0.002579, allocations: 2.283 MB / 0.6995 GB, free: 8.109 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.0008268/0.003406, allocations: 0.5961 MB / 0.7001 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.003512, allocations: 3.938 kB / 0.7001 GB, free: 7.508 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.003641, allocations: 27.78 kB / 0.7002 GB, free: 7.48 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0001853/0.003826, allocations: 79.28 kB / 0.7002 GB, free: 7.402 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001974/0.004024, allocations: 55.86 kB / 0.7003 GB, free: 7.348 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002225/0.004246, allocations: 262.6 kB / 0.7005 GB, free: 7.09 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001635/0.00441, allocations: 40.5 kB / 0.7006 GB, free: 7.055 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000141/0.004551, allocations: 139.7 kB / 0.7007 GB, free: 6.918 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001775/0.004728, allocations: 83.67 kB / 0.7008 GB, free: 6.836 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.06e-05/0.004759, allocations: 20 kB / 0.7008 GB, free: 6.816 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.673e-05/0.004786, allocations: 16 kB / 0.7008 GB, free: 6.801 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.225e-05/0.004818, allocations: 47.77 kB / 0.7009 GB, free: 6.754 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 6.738e-05/0.004885, allocations: 75.83 kB / 0.7009 GB, free: 6.68 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0001949/0.00508, allocations: 199.4 kB / 0.7011 GB, free: 6.484 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.005082, allocations: 0 / 0.7011 GB, free: 6.484 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.713e-06/0.005084, allocations: 0 / 0.7011 GB, free: 6.484 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.011e-06/0.00509, allocations: 0 / 0.7011 GB, free: 6.484 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: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.0006376/0.005727, allocations: 488.8 kB / 0.7016 GB, free: 5.961 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.877e-05/0.005776, allocations: 16.02 kB / 0.7016 GB, free: 5.945 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.249e-05/0.005829, allocations: 24.8 kB / 0.7016 GB, free: 5.922 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000182/0.006011, allocations: 178.4 kB / 0.7018 GB, free: 5.719 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.006027, allocations: 12.59 kB / 0.7018 GB, free: 5.707 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.607e-05/0.006063, allocations: 16.38 kB / 0.7018 GB, free: 5.691 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002384/0.006302, allocations: 190.5 kB / 0.702 GB, free: 5.492 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.006316, allocations: 3.953 kB / 0.702 GB, free: 5.488 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.006332, allocations: 11.98 kB / 0.702 GB, free: 5.477 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.006338, allocations: 4 kB / 0.702 GB, free: 5.473 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001859/0.006524, allocations: 146.2 kB / 0.7022 GB, free: 5.324 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005269/0.007051, allocations: 493.3 kB / 0.7026 GB, free: 4.809 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003081/0.007359, allocations: 172.1 kB / 0.7028 GB, free: 4.625 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.605e-05/0.007455, allocations: 94.52 kB / 0.7029 GB, free: 4.523 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.09e-05/0.007466, allocations: 4 kB / 0.7029 GB, free: 4.52 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002071/0.007673, allocations: 232.4 kB / 0.7031 GB, free: 4.262 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.713e-06/0.007675, allocations: 0 / 0.7031 GB, free: 4.262 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.000901/0.008576, allocations: 0.7072 MB / 0.7038 GB, free: 3.492 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.97e-05/0.008615, allocations: 132.5 kB / 0.7039 GB, free: 3.332 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.00875, allocations: 227 kB / 0.7042 GB, free: 3.102 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.37e-05/0.008764, allocations: 33.7 kB / 0.7042 GB, free: 3.062 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.277e-05/0.008817, allocations: 132.5 kB / 0.7043 GB, free: 2.93 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/0.008845, allocations: 67.42 kB / 0.7044 GB, free: 2.863 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.182e-05/0.008897, allocations: 57.69 kB / 0.7044 GB, free: 2.801 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.57e-05/0.008943, allocations: 330.8 kB / 0.7047 GB, free: 2.469 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001267/0.009069, allocations: 149 kB / 0.7049 GB, free: 2.305 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.009201, allocations: 221.3 kB / 0.7051 GB, free: 2.043 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002184/0.00942, allocations: 284.8 kB / 0.7054 GB, free: 1.723 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.009422, allocations: 0 / 0.7054 GB, free: 1.723 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000319/0.009741, allocations: 398.2 kB / 0.7057 GB, free: 1.305 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 2.991e-05/0.00977, allocations: 59.41 kB / 0.7058 GB, free: 1.234 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.009777, allocations: 4 kB / 0.7058 GB, free: 1.23 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.009792, allocations: 4 kB / 0.7058 GB, free: 1.227 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.009902, allocations: 51.84 kB / 0.7059 GB, free: 1.176 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.153e-06/0.00991, allocations: 4 kB / 0.7059 GB, free: 1.172 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.957e-05/0.009999, allocations: 28.12 kB / 0.7059 GB, free: 1.145 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.424e-05/0.01002, allocations: 12 kB / 0.7059 GB, free: 1.133 MB / 410.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: 8 * Number of states: 0 () * Number of discrete variables: 13 (central.Cmin,$PRE.central.Cmin,central.Cmax,$PRE.central.Cmax,periodicDose.pulse.count,$PRE.periodicDose.pulse.count,periodicDose.pulse.T_start,$PRE.periodicDose.pulse.T_start,central.rising,$PRE.central.rising,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 2 * 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.0001321/0.01016, allocations: 171.7 kB / 0.7061 GB, free: 0.9492 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.776e-05/0.01017, allocations: 19.91 kB / 0.7061 GB, free: 0.9297 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.332e-05/0.01021, allocations: 21.97 kB / 0.7061 GB, free: 0.9062 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.01021, allocations: 4 kB / 0.7061 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.54e-06/0.01021, allocations: 3.938 kB / 0.7061 GB, free: 0.8984 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.019e-06/0.01022, allocations: 3.984 kB / 0.7061 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004277/0.01065, allocations: 0.543 MB / 0.7066 GB, free: 312 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.783e-06/0.01065, allocations: 0 / 0.7066 GB, free: 312 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.911e-05/0.01075, allocations: 31.98 kB / 0.7067 GB, free: 280 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.394e-06/0.01075, allocations: 0 / 0.7067 GB, free: 280 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.494e-05/0.01077, allocations: 11.98 kB / 0.7067 GB, free: 268 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.01077, allocations: 0 / 0.7067 GB, free: 268 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.01077, allocations: 0 / 0.7067 GB, free: 268 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004411/0.01121, allocations: 0.4982 MB / 0.7072 GB, free: 15.73 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 2.627e-05/0.01124, allocations: 23.86 kB / 0.7072 GB, free: 15.71 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.697e-05/0.01126, allocations: 4 kB / 0.7072 GB, free: 15.71 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.086e-05/0.01134, allocations: 20.02 kB / 0.7072 GB, free: 15.69 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.004e-05/0.01141, allocations: 19.97 kB / 0.7072 GB, free: 15.67 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.217e-05/0.01143, allocations: 8 kB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.000101/0.01153, allocations: 160.4 kB / 0.7074 GB, free: 15.5 MB / 426.8 MB Notification: Performance of sort global known variables: time 5e-08/0.01153, allocations: 0 / 0.7074 GB, free: 15.5 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0001957/0.01172, allocations: 56 kB / 0.7075 GB, free: 15.45 MB / 426.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (central.C,central.AUC,elim.MExc,periodicDose.TotalCumulativeMass) * Number of discrete variables: 8 ($whenCondition1,$whenCondition2,$whenCondition3,central.Cmax,central.Cmin,central.rising,periodicDose.pulse.T_start,periodicDose.pulse.count) * Number of discrete states: 6 (periodicDose.pulse.count,central.Cmin,$whenCondition3,central.Cmax,$whenCondition2,central.rising) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 1 * 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 0.0001027/0.01182, allocations: 123.1 kB / 0.7076 GB, free: 15.32 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.000373/0.0122, allocations: 382.2 kB / 0.7079 GB, free: 14.91 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.0122, allocations: 0 / 0.7079 GB, free: 14.91 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001433/0.01234, allocations: 173 kB / 0.7081 GB, free: 14.72 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002995/0.01264, allocations: 64.33 kB / 0.7082 GB, free: 14.66 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007815/0.01342, allocations: 0.607 MB / 0.7088 GB, free: 14.01 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.259e-05/0.01351, allocations: 125.6 kB / 0.7089 GB, free: 13.87 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.066e-05/0.01357, allocations: 20.5 kB / 0.7089 GB, free: 13.85 MB / 426.8 MB Notification: Performance of SimCode: time 8.72e-07/0.01357, allocations: 4 kB / 0.7089 GB, free: 13.84 MB / 426.8 MB Notification: Performance of Templates: time 0.00371/0.01728, allocations: 2.957 MB / 0.7118 GB, free: 10.93 MB / 426.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.99773673247546]