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.00193/0.00193, allocations: 105.5 kB / 18.95 MB, free: 1.18 MB / 13.93 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.002006/0.002006, allocations: 218.4 kB / 22.25 MB, free: 3.582 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 1.842/1.842, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 178] 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 1.487/1.487, allocations: 316.7 MB / 0.6144 GB, free: 93.06 MB / 410.7 MB " [Timeout remaining time 178] 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: Pharmacolibrary requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.004056/0.004056, allocations: 76.2 kB / 0.775 GB, free: 14.75 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1793/0.1833, allocations: 73.99 MB / 0.8472 GB, free: 4.898 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference): time 0.005972/0.1893, allocations: 2.282 MB / 0.8494 GB, free: 2.617 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.1911, allocations: 0.5946 MB / 0.85 GB, free: 2.027 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001426/0.1912, allocations: 0.5625 kB / 0.85 GB, free: 2.027 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001844/0.1914, allocations: 28.28 kB / 0.8501 GB, free: 2 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003492/0.1918, allocations: 79.89 kB / 0.8501 GB, free: 1.922 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002946/0.1921, allocations: 52.5 kB / 0.8502 GB, free: 1.871 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0007914/0.1928, allocations: 251.5 kB / 0.8504 GB, free: 1.625 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001945/0.193, allocations: 45.42 kB / 0.8505 GB, free: 1.582 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002015/0.1932, allocations: 91.66 kB / 0.8505 GB, free: 1.492 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003255/0.1936, allocations: 97.69 kB / 0.8506 GB, free: 1.398 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 5.289e-05/0.1936, allocations: 20 kB / 0.8507 GB, free: 1.379 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.762e-05/0.1937, allocations: 16 kB / 0.8507 GB, free: 1.363 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 7.013e-05/0.1937, allocations: 39.78 kB / 0.8507 GB, free: 1.324 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001733/0.1939, allocations: 91.59 kB / 0.8508 GB, free: 1.234 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003986/0.1943, allocations: 199.2 kB / 0.851 GB, free: 1.039 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.1943, allocations: 1.688 kB / 0.851 GB, free: 1.039 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.933e-06/0.1943, allocations: 0 / 0.851 GB, free: 1.039 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.605e-06/0.1943, allocations: 0 / 0.851 GB, free: 1.039 MB / 474.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.001244/0.1956, allocations: 0.4904 MB / 0.8515 GB, free: 0.5039 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.722e-05/0.1956, allocations: 8.031 kB / 0.8515 GB, free: 0.4961 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.985e-05/0.1957, allocations: 27.39 kB / 0.8515 GB, free: 484 kB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003562/0.196, allocations: 183.1 kB / 0.8517 GB, free: 272 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.1961, allocations: 16.55 kB / 0.8517 GB, free: 256 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.285e-05/0.1961, allocations: 19.89 kB / 0.8517 GB, free: 236 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003537/0.1997, allocations: 194.4 kB / 0.8519 GB, free: 24 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.1997, allocations: 3.938 kB / 0.8519 GB, free: 20 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.973e-05/0.1997, allocations: 0.7812 kB / 0.8519 GB, free: 20 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.138e-05/0.1997, allocations: 4 kB / 0.8519 GB, free: 16 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005254/0.2002, allocations: 147.3 kB / 0.8521 GB, free: 15.87 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/0.2014, allocations: 482.7 kB / 0.8525 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007137/0.2021, allocations: 173.3 kB / 0.8527 GB, free: 15.18 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003307/0.2054, allocations: 99.14 kB / 0.8528 GB, free: 15.07 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.336e-05/0.2054, allocations: 0.6562 kB / 0.8528 GB, free: 15.07 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005265/0.206, allocations: 229.5 kB / 0.853 GB, free: 14.82 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.934e-06/0.206, allocations: 0.7188 kB / 0.853 GB, free: 14.82 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00211/0.2081, allocations: 0.6974 MB / 0.8537 GB, free: 14.07 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001252/0.2082, allocations: 137.3 kB / 0.8538 GB, free: 13.9 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00338/0.2116, allocations: 218.9 kB / 0.854 GB, free: 13.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.2116, allocations: 34.27 kB / 0.854 GB, free: 13.64 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001533/0.2118, allocations: 134.4 kB / 0.8542 GB, free: 13.51 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001003/0.2119, allocations: 71.42 kB / 0.8542 GB, free: 13.44 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.212, allocations: 57.66 kB / 0.8543 GB, free: 13.38 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0002479/0.2123, allocations: 338.8 kB / 0.8546 GB, free: 13.04 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003744/0.2127, allocations: 141 kB / 0.8548 GB, free: 12.88 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004624/0.2131, allocations: 224.1 kB / 0.855 GB, free: 12.62 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.4527/0.6658, allocations: 276.7 kB / 0.8552 GB, free: 28.32 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.919e-06/0.6658, allocations: 0.7656 kB / 0.8552 GB, free: 28.32 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007503/0.6665, allocations: 393 kB / 0.8556 GB, free: 28.16 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.111e-05/0.6666, allocations: 69.12 kB / 0.8557 GB, free: 28.09 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.6666, allocations: 1.531 kB / 0.8557 GB, free: 28.09 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.465e-05/0.6666, allocations: 5.984 kB / 0.8557 GB, free: 28.09 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002192/0.6669, allocations: 51.8 kB / 0.8557 GB, free: 28.09 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/0.6669, allocations: 6.875 kB / 0.8557 GB, free: 28.09 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.6671, allocations: 17.2 kB / 0.8558 GB, free: 28.09 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.6671, allocations: 17.28 kB / 0.8558 GB, free: 28.09 MB / 490.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.0001997/0.6673, allocations: 169.8 kB / 0.8559 GB, free: 27.95 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.156e-05/0.6673, allocations: 25.73 kB / 0.856 GB, free: 27.95 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.802e-05/0.6674, allocations: 28.56 kB / 0.856 GB, free: 27.94 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.6674, allocations: 0 / 0.856 GB, free: 27.94 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.139e-06/0.6674, allocations: 0 / 0.856 GB, free: 27.94 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.6674, allocations: 2.781 kB / 0.856 GB, free: 27.94 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007014/0.6681, allocations: 0.5368 MB / 0.8565 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6681, allocations: 0 / 0.8565 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.6683, allocations: 33.31 kB / 0.8565 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.6683, allocations: 0.7812 kB / 0.8565 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.172e-05/0.6683, allocations: 15.25 kB / 0.8566 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.6683, allocations: 1.219 kB / 0.8566 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.6683, allocations: 0.5 kB / 0.8566 GB, free: 27.64 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000666/0.669, allocations: 0.4934 MB / 0.857 GB, free: 27.41 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.268e-05/0.669, allocations: 19.34 kB / 0.8571 GB, free: 27.41 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.927e-05/0.669, allocations: 11.66 kB / 0.8571 GB, free: 27.41 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001646/0.6692, allocations: 15.16 kB / 0.8571 GB, free: 27.41 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.791e-05/0.6693, allocations: 17.73 kB / 0.8571 GB, free: 27.41 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.554e-05/0.6693, allocations: 10.62 kB / 0.8571 GB, free: 27.41 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001384/0.6694, allocations: 155 kB / 0.8573 GB, free: 27.34 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6694, allocations: 0.5938 kB / 0.8573 GB, free: 27.34 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000294/0.6697, allocations: 61.41 kB / 0.8573 GB, free: 27.33 MB / 490.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.0001245/0.6699, allocations: 125.3 kB / 0.8574 GB, free: 27.24 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005484/0.6704, allocations: 376.6 kB / 0.8578 GB, free: 27.02 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6704, allocations: 1.375 kB / 0.8578 GB, free: 27.02 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002359/0.6706, allocations: 170.8 kB / 0.858 GB, free: 26.92 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00047/0.6711, allocations: 73.28 kB / 0.858 GB, free: 26.91 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001261/0.6724, allocations: 0.6708 MB / 0.8587 GB, free: 26.64 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001106/0.6725, allocations: 126.7 kB / 0.8588 GB, free: 26.56 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001067/0.6726, allocations: 22.41 kB / 0.8588 GB, free: 26.56 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.6727, allocations: 28.53 kB / 0.8589 GB, free: 26.55 MB / 490.8 MB Notification: Performance of SimCode: time 6.91e-07/0.6727, allocations: 0.5938 kB / 0.8589 GB, free: 26.55 MB / 490.8 MB Notification: Performance of Templates: time 0.00865/0.6813, allocations: 3.657 MB / 0.8624 GB, free: 26.25 MB / 490.8 MB " [Timeout remaining time 659] 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.193474996834993]