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.0009824/0.0009824, allocations: 108.3 kB / 19.71 MB, free: 432 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.001004/0.001004, allocations: 221.5 kB / 23 MB, free: 2.953 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.002/1.002, allocations: 230.6 MB / 256.8 MB, free: 9.586 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.7469/0.7469, allocations: 312.3 MB / 0.6108 GB, free: 96.92 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: 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.001418/0.001418, allocations: 77.75 kB / 0.7699 GB, free: 19.73 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1346/0.136, allocations: 73.99 MB / 0.8421 GB, free: 9.875 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt): time 0.001459/0.1374, allocations: 0.6102 MB / 0.8427 GB, free: 9.281 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 4.621e-05/0.1375, allocations: 8.422 kB / 0.8427 GB, free: 9.273 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.676e-05/0.1375, allocations: 0.5 kB / 0.8427 GB, free: 9.273 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.27e-05/0.1375, allocations: 0 / 0.8427 GB, free: 9.273 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.618e-05/0.1376, allocations: 4.438 kB / 0.8427 GB, free: 9.27 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.573e-05/0.1376, allocations: 0.7188 kB / 0.8427 GB, free: 9.27 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 5.855e-05/0.1377, allocations: 15.98 kB / 0.8427 GB, free: 9.254 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.62e-05/0.1377, allocations: 0.625 kB / 0.8427 GB, free: 9.254 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.165e-05/0.1378, allocations: 12.52 kB / 0.8428 GB, free: 9.242 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.294e-05/0.1378, allocations: 15.92 kB / 0.8428 GB, free: 9.227 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.521e-05/0.1378, allocations: 4.656 kB / 0.8428 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 6.852e-06/0.1378, allocations: 0 / 0.8428 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.936e-05/0.1379, allocations: 0.5938 kB / 0.8428 GB, free: 9.223 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.809e-05/0.1379, allocations: 12.55 kB / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.412e-05/0.138, allocations: 0 / 0.8428 GB, free: 9.211 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.059e-06/0.138, allocations: 8.516 kB / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.953e-06/0.138, allocations: 0 / 0.8428 GB, free: 9.203 MB / 474.8 MB Notification: Performance of Transformations before backend: time 7.244e-06/0.138, allocations: 4.5 kB / 0.8428 GB, free: 9.199 MB / 474.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.0003527/0.1383, allocations: 254.8 kB / 0.843 GB, free: 8.918 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.1384, allocations: 12.59 kB / 0.8431 GB, free: 8.906 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.823e-05/0.1384, allocations: 1.469 kB / 0.8431 GB, free: 8.906 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001069/0.1385, allocations: 118.5 kB / 0.8432 GB, free: 8.766 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.1385, allocations: 1 kB / 0.8432 GB, free: 8.766 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.1385, allocations: 0.9688 kB / 0.8432 GB, free: 8.766 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001042/0.1386, allocations: 38.25 kB / 0.8432 GB, free: 8.723 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/0.1386, allocations: 0.7812 kB / 0.8432 GB, free: 8.723 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/0.1387, allocations: 3.938 kB / 0.8432 GB, free: 8.719 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/0.1387, allocations: 0.5938 kB / 0.8432 GB, free: 8.719 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.131e-05/0.1387, allocations: 12.56 kB / 0.8432 GB, free: 8.707 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001427/0.1388, allocations: 109.4 kB / 0.8433 GB, free: 8.57 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002711/0.1391, allocations: 43.25 kB / 0.8434 GB, free: 8.52 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.595e-05/0.1391, allocations: 13.47 kB / 0.8434 GB, free: 8.504 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.1392, allocations: 8.484 kB / 0.8434 GB, free: 8.496 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.89e-05/0.1392, allocations: 34.56 kB / 0.8434 GB, free: 8.453 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.1392, allocations: 0.5938 kB / 0.8434 GB, free: 8.453 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001378/0.1393, allocations: 54.19 kB / 0.8435 GB, free: 8.395 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.993e-05/0.1393, allocations: 59.34 kB / 0.8435 GB, free: 8.324 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.704e-05/0.1394, allocations: 98.45 kB / 0.8436 GB, free: 8.219 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 9.367e-06/0.1394, allocations: 30.42 kB / 0.8437 GB, free: 8.184 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.1395, allocations: 88.12 kB / 0.8437 GB, free: 8.094 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.1395, allocations: 16.55 kB / 0.8438 GB, free: 8.078 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.18e-05/0.1395, allocations: 13.72 kB / 0.8438 GB, free: 8.059 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 7.799e-05/0.1396, allocations: 315.5 kB / 0.8441 GB, free: 7.742 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.524e-05/0.1396, allocations: 7.984 kB / 0.8441 GB, free: 7.734 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.045e-05/0.1396, allocations: 4.594 kB / 0.8441 GB, free: 7.73 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.305e-05/0.1396, allocations: 17.36 kB / 0.8441 GB, free: 7.711 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1396, allocations: 0 / 0.8441 GB, free: 7.711 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 5.22e-05/0.1397, allocations: 50.25 kB / 0.8441 GB, free: 7.656 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.1397, allocations: 4.531 kB / 0.8441 GB, free: 7.652 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.1397, allocations: 0 / 0.8441 GB, free: 7.652 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.274e-05/0.1397, allocations: 4.625 kB / 0.8442 GB, free: 7.648 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.994e-05/0.1398, allocations: 4 kB / 0.8442 GB, free: 7.645 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.1398, allocations: 0.5 kB / 0.8442 GB, free: 7.645 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.042e-05/0.1398, allocations: 8.625 kB / 0.8442 GB, free: 7.637 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.038e-06/0.1398, allocations: 0 / 0.8442 GB, free: 7.637 MB / 474.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 5.447e-05/0.1398, allocations: 112.1 kB / 0.8443 GB, free: 7.52 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.621e-06/0.1398, allocations: 7.953 kB / 0.8443 GB, free: 7.512 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.975e-05/0.1399, allocations: 12.67 kB / 0.8443 GB, free: 7.496 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.676e-06/0.1399, allocations: 3.938 kB / 0.8443 GB, free: 7.492 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.1399, allocations: 0.625 kB / 0.8443 GB, free: 7.492 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.1399, allocations: 0 / 0.8443 GB, free: 7.492 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.051e-05/0.1399, allocations: 102 kB / 0.8444 GB, free: 7.363 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.12e-07/0.1399, allocations: 0.5625 kB / 0.8444 GB, free: 7.363 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.472e-05/0.1399, allocations: 16.17 kB / 0.8444 GB, free: 7.348 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1399, allocations: 0.6562 kB / 0.8444 GB, free: 7.348 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.1399, allocations: 4 kB / 0.8444 GB, free: 7.344 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.5e-07/0.1399, allocations: 0.625 kB / 0.8444 GB, free: 7.344 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1399, allocations: 4.562 kB / 0.8444 GB, free: 7.34 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.622e-05/0.14, allocations: 69.12 kB / 0.8445 GB, free: 7.254 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.302e-06/0.14, allocations: 4.547 kB / 0.8445 GB, free: 7.25 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.778e-06/0.14, allocations: 0.6562 kB / 0.8445 GB, free: 7.25 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.454e-06/0.14, allocations: 4 kB / 0.8445 GB, free: 7.246 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.749e-05/0.1401, allocations: 4.531 kB / 0.8445 GB, free: 7.242 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.935e-06/0.1401, allocations: 4.375 kB / 0.8445 GB, free: 7.238 MB / 474.8 MB Notification: Performance of sorting global known variables: time 2.909e-05/0.1401, allocations: 83.98 kB / 0.8446 GB, free: 7.156 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1401, allocations: 0 / 0.8446 GB, free: 7.156 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001085/0.1402, allocations: 4.625 kB / 0.8446 GB, free: 7.152 MB / 474.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 8.866e-05/0.1403, allocations: 99.97 kB / 0.8447 GB, free: 7.047 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.361e-05/0.1404, allocations: 32.53 kB / 0.8447 GB, free: 7.016 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1404, allocations: 0 / 0.8447 GB, free: 7.016 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 7.895e-06/0.1404, allocations: 4.625 kB / 0.8447 GB, free: 7.012 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001087/0.1405, allocations: 4.5 kB / 0.8447 GB, free: 7.008 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002321/0.1407, allocations: 135.2 kB / 0.8448 GB, free: 6.844 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.392e-05/0.1408, allocations: 63.84 kB / 0.8449 GB, free: 6.762 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.461e-05/0.1408, allocations: 8.062 kB / 0.8449 GB, free: 6.754 MB / 474.8 MB Notification: Performance of SimCode: time 4.41e-07/0.1408, allocations: 4 kB / 0.8449 GB, free: 6.75 MB / 474.8 MB Notification: Performance of Templates: time 0.001397/0.1422, allocations: 0.4931 MB / 0.8454 GB, free: 6.277 MB / 474.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: 6.067406526766717]