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.00222/0.00222, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.002605/0.002605, allocations: 169.9 kB / 22.45 MB, free: 2.105 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.597/1.597, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.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.265/1.265, allocations: 292.9 MB / 0.5392 GB, free: 49.84 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: Performance of FrontEnd - loaded program: time 2.124e-06/2.124e-06, allocations: 0 / 0.6998 GB, free: 8.586 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.135e-05/3.347e-05, allocations: 2.281 kB / 0.6998 GB, free: 8.582 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_reference): time 0.004274/0.004308, allocations: 2.289 MB / 0.7021 GB, free: 6.277 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001353/0.005661, allocations: 0.5845 MB / 0.7027 GB, free: 5.691 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000143/0.005804, allocations: 4 kB / 0.7027 GB, free: 5.688 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001511/0.005955, allocations: 31.72 kB / 0.7027 GB, free: 5.656 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002822/0.006237, allocations: 91.19 kB / 0.7028 GB, free: 5.566 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.000273/0.00651, allocations: 51.88 kB / 0.7028 GB, free: 5.516 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003404/0.006851, allocations: 266.6 kB / 0.7031 GB, free: 5.254 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.007028, allocations: 36.56 kB / 0.7031 GB, free: 5.223 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002129/0.007241, allocations: 139.6 kB / 0.7032 GB, free: 5.086 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002534/0.007495, allocations: 79.78 kB / 0.7033 GB, free: 5.008 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 4.432e-05/0.007539, allocations: 16 kB / 0.7033 GB, free: 4.992 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.297e-05/0.007582, allocations: 20 kB / 0.7034 GB, free: 4.973 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.839e-05/0.00763, allocations: 43.78 kB / 0.7034 GB, free: 4.93 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001215/0.007752, allocations: 67.84 kB / 0.7035 GB, free: 4.863 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0003023/0.008054, allocations: 207.3 kB / 0.7037 GB, free: 4.66 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.008059, allocations: 0 / 0.7037 GB, free: 4.66 MB / 410.8 MB Notification: Performance of FrontEnd: time 2.485e-06/0.008061, allocations: 3.938 kB / 0.7037 GB, free: 4.656 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.552e-06/0.008068, allocations: 0 / 0.7037 GB, free: 4.656 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.001055/0.009123, allocations: 0.489 MB / 0.7041 GB, free: 4.121 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.009169, allocations: 8.031 kB / 0.7042 GB, free: 4.113 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.988e-05/0.009259, allocations: 24.8 kB / 0.7042 GB, free: 4.09 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002894/0.009548, allocations: 178.5 kB / 0.7043 GB, free: 3.887 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.706e-05/0.009575, allocations: 12.61 kB / 0.7044 GB, free: 3.875 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.632e-05/0.009631, allocations: 16.31 kB / 0.7044 GB, free: 3.859 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004536/0.01008, allocations: 202.4 kB / 0.7046 GB, free: 3.648 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/0.0101, allocations: 3.953 kB / 0.7046 GB, free: 3.645 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.436e-05/0.01013, allocations: 4 kB / 0.7046 GB, free: 3.641 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.716e-06/0.01014, allocations: 8 kB / 0.7046 GB, free: 3.633 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004597/0.0106, allocations: 146.3 kB / 0.7047 GB, free: 3.484 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009477/0.01154, allocations: 481.5 kB / 0.7052 GB, free: 2.98 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006391/0.01218, allocations: 176 kB / 0.7053 GB, free: 2.793 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002387/0.01242, allocations: 98.52 kB / 0.7054 GB, free: 2.688 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/0.01244, allocations: 4 kB / 0.7054 GB, free: 2.684 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000425/0.01286, allocations: 228.4 kB / 0.7057 GB, free: 2.43 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 2.124e-06/0.01286, allocations: 4 kB / 0.7057 GB, free: 2.426 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001848/0.01471, allocations: 0.7025 MB / 0.7064 GB, free: 1.66 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.279e-05/0.01478, allocations: 136.5 kB / 0.7065 GB, free: 1.496 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002499/0.01503, allocations: 219 kB / 0.7067 GB, free: 1.273 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.537e-05/0.01505, allocations: 33.7 kB / 0.7067 GB, free: 1.234 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 8.58e-05/0.01514, allocations: 132.5 kB / 0.7069 GB, free: 1.102 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.782e-05/0.01519, allocations: 67.48 kB / 0.7069 GB, free: 1.035 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001014/0.0153, allocations: 49.7 kB / 0.707 GB, free: 0.9805 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 7.544e-05/0.01537, allocations: 338.8 kB / 0.7073 GB, free: 0.6406 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002822/0.01565, allocations: 144.9 kB / 0.7074 GB, free: 492 kB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003106/0.01596, allocations: 221.3 kB / 0.7076 GB, free: 224 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006021/0.01657, allocations: 280.8 kB / 0.7079 GB, free: 15.9 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.01657, allocations: 0 / 0.7079 GB, free: 15.9 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001018/0.01759, allocations: 402.5 kB / 0.7083 GB, free: 15.48 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.249e-05/0.01767, allocations: 63.41 kB / 0.7083 GB, free: 15.4 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.01768, allocations: 0 / 0.7083 GB, free: 15.4 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.0177, allocations: 4 kB / 0.7084 GB, free: 15.4 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003256/0.01803, allocations: 55.83 kB / 0.7084 GB, free: 15.34 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.01804, allocations: 4.219 kB / 0.7084 GB, free: 15.34 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002994/0.01834, allocations: 23.98 kB / 0.7084 GB, free: 15.32 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.43e-05/0.01839, allocations: 15.98 kB / 0.7084 GB, free: 15.3 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: 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.0003318/0.01872, allocations: 175.2 kB / 0.7086 GB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.379e-05/0.01877, allocations: 19.84 kB / 0.7086 GB, free: 15.1 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.185e-05/0.01886, allocations: 29.95 kB / 0.7087 GB, free: 15.07 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.01887, allocations: 0 / 0.7087 GB, free: 15.07 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.153e-05/0.01888, allocations: 3.938 kB / 0.7087 GB, free: 15.06 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.702e-06/0.01888, allocations: 4 kB / 0.7087 GB, free: 15.06 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001437/0.02032, allocations: 0.547 MB / 0.7092 GB, free: 14.47 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.02032, allocations: 0 / 0.7092 GB, free: 14.47 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003323/0.02066, allocations: 31.97 kB / 0.7092 GB, free: 14.44 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.02066, allocations: 0 / 0.7092 GB, free: 14.44 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.587e-05/0.0207, allocations: 12 kB / 0.7092 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.0207, allocations: 0 / 0.7092 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.0207, allocations: 0 / 0.7092 GB, free: 14.43 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.02216, allocations: 0.4989 MB / 0.7097 GB, free: 13.89 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.964e-05/0.02223, allocations: 23.89 kB / 0.7098 GB, free: 13.87 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.348e-05/0.0223, allocations: 4 kB / 0.7098 GB, free: 13.87 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003041/0.02261, allocations: 15.98 kB / 0.7098 GB, free: 13.85 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000116/0.02272, allocations: 19.97 kB / 0.7098 GB, free: 13.83 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.853e-05/0.02275, allocations: 8 kB / 0.7098 GB, free: 13.82 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002845/0.02303, allocations: 160.4 kB / 0.71 GB, free: 13.67 MB / 426.8 MB Notification: Performance of sort global known variables: time 2.9e-07/0.02303, allocations: 0 / 0.71 GB, free: 13.67 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0005922/0.02363, allocations: 60 kB / 0.71 GB, free: 13.61 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.0002332/0.02386, allocations: 115.2 kB / 0.7101 GB, free: 13.49 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.001415/0.02528, allocations: 382.2 kB / 0.7105 GB, free: 13.07 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.02528, allocations: 0 / 0.7105 GB, free: 13.07 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0005107/0.02579, allocations: 169.4 kB / 0.7106 GB, free: 12.89 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008905/0.02668, allocations: 75.83 kB / 0.7107 GB, free: 12.82 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002112/0.02879, allocations: 0.5742 MB / 0.7113 GB, free: 12.21 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002327/0.02902, allocations: 125.6 kB / 0.7114 GB, free: 12.07 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001917/0.02922, allocations: 21.95 kB / 0.7114 GB, free: 12.04 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.02932, allocations: 24.5 kB / 0.7114 GB, free: 12.02 MB / 426.8 MB Notification: Performance of SimCode: time 1.112e-06/0.02932, allocations: 0 / 0.7114 GB, free: 12.02 MB / 426.8 MB Notification: Performance of Templates: time 0.01461/0.04393, allocations: 3.355 MB / 0.7147 GB, free: 8.84 MB / 426.8 MB " [Timeout remaining time 660] 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: 7.375503802904859]