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.002062/0.002062, allocations: 88.44 kB / 19.18 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.002172/0.002172, allocations: 169.9 kB / 22.46 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.602/1.602, 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.28/1.28, allocations: 292.9 MB / 0.5392 GB, free: 49.81 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: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.6999 GB, free: 8.637 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.204e-05, allocations: 2.281 kB / 0.6999 GB, free: 8.633 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03X_OtherAntianemicPreparations.B03XA02_DarbepoetinAlfa.DarbepoetinAlfa_Roberts2015_reference): time 0.004004/0.004026, allocations: 2.29 MB / 0.7021 GB, free: 6.328 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 0.001884/0.00591, allocations: 0.5845 MB / 0.7027 GB, free: 5.742 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001309/0.006041, allocations: 4 kB / 0.7027 GB, free: 5.738 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001587/0.0062, allocations: 23.72 kB / 0.7027 GB, free: 5.715 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003473/0.006547, allocations: 91.2 kB / 0.7028 GB, free: 5.625 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.006769, allocations: 55.86 kB / 0.7028 GB, free: 5.57 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 0.0002953/0.007064, allocations: 262.6 kB / 0.7031 GB, free: 5.312 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001562/0.007221, allocations: 32.58 kB / 0.7031 GB, free: 5.285 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.007408, allocations: 143.6 kB / 0.7033 GB, free: 5.145 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.007617, allocations: 79.8 kB / 0.7033 GB, free: 5.066 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.678e-05/0.007654, allocations: 16 kB / 0.7033 GB, free: 5.051 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 3.903e-05/0.007693, allocations: 16 kB / 0.7034 GB, free: 5.035 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 4.155e-05/0.007735, allocations: 47.77 kB / 0.7034 GB, free: 4.988 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.007837, allocations: 75.83 kB / 0.7035 GB, free: 4.914 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002481/0.008085, allocations: 203.3 kB / 0.7037 GB, free: 4.715 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.008087, allocations: 0 / 0.7037 GB, free: 4.715 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.022e-06/0.008088, allocations: 3.938 kB / 0.7037 GB, free: 4.711 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.008093, allocations: 4 kB / 0.7037 GB, free: 4.707 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.0009213/0.009014, allocations: 492.8 kB / 0.7041 GB, free: 4.18 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.00905, allocations: 20.02 kB / 0.7042 GB, free: 4.16 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.692e-05/0.009116, allocations: 20.8 kB / 0.7042 GB, free: 4.141 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.009356, allocations: 174.5 kB / 0.7044 GB, free: 3.941 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.019e-05/0.009377, allocations: 12.59 kB / 0.7044 GB, free: 3.93 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.901e-05/0.009416, allocations: 12.38 kB / 0.7044 GB, free: 3.918 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004173/0.009833, allocations: 206.4 kB / 0.7046 GB, free: 3.703 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.76e-05/0.009851, allocations: 7.938 kB / 0.7046 GB, free: 3.695 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.27e-05/0.009873, allocations: 7.984 kB / 0.7046 GB, free: 3.688 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.992e-06/0.009879, allocations: 4 kB / 0.7046 GB, free: 3.684 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004407/0.01032, allocations: 142.3 kB / 0.7047 GB, free: 3.539 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008415/0.01116, allocations: 481.5 kB / 0.7052 GB, free: 3.035 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005837/0.01175, allocations: 180 kB / 0.7054 GB, free: 2.844 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000226/0.01197, allocations: 94.52 kB / 0.7054 GB, free: 2.742 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.362e-05/0.01198, allocations: 4 kB / 0.7055 GB, free: 2.738 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003692/0.01235, allocations: 231.2 kB / 0.7057 GB, free: 2.484 MB / 410.8 MB Notification: Performance of pre-optimization done (n=20): time 1.773e-06/0.01236, allocations: 0 / 0.7057 GB, free: 2.484 MB / 410.8 MB Notification: Performance of matching and sorting (n=21): time 0.001682/0.01404, allocations: 0.6986 MB / 0.7064 GB, free: 1.723 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.779e-05/0.01409, allocations: 148.5 kB / 0.7065 GB, free: 1.547 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002137/0.0143, allocations: 211 kB / 0.7067 GB, free: 1.332 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 2.706e-05/0.01433, allocations: 33.7 kB / 0.7067 GB, free: 1.293 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 6.99e-05/0.0144, allocations: 136.4 kB / 0.7069 GB, free: 1.156 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 5.49e-05/0.01445, allocations: 67.5 kB / 0.7069 GB, free: 1.09 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.755e-05/0.01455, allocations: 49.69 kB / 0.707 GB, free: 1.035 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.0146, allocations: 334.8 kB / 0.7073 GB, free: 0.6992 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.01489, allocations: 148.9 kB / 0.7074 GB, free: 0.5352 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003005/0.01519, allocations: 217.3 kB / 0.7076 GB, free: 284 kB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.01572, allocations: 291.1 kB / 0.7079 GB, free: 15.95 MB / 426.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.451e-06/0.01573, allocations: 4 kB / 0.7079 GB, free: 15.95 MB / 426.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0009912/0.01672, allocations: 391.9 kB / 0.7083 GB, free: 15.53 MB / 426.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.491e-05/0.01679, allocations: 63.34 kB / 0.7084 GB, free: 15.46 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.0168, allocations: 0 / 0.7084 GB, free: 15.46 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.056e-05/0.01682, allocations: 4 kB / 0.7084 GB, free: 15.45 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003263/0.01715, allocations: 59.84 kB / 0.7084 GB, free: 15.39 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.01715, allocations: 0 / 0.7084 GB, free: 15.39 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002767/0.01743, allocations: 28.19 kB / 0.7084 GB, free: 15.37 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.01746, allocations: 8 kB / 0.7085 GB, free: 15.36 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.0002707/0.01773, allocations: 175.7 kB / 0.7086 GB, free: 15.17 MB / 426.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.051e-05/0.01779, allocations: 23.84 kB / 0.7086 GB, free: 15.15 MB / 426.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.933e-05/0.01786, allocations: 21.97 kB / 0.7087 GB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.01786, allocations: 0 / 0.7087 GB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.009e-05/0.01787, allocations: 3.938 kB / 0.7087 GB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.01788, allocations: 3.984 kB / 0.7087 GB, free: 15.12 MB / 426.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00121/0.01909, allocations: 0.5468 MB / 0.7092 GB, free: 14.53 MB / 426.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.01909, allocations: 0 / 0.7092 GB, free: 14.53 MB / 426.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002798/0.01937, allocations: 27.98 kB / 0.7092 GB, free: 14.5 MB / 426.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.015e-06/0.01938, allocations: 0 / 0.7092 GB, free: 14.5 MB / 426.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.223e-05/0.01941, allocations: 11.98 kB / 0.7092 GB, free: 14.49 MB / 426.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.01941, allocations: 0 / 0.7092 GB, free: 14.49 MB / 426.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/0.01941, allocations: 4 kB / 0.7092 GB, free: 14.48 MB / 426.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.02061, allocations: 0.5002 MB / 0.7097 GB, free: 13.95 MB / 426.8 MB Notification: Performance of postOpt removeConstants (simulation): time 5.548e-05/0.02067, allocations: 15.86 kB / 0.7097 GB, free: 13.94 MB / 426.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.451e-05/0.02074, allocations: 8 kB / 0.7098 GB, free: 13.93 MB / 426.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002588/0.021, allocations: 16.11 kB / 0.7098 GB, free: 13.91 MB / 426.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001044/0.0211, allocations: 27.95 kB / 0.7098 GB, free: 13.89 MB / 426.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.425e-05/0.02113, allocations: 4 kB / 0.7098 GB, free: 13.88 MB / 426.8 MB Notification: Performance of sorting global known variables: time 0.0002382/0.02137, allocations: 164.4 kB / 0.71 GB, free: 13.72 MB / 426.8 MB Notification: Performance of sort global known variables: time 1.1e-07/0.02137, allocations: 0 / 0.71 GB, free: 13.72 MB / 426.8 MB Notification: Performance of remove unused functions: time 0.0005043/0.02187, allocations: 52 kB / 0.71 GB, free: 13.67 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.000181/0.02205, allocations: 117.8 kB / 0.7101 GB, free: 13.55 MB / 426.8 MB Notification: Performance of simCode: created initialization part: time 0.0008923/0.02294, allocations: 382.2 kB / 0.7105 GB, free: 13.14 MB / 426.8 MB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.02295, allocations: 4 kB / 0.7105 GB, free: 13.13 MB / 426.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000402/0.02335, allocations: 173 kB / 0.7107 GB, free: 12.95 MB / 426.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006946/0.02405, allocations: 75.23 kB / 0.7107 GB, free: 12.88 MB / 426.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.02559, allocations: 0.5741 MB / 0.7113 GB, free: 12.27 MB / 426.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001775/0.02577, allocations: 125.6 kB / 0.7114 GB, free: 12.12 MB / 426.8 MB Notification: Performance of simCode: alias equations: time 0.0001335/0.0259, allocations: 25.94 kB / 0.7114 GB, free: 12.1 MB / 426.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.423e-05/0.02598, allocations: 20.5 kB / 0.7115 GB, free: 12.08 MB / 426.8 MB Notification: Performance of SimCode: time 5.01e-07/0.02598, allocations: 3.938 kB / 0.7115 GB, free: 12.07 MB / 426.8 MB Notification: Performance of Templates: time 0.01067/0.03666, allocations: 3.357 MB / 0.7147 GB, free: 8.887 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 -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: 7.294440615922213]