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.001225/0.001225, allocations: 104.3 kB / 19.71 MB, free: 436 kB / 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.001411/0.001411, allocations: 220.4 kB / 23 MB, free: 2.969 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.001/1.001, allocations: 230.7 MB / 256.8 MB, free: 9.594 MB / 202.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.7624/0.7624, allocations: 312.3 MB / 0.6108 GB, free: 97.13 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: 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.001842/0.001842, allocations: 77.41 kB / 0.7699 GB, free: 19.67 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1344, allocations: 73.98 MB / 0.8421 GB, free: 9.812 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference): time 0.00301/0.1374, allocations: 2.31 MB / 0.8444 GB, free: 7.508 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 0.007085/0.1445, allocations: 6.533 MB / 0.8508 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.1447, allocations: 0.625 kB / 0.8508 GB, free: 0.9727 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 0.0001724/0.1449, allocations: 23.72 kB / 0.8508 GB, free: 0.9492 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.1451, allocations: 84.56 kB / 0.8509 GB, free: 0.8672 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1454, allocations: 52.41 kB / 0.8509 GB, free: 0.8164 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.000312/0.1457, allocations: 251.3 kB / 0.8512 GB, free: 0.5703 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00016/0.1459, allocations: 45.2 kB / 0.8512 GB, free: 0.5273 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001499/0.146, allocations: 91.66 kB / 0.8513 GB, free: 448 kB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001951/0.1462, allocations: 99.97 kB / 0.8514 GB, free: 348 kB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.1462, allocations: 16.72 kB / 0.8514 GB, free: 332 kB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 2.791e-05/0.1463, allocations: 20 kB / 0.8514 GB, free: 312 kB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 3.177e-05/0.1463, allocations: 32.45 kB / 0.8514 GB, free: 280 kB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 9.572e-05/0.1464, allocations: 88.09 kB / 0.8515 GB, free: 192 kB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0002518/0.1466, allocations: 203.1 kB / 0.8517 GB, free: 15.99 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.1467, allocations: 0.625 kB / 0.8517 GB, free: 15.99 MB / 490.8 MB Notification: Performance of FrontEnd: time 4.379e-06/0.1467, allocations: 4.625 kB / 0.8517 GB, free: 15.98 MB / 490.8 MB Notification: Performance of Transformations before backend: time 7.905e-06/0.1467, allocations: 0 / 0.8517 GB, free: 15.98 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.0008781/0.1475, allocations: 0.4949 MB / 0.8522 GB, free: 15.45 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.1476, allocations: 8.031 kB / 0.8522 GB, free: 15.44 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.358e-05/0.1477, allocations: 25.39 kB / 0.8522 GB, free: 15.41 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002455/0.1479, allocations: 179.2 kB / 0.8524 GB, free: 15.21 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.084e-05/0.1479, allocations: 13.3 kB / 0.8524 GB, free: 15.2 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.565e-05/0.148, allocations: 23.83 kB / 0.8525 GB, free: 15.18 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003077/0.1483, allocations: 187.8 kB / 0.8526 GB, free: 14.98 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.423e-05/0.1483, allocations: 4 kB / 0.8526 GB, free: 14.97 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.1483, allocations: 8.562 kB / 0.8526 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/0.1483, allocations: 4 kB / 0.8526 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002213/0.1485, allocations: 151.4 kB / 0.8528 GB, free: 14.81 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006823/0.1492, allocations: 486.6 kB / 0.8533 GB, free: 14.3 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005075/0.1497, allocations: 169.3 kB / 0.8534 GB, free: 14.12 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.1498, allocations: 95.11 kB / 0.8535 GB, free: 14.02 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.292e-05/0.1498, allocations: 8.438 kB / 0.8535 GB, free: 14.01 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002891/0.1501, allocations: 223.7 kB / 0.8537 GB, free: 13.77 MB / 490.8 MB Notification: Performance of pre-optimization done (n=20): time 1.884e-06/0.1501, allocations: 0.625 kB / 0.8537 GB, free: 13.77 MB / 490.8 MB Notification: Performance of matching and sorting (n=21): time 0.001118/0.1512, allocations: 0.7009 MB / 0.8544 GB, free: 13 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.898e-05/0.1513, allocations: 133.1 kB / 0.8545 GB, free: 12.84 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001877/0.1515, allocations: 226.9 kB / 0.8548 GB, free: 12.61 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1515, allocations: 34.33 kB / 0.8548 GB, free: 12.57 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 7.933e-05/0.1516, allocations: 128.5 kB / 0.8549 GB, free: 12.45 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 4.225e-05/0.1516, allocations: 68.25 kB / 0.855 GB, free: 12.38 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.85e-05/0.1517, allocations: 61.66 kB / 0.855 GB, free: 12.31 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0001021/0.1518, allocations: 335.4 kB / 0.8554 GB, free: 11.98 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.337/0.4888, allocations: 142.3 kB / 0.8555 GB, free: 30.32 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.4891, allocations: 221.8 kB / 0.8557 GB, free: 30.16 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003681/0.4894, allocations: 281.4 kB / 0.856 GB, free: 30 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.4894, allocations: 1.188 kB / 0.856 GB, free: 30 MB / 490.8 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006239/0.4901, allocations: 391.3 kB / 0.8563 GB, free: 29.84 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 7.3e-05/0.4901, allocations: 70.16 kB / 0.8564 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.4901, allocations: 2.906 kB / 0.8564 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.284e-05/0.4902, allocations: 11.06 kB / 0.8564 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.4904, allocations: 49.22 kB / 0.8565 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.519e-05/0.4904, allocations: 2.562 kB / 0.8565 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001629/0.4906, allocations: 20.48 kB / 0.8565 GB, free: 29.78 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.4906, allocations: 11.16 kB / 0.8565 GB, free: 29.78 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.000297/0.4909, allocations: 182.5 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.4909, allocations: 26.69 kB / 0.8567 GB, free: 29.63 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.283e-05/0.491, allocations: 20.5 kB / 0.8567 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.491, allocations: 5.812 kB / 0.8567 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.079e-05/0.491, allocations: 0 / 0.8567 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.197e-06/0.491, allocations: 3.609 kB / 0.8567 GB, free: 29.62 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008115/0.4918, allocations: 0.5319 MB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.429e-06/0.4919, allocations: 3.594 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001573/0.492, allocations: 37.2 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/0.492, allocations: 0 / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.026e-05/0.492, allocations: 9.062 kB / 0.8573 GB, free: 29.33 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.47e-06/0.492, allocations: 6.062 kB / 0.8573 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.492, allocations: 0 / 0.8573 GB, free: 29.32 MB / 490.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.4926, allocations: 0.4938 MB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.23e-05/0.4927, allocations: 16.39 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.868e-05/0.4927, allocations: 8.75 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.4928, allocations: 13.45 kB / 0.8578 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.987e-05/0.4929, allocations: 27.75 kB / 0.8579 GB, free: 29.1 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.4929, allocations: 4.062 kB / 0.8579 GB, free: 29.1 MB / 490.8 MB Notification: Performance of sorting global known variables: time 0.0001321/0.4931, allocations: 157.4 kB / 0.858 GB, free: 29.02 MB / 490.8 MB Notification: Performance of sort global known variables: time 5e-08/0.4931, allocations: 0.625 kB / 0.858 GB, free: 29.02 MB / 490.8 MB Notification: Performance of remove unused functions: time 0.0002405/0.4933, allocations: 56.69 kB / 0.8581 GB, free: 29.02 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.0001599/0.4935, allocations: 123.9 kB / 0.8582 GB, free: 28.93 MB / 490.8 MB Notification: Performance of simCode: created initialization part: time 0.000461/0.4939, allocations: 378 kB / 0.8585 GB, free: 28.7 MB / 490.8 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4939, allocations: 1.781 kB / 0.8585 GB, free: 28.7 MB / 490.8 MB Notification: Performance of simCode: created simulation system equations: time 0.0001595/0.4941, allocations: 167.6 kB / 0.8587 GB, free: 28.61 MB / 490.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003776/0.4945, allocations: 69.34 kB / 0.8588 GB, free: 28.6 MB / 490.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/0.4958, allocations: 0.7042 MB / 0.8595 GB, free: 28.29 MB / 490.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.617e-05/0.4959, allocations: 127.2 kB / 0.8596 GB, free: 28.21 MB / 490.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.228e-05/0.4959, allocations: 22.84 kB / 0.8596 GB, free: 28.21 MB / 490.8 MB Notification: Performance of SimCode: time 7.61e-07/0.496, allocations: 0.7188 kB / 0.8596 GB, free: 28.21 MB / 490.8 MB Notification: Performance of Templates: time 0.006694/0.5026, allocations: 2.949 MB / 0.8625 GB, free: 27.99 MB / 490.8 MB " [Timeout remaining time 659] 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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_reference.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.491232706233859]