Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_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.000754/0.000754, allocations: 80.16 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001011/0.001765, 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.0007458/0.0007458, allocations: 153.2 kB / 11.25 MB, free: 2.922 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001248/0.001994, 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 1.03/1.03, allocations: 177.2 MB / 189.6 MB, free: 5.301 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1035/1.133, allocations: 53.66 MB / 243.3 MB, free: 15.58 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.7743/0.7743, allocations: 291.2 MB / 0.5226 GB, free: 52.47 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0302/0.8045, allocations: 21.05 MB / 0.5432 GB, free: 31.48 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.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference,tolerance=1e-09,outputFormat="empty",numberOfIntervals=259200,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 9.82e-07/9.82e-07, allocations: 0 / 0.5445 GB, free: 30.11 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.932e-05/2.03e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.1 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference): time 0.002239/0.002259, allocations: 2.497 MB / 0.547 GB, free: 27.6 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.004239/0.006498, allocations: 6.696 MB / 0.5535 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001534/0.006652, allocations: 3.938 kB / 0.5535 GB, free: 20.89 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 9.144e-05/0.006743, allocations: 27.72 kB / 0.5536 GB, free: 20.86 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000172/0.006915, allocations: 83.27 kB / 0.5536 GB, free: 20.78 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001657/0.007081, allocations: 51.92 kB / 0.5537 GB, free: 20.73 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002074/0.007288, allocations: 270.6 kB / 0.5539 GB, free: 20.46 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000113/0.007401, allocations: 38.48 kB / 0.554 GB, free: 20.43 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001774/0.007578, allocations: 176.1 kB / 0.5541 GB, free: 20.25 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001557/0.007734, allocations: 87.77 kB / 0.5542 GB, free: 20.17 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.554e-05/0.00776, allocations: 16 kB / 0.5542 GB, free: 20.15 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.354e-05/0.007783, allocations: 16 kB / 0.5543 GB, free: 20.14 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 2.539e-05/0.007809, allocations: 27.88 kB / 0.5543 GB, free: 20.11 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 5.821e-05/0.007867, allocations: 63.88 kB / 0.5543 GB, free: 20.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001665/0.008033, allocations: 135.5 kB / 0.5545 GB, free: 19.91 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.261e-05/0.008046, allocations: 4 kB / 0.5545 GB, free: 19.91 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.008047, allocations: 0 / 0.5545 GB, free: 19.91 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.214e-05/0.00806, allocations: 0 / 0.5545 GB, free: 19.91 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.0005551/0.008615, allocations: 0.4975 MB / 0.555 GB, free: 19.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.268e-05/0.008647, allocations: 11.89 kB / 0.555 GB, free: 19.36 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.529e-05/0.008693, allocations: 32.84 kB / 0.555 GB, free: 19.33 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.008841, allocations: 175.1 kB / 0.5552 GB, free: 19.13 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/0.00886, allocations: 12.61 kB / 0.5552 GB, free: 19.12 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.338e-05/0.008883, allocations: 16.38 kB / 0.5552 GB, free: 19.1 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.009049, allocations: 167.4 kB / 0.5554 GB, free: 18.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.016e-05/0.009059, allocations: 0 / 0.5554 GB, free: 18.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.009069, allocations: 4 kB / 0.5554 GB, free: 18.92 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.009073, allocations: 4 kB / 0.5554 GB, free: 18.91 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.25e-05/0.009146, allocations: 72.7 kB / 0.5554 GB, free: 18.84 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003872/0.009533, allocations: 368.9 kB / 0.5558 GB, free: 18.46 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001637/0.009697, allocations: 112.2 kB / 0.5559 GB, free: 18.34 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.009731, allocations: 58.55 kB / 0.556 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.366e-06/0.00974, allocations: 4 kB / 0.556 GB, free: 18.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001323/0.009872, allocations: 188.4 kB / 0.5561 GB, free: 18.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=20): time 1.943e-06/0.009874, allocations: 0 / 0.5561 GB, free: 18.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=21): time 0.000561/0.01043, allocations: 0.5162 MB / 0.5566 GB, free: 17.47 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.861e-05/0.01046, allocations: 170.1 kB / 0.5568 GB, free: 17.27 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.653e-05/0.01055, allocations: 206.1 kB / 0.557 GB, free: 17.05 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.187e-05/0.01056, allocations: 37.69 kB / 0.557 GB, free: 17.01 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.0106, allocations: 112.4 kB / 0.5571 GB, free: 16.9 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.01063, allocations: 75.39 kB / 0.5572 GB, free: 16.82 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.808e-05/0.01068, allocations: 51.19 kB / 0.5573 GB, free: 16.77 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.291e-05/0.01071, allocations: 342.7 kB / 0.5576 GB, free: 16.43 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.08e-05/0.01076, allocations: 93 kB / 0.5577 GB, free: 16.32 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/0.01082, allocations: 176.7 kB / 0.5578 GB, free: 16.1 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001062/0.01093, allocations: 213.6 kB / 0.5581 GB, free: 15.85 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.01093, allocations: 0 / 0.5581 GB, free: 15.85 MB / 410.7 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0001533/0.01108, allocations: 260.2 kB / 0.5583 GB, free: 15.57 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.226e-05/0.01111, allocations: 63.61 kB / 0.5584 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.01112, allocations: 4 kB / 0.5584 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.01113, allocations: 4 kB / 0.5584 GB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.0113, allocations: 73.86 kB / 0.5584 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.427e-06/0.0113, allocations: 0 / 0.5584 GB, free: 15.41 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.831e-05/0.01138, allocations: 19.98 kB / 0.5585 GB, free: 15.39 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.071e-05/0.01139, allocations: 7.938 kB / 0.5585 GB, free: 15.39 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.0001101/0.0115, allocations: 182.2 kB / 0.5586 GB, free: 15.2 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.083e-05/0.01152, allocations: 23.98 kB / 0.5587 GB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.13e-05/0.01155, allocations: 25.95 kB / 0.5587 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.01156, allocations: 0 / 0.5587 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.01156, allocations: 0 / 0.5587 GB, free: 15.14 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.116e-05/0.01158, allocations: 23.84 kB / 0.5587 GB, free: 15.12 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.01159, allocations: 3.938 kB / 0.5587 GB, free: 15.11 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.433e-05/0.01162, allocations: 11.98 kB / 0.5587 GB, free: 15.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.383e-05/0.01167, allocations: 12 kB / 0.5587 GB, free: 15.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.488e-05/0.01172, allocations: 23.89 kB / 0.5588 GB, free: 15.07 MB / 410.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001905/0.01191, allocations: 267 kB / 0.559 GB, free: 14.79 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.3107/0.3226, allocations: 416.4 kB / 0.5594 GB, free: 79.5 MB / 410.8 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.498e-05/0.3227, allocations: 79.66 kB / 0.5595 GB, free: 79.46 MB / 410.8 MB Notification: Performance of sorting global known variables: time 9.311e-05/0.3228, allocations: 63.5 kB / 0.5595 GB, free: 79.45 MB / 410.8 MB Notification: Performance of Backend: time 3.5e-07/0.3228, allocations: 0 / 0.5595 GB, free: 79.45 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0004697/0.3233, allocations: 343.5 kB / 0.5599 GB, free: 79.21 MB / 410.8 MB Notification: Performance of SimCode: time 0.005679/0.329, allocations: 1.112 MB / 0.561 GB, free: 78.4 MB / 410.8 MB Notification: Performance of Templates: time 0.007647/0.3366, allocations: 3.865 MB / 0.5647 GB, free: 78.24 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference -abortSlowSimulation -alarm=240 -lv LOG_STATS -s=ida > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.8292324785143137]