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_PD_pt.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.0009605/0.0009605, allocations: 92.52 kB / 19.94 MB, free: 4.602 MB / 18.57 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.001037/0.001037, allocations: 165.9 kB / 23.21 MB, free: 1.332 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 0.9706/0.9706, allocations: 177.1 MB / 203.5 MB, free: 5.766 MB / 186.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.742/0.742, allocations: 291.2 MB / 0.5382 GB, free: 51.8 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_PD_pt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.282e-06/1.282e-06, allocations: 0 / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.582e-05/1.71e-05, allocations: 5.234 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt): time 0.0009075/0.0009246, allocations: 0.6227 MB / 0.6979 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 3.938e-05/0.000964, allocations: 7.922 kB / 0.6979 GB, free: 9.777 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.563e-05/0.0009896, allocations: 0 / 0.6979 GB, free: 9.777 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.356e-05/0.001003, allocations: 0 / 0.6979 GB, free: 9.777 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.6e-05/0.001029, allocations: 3.938 kB / 0.6979 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.778e-05/0.001077, allocations: 0 / 0.6979 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.892e-05/0.001136, allocations: 23.91 kB / 0.6979 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.563e-05/0.001182, allocations: 7.938 kB / 0.698 GB, free: 9.742 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.251e-05/0.001214, allocations: 11.98 kB / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.283e-05/0.001257, allocations: 4 kB / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.009e-05/0.001277, allocations: 0 / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.238e-06/0.001281, allocations: 0 / 0.698 GB, free: 9.727 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.001296, allocations: 7.938 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.03e-05/0.001316, allocations: 3.984 kB / 0.698 GB, free: 9.715 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 4.831e-05/0.001364, allocations: 7.984 kB / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.001367, allocations: 4 kB / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.91e-07/0.001367, allocations: 0 / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.001371, allocations: 0 / 0.698 GB, free: 9.703 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002497/0.001621, allocations: 258.3 kB / 0.6982 GB, free: 9.418 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.56e-05/0.001656, allocations: 8.031 kB / 0.6982 GB, free: 9.41 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.395e-05/0.00168, allocations: 0.9375 kB / 0.6982 GB, free: 9.41 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.279e-05/0.001733, allocations: 113.8 kB / 0.6984 GB, free: 9.273 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.997e-06/0.001742, allocations: 384 / 0.6984 GB, free: 9.273 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.766e-06/0.001751, allocations: 4.375 kB / 0.6984 GB, free: 9.27 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.999e-05/0.001821, allocations: 34.25 kB / 0.6984 GB, free: 9.23 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.172e-06/0.001827, allocations: 192 / 0.6984 GB, free: 9.23 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.001835, allocations: 4.375 kB / 0.6984 GB, free: 9.227 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.00184, allocations: 384 / 0.6984 GB, free: 9.227 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.524e-05/0.001875, allocations: 15.88 kB / 0.6984 GB, free: 9.211 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.687e-05/0.001962, allocations: 113.3 kB / 0.6985 GB, free: 9.07 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.002192, allocations: 54.59 kB / 0.6986 GB, free: 9.008 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.113e-05/0.002214, allocations: 4.859 kB / 0.6986 GB, free: 9 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 9.769e-06/0.002223, allocations: 4 kB / 0.6986 GB, free: 8.996 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.07e-05/0.002234, allocations: 34.56 kB / 0.6986 GB, free: 8.953 MB / 410.8 MB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.002235, allocations: 3.984 kB / 0.6986 GB, free: 8.949 MB / 410.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001062/0.002341, allocations: 49.62 kB / 0.6987 GB, free: 8.895 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.89e-05/0.00236, allocations: 55.41 kB / 0.6987 GB, free: 8.828 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.724e-05/0.002397, allocations: 117.8 kB / 0.6988 GB, free: 8.703 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 3.867e-06/0.002401, allocations: 25.7 kB / 0.6989 GB, free: 8.672 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.464e-05/0.002416, allocations: 88.08 kB / 0.6989 GB, free: 8.582 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.338e-05/0.002439, allocations: 11.84 kB / 0.699 GB, free: 8.57 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.815e-05/0.002457, allocations: 13.72 kB / 0.699 GB, free: 8.551 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 2.908e-05/0.002487, allocations: 318.8 kB / 0.6993 GB, free: 8.23 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.698e-06/0.002496, allocations: 4 kB / 0.6993 GB, free: 8.227 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.276e-06/0.002505, allocations: 4 kB / 0.6993 GB, free: 8.223 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/0.002529, allocations: 16.86 kB / 0.6993 GB, free: 8.203 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.002531, allocations: 3.938 kB / 0.6993 GB, free: 8.199 MB / 410.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.368e-05/0.002565, allocations: 45.69 kB / 0.6993 GB, free: 8.148 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 8.856e-06/0.002574, allocations: 8 kB / 0.6993 GB, free: 8.141 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.002578, allocations: 0 / 0.6993 GB, free: 8.141 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.019e-05/0.002588, allocations: 0 / 0.6993 GB, free: 8.141 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.478e-05/0.002613, allocations: 4 kB / 0.6994 GB, free: 8.137 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.002618, allocations: 4 kB / 0.6994 GB, free: 8.133 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.049e-05/0.002628, allocations: 3.938 kB / 0.6994 GB, free: 8.129 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.376e-06/0.002632, allocations: 0 / 0.6994 GB, free: 8.129 MB / 410.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 3.26e-05/0.002664, allocations: 117.8 kB / 0.6995 GB, free: 8.004 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.757e-06/0.002668, allocations: 3.953 kB / 0.6995 GB, free: 8 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.511e-05/0.002683, allocations: 8 kB / 0.6995 GB, free: 7.992 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.002684, allocations: 4 kB / 0.6995 GB, free: 7.988 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.002688, allocations: 0 / 0.6995 GB, free: 7.988 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.00269, allocations: 7.938 kB / 0.6995 GB, free: 7.98 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.433e-05/0.002724, allocations: 101.3 kB / 0.6996 GB, free: 7.852 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.81e-07/0.002725, allocations: 0 / 0.6996 GB, free: 7.852 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.045e-05/0.002735, allocations: 7.938 kB / 0.6996 GB, free: 7.844 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.81e-07/0.002736, allocations: 0 / 0.6996 GB, free: 7.844 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-06/0.002742, allocations: 4 kB / 0.6996 GB, free: 7.84 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.002743, allocations: 3.938 kB / 0.6996 GB, free: 7.836 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.002744, allocations: 4 kB / 0.6996 GB, free: 7.832 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.085e-05/0.002785, allocations: 69.06 kB / 0.6997 GB, free: 7.746 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.298e-06/0.002789, allocations: 7.953 kB / 0.6997 GB, free: 7.738 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.306e-06/0.002797, allocations: 4 kB / 0.6997 GB, free: 7.734 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.301e-06/0.002803, allocations: 0 / 0.6997 GB, free: 7.734 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.098e-05/0.002814, allocations: 0 / 0.6997 GB, free: 7.734 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.282e-06/0.002816, allocations: 3.984 kB / 0.6997 GB, free: 7.73 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.409e-05/0.00283, allocations: 87.53 kB / 0.6998 GB, free: 7.645 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.00283, allocations: 0 / 0.6998 GB, free: 7.645 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001019/0.002932, allocations: 7.938 kB / 0.6998 GB, free: 7.637 MB / 410.8 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 5.211e-05/0.002984, allocations: 103.2 kB / 0.6999 GB, free: 7.527 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 5.681e-05/0.003041, allocations: 20.36 kB / 0.6999 GB, free: 7.508 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.262e-06/0.003042, allocations: 4 kB / 0.6999 GB, free: 7.504 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 7.914e-06/0.00305, allocations: 4.094 kB / 0.6999 GB, free: 7.5 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.952e-05/0.003149, allocations: 7.938 kB / 0.6999 GB, free: 7.492 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000173/0.003322, allocations: 142.6 kB / 0.7001 GB, free: 7.32 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.332e-05/0.003346, allocations: 59.34 kB / 0.7001 GB, free: 7.242 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.94e-05/0.003365, allocations: 16.44 kB / 0.7001 GB, free: 7.227 MB / 410.8 MB Notification: Performance of SimCode: time 4.81e-07/0.003366, allocations: 0 / 0.7001 GB, free: 7.227 MB / 410.8 MB Notification: Performance of Templates: time 0.001146/0.004512, allocations: 0.4947 MB / 0.7006 GB, free: 6.734 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.076521947979927]