Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_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.0006682/0.0006682, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008814/0.00155, allocations: 443.9 kB / 10.36 MB, free: 332 kB / 10.45 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.000687/0.000687, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008696/0.001557, allocations: 475.7 kB / 11.72 MB, free: 2.453 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 0.9419/0.9419, allocations: 177.2 MB / 189.6 MB, free: 5.312 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0943/1.036, allocations: 53.67 MB / 243.3 MB, free: 15.59 MB / 250.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.8038/0.8038, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0278/0.8316, allocations: 21.05 MB / 0.5432 GB, free: 31.95 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.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=133200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=133200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5445 GB, free: 30.6 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.007e-06/1.063e-05, allocations: 6.25 kB / 0.5445 GB, free: 30.59 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference): time 0.001924/0.001935, allocations: 2.486 MB / 0.547 GB, free: 28.1 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003704/0.005639, allocations: 6.688 MB / 0.5535 GB, free: 21.4 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.292e-05/0.005722, allocations: 0 / 0.5535 GB, free: 21.4 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 6.314e-05/0.005785, allocations: 31.64 kB / 0.5535 GB, free: 21.37 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001268/0.005912, allocations: 83.34 kB / 0.5536 GB, free: 21.29 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001197/0.006032, allocations: 55.8 kB / 0.5537 GB, free: 21.23 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001878/0.006219, allocations: 266.6 kB / 0.5539 GB, free: 20.97 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.006324, allocations: 42.45 kB / 0.5539 GB, free: 20.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.006473, allocations: 176.2 kB / 0.5541 GB, free: 20.76 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.006611, allocations: 87.72 kB / 0.5542 GB, free: 20.68 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.321e-05/0.006634, allocations: 16 kB / 0.5542 GB, free: 20.66 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.923e-05/0.006653, allocations: 20 kB / 0.5542 GB, free: 20.64 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.439e-05/0.006678, allocations: 27.88 kB / 0.5543 GB, free: 20.61 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.447e-05/0.006732, allocations: 63.88 kB / 0.5543 GB, free: 20.55 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001556/0.006888, allocations: 139.5 kB / 0.5545 GB, free: 20.41 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.227e-06/0.006897, allocations: 0 / 0.5545 GB, free: 20.41 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.006897, allocations: 0 / 0.5545 GB, free: 20.41 MB / 410.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.006907, allocations: 0 / 0.5545 GB, free: 20.41 MB / 410.7 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.0005084/0.007416, allocations: 0.4937 MB / 0.5549 GB, free: 19.88 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.007e-05/0.007446, allocations: 15.89 kB / 0.5549 GB, free: 19.87 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.29e-05/0.007489, allocations: 28.91 kB / 0.555 GB, free: 19.84 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.007621, allocations: 175 kB / 0.5551 GB, free: 19.64 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.522e-05/0.007637, allocations: 12.59 kB / 0.5552 GB, free: 19.62 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.282e-05/0.00766, allocations: 20.31 kB / 0.5552 GB, free: 19.61 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001523/0.007812, allocations: 159.4 kB / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.007823, allocations: 3.984 kB / 0.5553 GB, free: 19.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.007834, allocations: 7.984 kB / 0.5553 GB, free: 19.42 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.669e-06/0.007838, allocations: 4 kB / 0.5553 GB, free: 19.42 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.797e-05/0.007916, allocations: 84.69 kB / 0.5554 GB, free: 19.33 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003456/0.008262, allocations: 357 kB / 0.5558 GB, free: 18.96 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.00841, allocations: 108.2 kB / 0.5559 GB, free: 18.84 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.268e-05/0.008443, allocations: 58.55 kB / 0.5559 GB, free: 18.78 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.855e-06/0.008451, allocations: 4 kB / 0.5559 GB, free: 18.77 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001285/0.008579, allocations: 192.4 kB / 0.5561 GB, free: 18.55 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.372e-06/0.00858, allocations: 0 / 0.5561 GB, free: 18.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.0004954/0.009076, allocations: 0.5157 MB / 0.5566 GB, free: 17.98 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.866e-05/0.009104, allocations: 162.2 kB / 0.5568 GB, free: 17.78 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.267e-05/0.009187, allocations: 210.1 kB / 0.557 GB, free: 17.56 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.009198, allocations: 29.7 kB / 0.557 GB, free: 17.53 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.009233, allocations: 120.4 kB / 0.5571 GB, free: 17.41 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.019e-05/0.009263, allocations: 67.42 kB / 0.5572 GB, free: 17.34 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.499e-05/0.009308, allocations: 63.09 kB / 0.5572 GB, free: 17.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.132e-05/0.009339, allocations: 330.8 kB / 0.5576 GB, free: 16.94 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.777e-05/0.009387, allocations: 101 kB / 0.5576 GB, free: 16.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.755e-05/0.009445, allocations: 173.3 kB / 0.5578 GB, free: 16.61 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.343e-05/0.009538, allocations: 218.1 kB / 0.558 GB, free: 16.36 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.252e-06/0.009539, allocations: 0 / 0.558 GB, free: 16.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001393/0.009679, allocations: 268.2 kB / 0.5583 GB, free: 16.07 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.009705, allocations: 63.39 kB / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.009709, allocations: 0 / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.688e-06/0.009719, allocations: 4 kB / 0.5583 GB, free: 15.99 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001463/0.009866, allocations: 63.91 kB / 0.5584 GB, free: 15.93 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.00987, allocations: 7.984 kB / 0.5584 GB, free: 15.92 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.492e-05/0.009944, allocations: 16.22 kB / 0.5584 GB, free: 15.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.009955, allocations: 11.94 kB / 0.5584 GB, free: 15.89 MB / 410.7 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.0001007/0.01006, allocations: 167.6 kB / 0.5586 GB, free: 15.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.012e-05/0.01008, allocations: 27.97 kB / 0.5586 GB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.146e-05/0.01011, allocations: 21.97 kB / 0.5586 GB, free: 15.66 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01011, allocations: 3.984 kB / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.01011, allocations: 0 / 0.5586 GB, free: 15.65 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.88e-05/0.01013, allocations: 15.86 kB / 0.5587 GB, free: 15.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.618e-06/0.01014, allocations: 11.94 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.01016, allocations: 8 kB / 0.5587 GB, free: 15.62 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.134e-05/0.01022, allocations: 15.98 kB / 0.5587 GB, free: 15.6 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.049e-05/0.01026, allocations: 15.97 kB / 0.5587 GB, free: 15.59 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001725/0.01043, allocations: 270.9 kB / 0.559 GB, free: 15.3 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001789/0.01061, allocations: 419.7 kB / 0.5594 GB, free: 14.86 MB / 410.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.203e-05/0.01067, allocations: 85.33 kB / 0.5595 GB, free: 14.77 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.2918/0.3025, allocations: 62.12 kB / 0.5595 GB, free: 79.7 MB / 410.8 MB Notification: Performance of Backend: time 7.22e-07/0.3025, allocations: 3.812 kB / 0.5595 GB, free: 79.7 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004537/0.303, allocations: 337.5 kB / 0.5598 GB, free: 79.46 MB / 410.8 MB Notification: Performance of SimCode: time 0.005446/0.3084, allocations: 1.117 MB / 0.5609 GB, free: 78.65 MB / 410.8 MB Notification: Performance of Templates: time 0.005994/0.3144, allocations: 3.863 MB / 0.5647 GB, free: 78.5 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B03B_VitaminB12AndFolicAcid.B03BA03_Hydroxocobalamin.Hydroxocobalamin_de1994_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.644699431024492]