Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin.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.001907/0.001907, allocations: 109.5 kB / 18.95 MB, free: 1.172 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.002107/0.002107, allocations: 218.2 kB / 22.25 MB, free: 3.559 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.831/1.831, allocations: 230.6 MB / 256 MB, free: 9.598 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.529/1.529, allocations: 316.8 MB / 0.6144 GB, free: 92.86 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.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=133200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin,tolerance=1e-09,outputFormat="empty",numberOfIntervals=133200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin") [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.004059/0.004059, allocations: 81.17 kB / 0.775 GB, free: 14.78 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1688/0.1728, allocations: 74 MB / 0.8473 GB, free: 4.914 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin): time 0.004374/0.1772, allocations: 2.291 MB / 0.8495 GB, free: 2.625 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.4195/0.5967, allocations: 6.518 MB / 0.8559 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003391/0.597, allocations: 1.094 kB / 0.8559 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0002015/0.5972, allocations: 30.69 kB / 0.8559 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0003205/0.5976, allocations: 83.41 kB / 0.856 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003168/0.5979, allocations: 53.75 kB / 0.856 GB, free: 21.89 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.0003306/0.5982, allocations: 256.4 kB / 0.8563 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.5984, allocations: 39.73 kB / 0.8563 GB, free: 21.86 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.5985, allocations: 93.34 kB / 0.8564 GB, free: 21.85 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002349/0.5987, allocations: 103.9 kB / 0.8565 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 3.672e-05/0.5988, allocations: 16.19 kB / 0.8565 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.518e-05/0.5988, allocations: 18.75 kB / 0.8565 GB, free: 21.82 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 4.655e-05/0.5989, allocations: 37.2 kB / 0.8566 GB, free: 21.81 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0001085/0.599, allocations: 98.56 kB / 0.8567 GB, free: 21.79 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002726/0.5993, allocations: 192.3 kB / 0.8568 GB, free: 21.76 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.5993, allocations: 0 / 0.8568 GB, free: 21.76 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.833e-06/0.5993, allocations: 1.406 kB / 0.8568 GB, free: 21.76 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.5993, allocations: 6.312 kB / 0.8569 GB, free: 21.75 MB / 490.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.0009141/0.6002, allocations: 496.1 kB / 0.8573 GB, free: 21.36 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.6002, allocations: 10.19 kB / 0.8573 GB, free: 21.36 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.6003, allocations: 24.23 kB / 0.8574 GB, free: 21.34 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002406/0.6005, allocations: 186.6 kB / 0.8575 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.858e-05/0.6005, allocations: 11.92 kB / 0.8575 GB, free: 21.19 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.389e-05/0.6006, allocations: 20.77 kB / 0.8576 GB, free: 21.18 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003953/0.601, allocations: 192.1 kB / 0.8578 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.697e-05/0.601, allocations: 0.625 kB / 0.8578 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.272e-05/0.601, allocations: 5.938 kB / 0.8578 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.601, allocations: 1.781 kB / 0.8578 GB, free: 21.1 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003408/0.6014, allocations: 150.9 kB / 0.8579 GB, free: 21.07 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007799/0.6022, allocations: 481.2 kB / 0.8584 GB, free: 20.77 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005191/0.6027, allocations: 175.3 kB / 0.8585 GB, free: 20.71 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001851/0.6029, allocations: 93.41 kB / 0.8586 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.57e-05/0.6029, allocations: 2.781 kB / 0.8586 GB, free: 20.68 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003611/0.6032, allocations: 227.9 kB / 0.8588 GB, free: 20.53 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.603e-06/0.6032, allocations: 0 / 0.8588 GB, free: 20.53 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001677/0.6049, allocations: 0.7017 MB / 0.8595 GB, free: 20.17 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.18e-05/0.605, allocations: 135.5 kB / 0.8597 GB, free: 20.02 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002759/0.6053, allocations: 215 kB / 0.8599 GB, free: 19.91 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 3.329e-05/0.6053, allocations: 39.02 kB / 0.8599 GB, free: 19.88 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.6054, allocations: 133.4 kB / 0.86 GB, free: 19.79 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.6055, allocations: 68.88 kB / 0.8601 GB, free: 19.74 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.6056, allocations: 58.06 kB / 0.8601 GB, free: 19.72 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.6057, allocations: 337 kB / 0.8605 GB, free: 19.4 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002491/0.606, allocations: 144.9 kB / 0.8606 GB, free: 19.33 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002772/0.6063, allocations: 226.9 kB / 0.8608 GB, free: 19.16 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004393/0.6067, allocations: 280.8 kB / 0.8611 GB, free: 19 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.6067, allocations: 9.688 kB / 0.8611 GB, free: 18.99 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005446/0.6072, allocations: 384.1 kB / 0.8615 GB, free: 18.81 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.798e-05/0.6073, allocations: 62.56 kB / 0.8615 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.6073, allocations: 8.188 kB / 0.8615 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.424e-05/0.6073, allocations: 3.062 kB / 0.8615 GB, free: 18.75 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002273/0.6076, allocations: 52.3 kB / 0.8616 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.099e-05/0.6076, allocations: 4.156 kB / 0.8616 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001785/0.6077, allocations: 20.89 kB / 0.8616 GB, free: 18.74 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.6078, allocations: 8.625 kB / 0.8616 GB, free: 18.74 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.000198/0.608, allocations: 182.3 kB / 0.8618 GB, free: 18.59 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.487e-05/0.608, allocations: 21.77 kB / 0.8618 GB, free: 18.58 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.437e-05/0.6081, allocations: 31.19 kB / 0.8618 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.614e-06/0.6081, allocations: 0 / 0.8618 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.6081, allocations: 3.938 kB / 0.8618 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.81e-06/0.6081, allocations: 5.859 kB / 0.8618 GB, free: 18.56 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000833/0.6089, allocations: 0.5367 MB / 0.8624 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.744e-06/0.6089, allocations: 1.188 kB / 0.8624 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001866/0.6091, allocations: 39.16 kB / 0.8624 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.841e-06/0.6091, allocations: 4.234 kB / 0.8624 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.6091, allocations: 7.281 kB / 0.8624 GB, free: 18.26 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.019e-06/0.6091, allocations: 6.438 kB / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.6091, allocations: 0 / 0.8624 GB, free: 18.25 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007936/0.6099, allocations: 499.1 kB / 0.8629 GB, free: 18.01 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.049e-05/0.61, allocations: 23.56 kB / 0.8629 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.423e-05/0.61, allocations: 7 kB / 0.8629 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001658/0.6102, allocations: 18.44 kB / 0.8629 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.6103, allocations: 19.59 kB / 0.863 GB, free: 18 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.627e-05/0.6103, allocations: 5.5 kB / 0.863 GB, free: 18 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.000151/0.6105, allocations: 162.1 kB / 0.8631 GB, free: 17.92 MB / 490.8 MB Notification: Performance of sort global known variables: time 1e-07/0.6105, allocations: 5.906 kB / 0.8631 GB, free: 17.91 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.000326/0.6108, allocations: 55.88 kB / 0.8632 GB, free: 17.91 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.0001785/0.611, allocations: 113.5 kB / 0.8633 GB, free: 17.82 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.0007467/0.6117, allocations: 379.8 kB / 0.8637 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.6117, allocations: 0 / 0.8637 GB, free: 17.59 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.000313/0.612, allocations: 169.5 kB / 0.8638 GB, free: 17.5 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006026/0.6126, allocations: 80.97 kB / 0.8639 GB, free: 17.49 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00161/0.6142, allocations: 0.6869 MB / 0.8646 GB, free: 17.17 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001745/0.6144, allocations: 126.1 kB / 0.8647 GB, free: 17.09 MB / 490.8 MB Notification: Performance of simCode: alias equations: time 0.0001169/0.6145, allocations: 22.06 kB / 0.8647 GB, free: 17.09 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.748e-05/0.6146, allocations: 23.36 kB / 0.8647 GB, free: 17.08 MB / 490.8 MB Notification: Performance of SimCode: time 6.31e-07/0.6146, allocations: 5.031 kB / 0.8647 GB, free: 17.08 MB / 490.8 MB Notification: Performance of Templates: time 0.009796/0.6244, allocations: 3.624 MB / 0.8683 GB, free: 16.77 MB / 490.8 MB " [Timeout remaining time 659] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.97784041101113]