Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_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.002651/0.002651, allocations: 109.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.002446/0.002446, allocations: 225.1 kB / 22.25 MB, free: 3.574 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.758/1.758, allocations: 230.6 MB / 256 MB, free: 9.633 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.485/1.485, allocations: 316.7 MB / 0.6144 GB, free: 93.27 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_Doshi2010_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=604800,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_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.004444/0.004444, allocations: 78 kB / 0.7749 GB, free: 14.93 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1636, allocations: 73.99 MB / 0.8472 GB, free: 5.086 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_reference): time 0.004023/0.1676, allocations: 2.291 MB / 0.8494 GB, free: 2.797 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.001266/0.1689, allocations: 0.5911 MB / 0.85 GB, free: 2.211 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001019/0.169, allocations: 4.562 kB / 0.85 GB, free: 2.207 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001388/0.1691, allocations: 23.78 kB / 0.85 GB, free: 2.184 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002337/0.1694, allocations: 88.59 kB / 0.8501 GB, free: 2.098 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002289/0.1696, allocations: 48.48 kB / 0.8502 GB, free: 2.051 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003699/0.17, allocations: 255.4 kB / 0.8504 GB, free: 1.801 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.1701, allocations: 36.52 kB / 0.8505 GB, free: 1.766 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000415/0.1705, allocations: 96.23 kB / 0.8505 GB, free: 1.672 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002584/0.1708, allocations: 96.14 kB / 0.8506 GB, free: 1.578 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 4.445e-05/0.1708, allocations: 23.94 kB / 0.8507 GB, free: 1.555 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.198e-05/0.1709, allocations: 16.75 kB / 0.8507 GB, free: 1.539 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 6.24e-05/0.1709, allocations: 43.77 kB / 0.8507 GB, free: 1.496 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001287/0.1711, allocations: 88.23 kB / 0.8508 GB, free: 1.41 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002966/0.1714, allocations: 195.8 kB / 0.851 GB, free: 1.219 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.1714, allocations: 4 kB / 0.851 GB, free: 1.215 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1714, allocations: 0.5938 kB / 0.851 GB, free: 1.215 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.871e-06/0.1714, allocations: 0 / 0.851 GB, free: 1.215 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.0009992/0.1724, allocations: 0.4908 MB / 0.8515 GB, free: 0.6797 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.949e-05/0.1724, allocations: 8.531 kB / 0.8515 GB, free: 0.6719 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.23e-05/0.1725, allocations: 25.39 kB / 0.8515 GB, free: 0.6484 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.1728, allocations: 183.1 kB / 0.8517 GB, free: 452 kB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.1728, allocations: 13.23 kB / 0.8517 GB, free: 440 kB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.1729, allocations: 19.89 kB / 0.8517 GB, free: 420 kB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004119/0.1733, allocations: 191.6 kB / 0.8519 GB, free: 212 kB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.1733, allocations: 4 kB / 0.8519 GB, free: 208 kB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.659e-05/0.1733, allocations: 0.5 kB / 0.8519 GB, free: 208 kB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.1733, allocations: 8.609 kB / 0.8519 GB, free: 200 kB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003792/0.1737, allocations: 146.8 kB / 0.852 GB, free: 48 kB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000891/0.1746, allocations: 482.7 kB / 0.8525 GB, free: 15.54 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005319/0.1751, allocations: 177.4 kB / 0.8527 GB, free: 15.36 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.1753, allocations: 95.14 kB / 0.8528 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.054e-05/0.1753, allocations: 4.75 kB / 0.8528 GB, free: 15.25 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004096/0.1758, allocations: 229.1 kB / 0.853 GB, free: 15 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.462e-06/0.1758, allocations: 1.344 kB / 0.853 GB, free: 15 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.00164/0.1774, allocations: 0.6977 MB / 0.8537 GB, free: 14.24 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001139/0.1775, allocations: 140.5 kB / 0.8538 GB, free: 14.07 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.1778, allocations: 215 kB / 0.854 GB, free: 13.85 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.395e-05/0.1778, allocations: 33.7 kB / 0.854 GB, free: 13.81 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001202/0.1779, allocations: 128.5 kB / 0.8542 GB, free: 13.68 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.363e-05/0.178, allocations: 71.92 kB / 0.8542 GB, free: 13.61 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.608e-05/0.1781, allocations: 60.09 kB / 0.8543 GB, free: 13.55 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001924/0.1783, allocations: 338.8 kB / 0.8546 GB, free: 13.21 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002804/0.1786, allocations: 141 kB / 0.8547 GB, free: 13.05 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003348/0.1789, allocations: 221.3 kB / 0.855 GB, free: 12.79 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004998/0.1794, allocations: 282 kB / 0.8552 GB, free: 12.48 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.1794, allocations: 0 / 0.8552 GB, free: 12.48 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.4506/0.63, allocations: 390.4 kB / 0.8556 GB, free: 28.21 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.078e-05/0.6301, allocations: 65.66 kB / 0.8557 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.405e-05/0.6301, allocations: 3.875 kB / 0.8557 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/0.6301, allocations: 4.031 kB / 0.8557 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002449/0.6304, allocations: 54.86 kB / 0.8557 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.153e-05/0.6304, allocations: 3.625 kB / 0.8557 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002742/0.6307, allocations: 16.77 kB / 0.8557 GB, free: 28.15 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.77e-05/0.6307, allocations: 13.58 kB / 0.8558 GB, free: 28.15 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.0002562/0.631, allocations: 169.5 kB / 0.8559 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.617e-05/0.631, allocations: 24.81 kB / 0.8559 GB, free: 28.01 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.335e-05/0.6311, allocations: 28.23 kB / 0.856 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.189e-06/0.6311, allocations: 4.125 kB / 0.856 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.6311, allocations: 0 / 0.856 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.6311, allocations: 1.688 kB / 0.856 GB, free: 28 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008671/0.6319, allocations: 0.5419 MB / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.632, allocations: 0 / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001813/0.6321, allocations: 34.58 kB / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.6321, allocations: 1.062 kB / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.031e-05/0.6322, allocations: 8.406 kB / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.565e-06/0.6322, allocations: 1.25 kB / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.6322, allocations: 3.547 kB / 0.8565 GB, free: 27.7 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007505/0.6329, allocations: 0.4914 MB / 0.857 GB, free: 27.48 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.25e-05/0.633, allocations: 24.47 kB / 0.8571 GB, free: 27.47 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.327e-05/0.633, allocations: 18.94 kB / 0.8571 GB, free: 27.47 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.6332, allocations: 15.41 kB / 0.8571 GB, free: 27.47 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.6333, allocations: 22.89 kB / 0.8571 GB, free: 27.47 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.538e-05/0.6333, allocations: 2.469 kB / 0.8571 GB, free: 27.47 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001504/0.6334, allocations: 161.7 kB / 0.8573 GB, free: 27.4 MB / 490.8 MB Notification: Performance of sort global known variables: time 7e-08/0.6334, allocations: 4.188 kB / 0.8573 GB, free: 27.4 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0003101/0.6337, allocations: 55.94 kB / 0.8573 GB, free: 27.4 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.0001569/0.6339, allocations: 119.2 kB / 0.8574 GB, free: 27.31 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0005692/0.6345, allocations: 378.1 kB / 0.8578 GB, free: 27.09 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.6345, allocations: 0.7188 kB / 0.8578 GB, free: 27.09 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.6347, allocations: 173.4 kB / 0.858 GB, free: 27 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.6351, allocations: 63.78 kB / 0.858 GB, free: 26.99 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.6364, allocations: 0.6718 MB / 0.8587 GB, free: 26.72 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.6365, allocations: 126.4 kB / 0.8588 GB, free: 26.64 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.000107/0.6366, allocations: 25.48 kB / 0.8588 GB, free: 26.64 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.403e-05/0.6367, allocations: 23.19 kB / 0.8588 GB, free: 26.63 MB / 490.8 MB Notification: Performance of SimCode: time 1.082e-06/0.6367, allocations: 0 / 0.8588 GB, free: 26.63 MB / 490.8 MB Notification: Performance of Templates: time 0.008805/0.6455, allocations: 3.646 MB / 0.8624 GB, free: 26.35 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 8.515882822917774]