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.0009311/0.0009311, 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.0009573/0.0009573, allocations: 166.3 kB / 23.21 MB, free: 1.332 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 0.9644/0.9644, allocations: 177.1 MB / 203.5 MB, free: 5.395 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.7261/0.7261, allocations: 291.2 MB / 0.5382 GB, free: 51.62 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_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.655e-06/2.655e-06, allocations: 0 / 0.6973 GB, free: 10.42 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.97e-05/4.235e-05, allocations: 4.812 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_Doshi2010_reference): time 0.003295/0.003337, allocations: 2.281 MB / 0.6996 GB, free: 8.117 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001009/0.004346, allocations: 0.6039 MB / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001235/0.004469, allocations: 0 / 0.7002 GB, free: 7.512 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001332/0.004602, allocations: 23.72 kB / 0.7002 GB, free: 7.488 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002265/0.004829, allocations: 91.27 kB / 0.7003 GB, free: 7.398 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.00506, allocations: 51.92 kB / 0.7003 GB, free: 7.348 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002674/0.005327, allocations: 262.6 kB / 0.7006 GB, free: 7.09 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000179/0.005506, allocations: 36.52 kB / 0.7006 GB, free: 7.059 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001938/0.0057, allocations: 143.6 kB / 0.7007 GB, free: 6.918 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002083/0.005909, allocations: 79.73 kB / 0.7008 GB, free: 6.84 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.555e-05/0.005944, allocations: 16 kB / 0.7008 GB, free: 6.824 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.919e-05/0.005973, allocations: 20 kB / 0.7009 GB, free: 6.805 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 3.653e-05/0.00601, allocations: 39.83 kB / 0.7009 GB, free: 6.766 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.006095, allocations: 79.77 kB / 0.701 GB, free: 6.688 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002429/0.006338, allocations: 199.4 kB / 0.7012 GB, free: 6.492 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.006341, allocations: 4 kB / 0.7012 GB, free: 6.488 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.322e-06/0.006342, allocations: 0 / 0.7012 GB, free: 6.488 MB / 410.8 MB Notification: Performance of Transformations before backend: time 6.231e-06/0.006348, allocations: 3.938 kB / 0.7012 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.0007559/0.007104, allocations: 488.8 kB / 0.7016 GB, free: 5.961 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.251e-05/0.007157, allocations: 12.03 kB / 0.7016 GB, free: 5.949 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.903e-05/0.007236, allocations: 32.78 kB / 0.7017 GB, free: 5.918 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002415/0.007477, allocations: 182.4 kB / 0.7019 GB, free: 5.711 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.978e-05/0.007507, allocations: 12.59 kB / 0.7019 GB, free: 5.699 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.345e-05/0.00755, allocations: 16.38 kB / 0.7019 GB, free: 5.684 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.007889, allocations: 190.5 kB / 0.7021 GB, free: 5.484 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.914e-05/0.007908, allocations: 7.891 kB / 0.7021 GB, free: 5.477 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.869e-05/0.007927, allocations: 8 kB / 0.7021 GB, free: 5.469 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.007934, allocations: 0 / 0.7021 GB, free: 5.469 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002811/0.008215, allocations: 150.3 kB / 0.7022 GB, free: 5.316 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006851/0.0089, allocations: 481.4 kB / 0.7027 GB, free: 4.812 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004113/0.009312, allocations: 183.9 kB / 0.7029 GB, free: 4.617 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001449/0.009457, allocations: 94.52 kB / 0.7029 GB, free: 4.516 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.009468, allocations: 0 / 0.7029 GB, free: 4.516 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002718/0.00974, allocations: 232.4 kB / 0.7032 GB, free: 4.258 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.894e-06/0.009742, allocations: 0 / 0.7032 GB, free: 4.258 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001195/0.01094, allocations: 0.7043 MB / 0.7039 GB, free: 3.496 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.188e-05/0.01099, allocations: 136.5 kB / 0.704 GB, free: 3.332 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.01116, allocations: 215 kB / 0.7042 GB, free: 3.113 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 1.807e-05/0.01118, allocations: 33.7 kB / 0.7042 GB, free: 3.074 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.945e-05/0.01125, allocations: 140.5 kB / 0.7044 GB, free: 2.934 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.192e-05/0.01129, allocations: 67.42 kB / 0.7044 GB, free: 2.867 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.142e-05/0.01136, allocations: 49.7 kB / 0.7045 GB, free: 2.812 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.794e-05/0.01142, allocations: 338.8 kB / 0.7048 GB, free: 2.473 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001805/0.0116, allocations: 145 kB / 0.7049 GB, free: 2.312 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001913/0.01179, allocations: 221.3 kB / 0.7051 GB, free: 2.051 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003006/0.0121, allocations: 287.8 kB / 0.7054 GB, free: 1.727 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.0121, allocations: 0 / 0.7054 GB, free: 1.727 MB / 410.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0004677/0.01257, allocations: 388 kB / 0.7058 GB, free: 1.316 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.078e-05/0.01261, allocations: 59.41 kB / 0.7058 GB, free: 1.246 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.734e-06/0.01261, allocations: 4 kB / 0.7058 GB, free: 1.242 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.01263, allocations: 0 / 0.7058 GB, free: 1.242 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001668/0.0128, allocations: 59.84 kB / 0.7059 GB, free: 1.184 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.01281, allocations: 0 / 0.7059 GB, free: 1.184 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001319/0.01294, allocations: 23.92 kB / 0.7059 GB, free: 1.16 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.807e-05/0.01296, allocations: 12.2 kB / 0.7059 GB, free: 1.148 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.0001809/0.01314, allocations: 176 kB / 0.7061 GB, free: 0.9648 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.97e-05/0.01317, allocations: 27.83 kB / 0.7061 GB, free: 0.9375 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.156e-05/0.01321, allocations: 29.84 kB / 0.7062 GB, free: 0.9062 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01321, allocations: 3.984 kB / 0.7062 GB, free: 0.9023 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.404e-06/0.01322, allocations: 7.938 kB / 0.7062 GB, free: 0.8945 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.01323, allocations: 3.984 kB / 0.7062 GB, free: 0.8906 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005946/0.01382, allocations: 0.5329 MB / 0.7067 GB, free: 316 kB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.616e-06/0.01382, allocations: 4 kB / 0.7067 GB, free: 312 kB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001458/0.01397, allocations: 35.92 kB / 0.7067 GB, free: 276 kB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.529e-06/0.01397, allocations: 4 kB / 0.7067 GB, free: 272 kB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.592e-05/0.01399, allocations: 3.984 kB / 0.7067 GB, free: 268 kB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.01399, allocations: 4 kB / 0.7067 GB, free: 264 kB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.01399, allocations: 0 / 0.7067 GB, free: 264 kB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006241/0.01462, allocations: 0.4991 MB / 0.7072 GB, free: 15.73 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.01466, allocations: 19.86 kB / 0.7073 GB, free: 15.71 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.723e-05/0.01469, allocations: 4 kB / 0.7073 GB, free: 15.71 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001265/0.01482, allocations: 16.03 kB / 0.7073 GB, free: 15.69 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.11e-05/0.01491, allocations: 27.89 kB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.491e-05/0.01493, allocations: 4 kB / 0.7073 GB, free: 15.66 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0001361/0.01506, allocations: 160.4 kB / 0.7075 GB, free: 15.5 MB / 426.8 MB Notification: Performance of sort global known variables: time 3.01e-07/0.01506, allocations: 0 / 0.7075 GB, free: 15.5 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0003284/0.01539, allocations: 59.98 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.0001525/0.01554, allocations: 115.2 kB / 0.7076 GB, free: 15.32 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0004963/0.01604, allocations: 379.6 kB / 0.708 GB, free: 14.91 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.01604, allocations: 0 / 0.708 GB, free: 14.91 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.01625, 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.0004478/0.0167, allocations: 74.92 kB / 0.7082 GB, free: 14.65 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.01782, allocations: 0.5993 MB / 0.7088 GB, free: 14.02 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001063/0.01792, allocations: 121.6 kB / 0.7089 GB, free: 13.88 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.209e-05/0.018, allocations: 24.5 kB / 0.7089 GB, free: 13.85 MB / 426.8 MB Notification: Performance of SimCode: time 8.41e-07/0.018, allocations: 0 / 0.7089 GB, free: 13.85 MB / 426.8 MB Notification: Performance of Templates: time 0.004876/0.02287, allocations: 2.95 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_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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Doshi2010_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.996725718490779]