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.0006073/0.0006073, allocations: 68.19 kB / 9.865 MB, free: 0.8242 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008906/0.001498, allocations: 443.8 kB / 10.3 MB, free: 400 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.0006848/0.0006848, allocations: 157.2 kB / 11.19 MB, free: 2.984 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000906/0.001591, allocations: 463.6 kB / 11.64 MB, free: 2.527 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.9538/0.9538, allocations: 177.2 MB / 189.5 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07949/1.033, allocations: 53.65 MB / 243.2 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.7352/0.7352, allocations: 291.2 MB / 0.5226 GB, free: 52.93 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03221/0.7674, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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.142e-06/1.142e-06, allocations: 0 / 0.5444 GB, free: 30.65 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.302e-05/1.417e-05, allocations: 2.312 kB / 0.5444 GB, free: 30.64 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_pt): time 0.0009532/0.0009674, allocations: 0.6826 MB / 0.5451 GB, free: 29.96 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 2.049e-05/0.0009879, allocations: 7.938 kB / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.964e-05/0.001008, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.587e-06/0.001011, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 8.296e-06/0.001019, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 1.93e-05/0.001039, allocations: 0 / 0.5451 GB, free: 29.95 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 4.932e-05/0.001088, allocations: 23.86 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.897e-05/0.001137, allocations: 3.125 kB / 0.5451 GB, free: 29.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.629e-05/0.001193, allocations: 15.98 kB / 0.5451 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.827e-05/0.001242, allocations: 11.92 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.001266, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.274e-06/0.001273, allocations: 4 kB / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.09e-05/0.001284, allocations: 0 / 0.5451 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 1.908e-05/0.001303, allocations: 4 kB / 0.5451 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.373e-05/0.001357, allocations: 7.984 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.606e-05/0.001373, allocations: 0 / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.81e-07/0.001373, allocations: 3.938 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.382e-05/0.001387, allocations: 0 / 0.5452 GB, free: 29.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003168/0.001704, allocations: 231 kB / 0.5454 GB, free: 29.63 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.001734, allocations: 15.89 kB / 0.5454 GB, free: 29.62 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.416e-05/0.001758, allocations: 12.23 kB / 0.5454 GB, free: 29.61 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.591e-05/0.001824, allocations: 113.7 kB / 0.5455 GB, free: 29.47 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.371e-05/0.001837, allocations: 8.375 kB / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.013e-06/0.001844, allocations: 384 / 0.5455 GB, free: 29.46 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.73e-05/0.001912, allocations: 34.25 kB / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.402e-06/0.001918, allocations: 192 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.761e-06/0.001924, allocations: 384 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.001929, allocations: 384 / 0.5456 GB, free: 29.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.644e-05/0.001945, allocations: 7.938 kB / 0.5456 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.39e-05/0.002019, allocations: 57.05 kB / 0.5456 GB, free: 29.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002181/0.002237, allocations: 54.53 kB / 0.5457 GB, free: 29.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.364e-05/0.002251, allocations: 8.859 kB / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.472e-06/0.002257, allocations: 0 / 0.5457 GB, free: 29.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.653e-05/0.002274, allocations: 34.56 kB / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of pre-optimization done (n=3): time 1.332e-06/0.002275, allocations: 0 / 0.5457 GB, free: 29.23 MB / 410.7 MB Notification: Performance of matching and sorting (n=3): time 8.369e-05/0.002359, allocations: 37.69 kB / 0.5457 GB, free: 29.19 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.223e-05/0.002381, allocations: 51.41 kB / 0.5458 GB, free: 29.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.621e-05/0.002417, allocations: 114.6 kB / 0.5459 GB, free: 29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-06/0.002422, allocations: 29.7 kB / 0.5459 GB, free: 28.96 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.488e-06/0.002431, allocations: 84.14 kB / 0.546 GB, free: 28.88 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.282e-05/0.002454, allocations: 7.953 kB / 0.546 GB, free: 28.87 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.434e-05/0.002479, allocations: 13.72 kB / 0.546 GB, free: 28.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.471e-05/0.002513, allocations: 322.8 kB / 0.5463 GB, free: 28.53 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.231e-06/0.002519, allocations: 4 kB / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.222e-06/0.002526, allocations: 0 / 0.5463 GB, free: 28.52 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.308e-05/0.002549, allocations: 21.11 kB / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.00255, allocations: 0 / 0.5464 GB, free: 28.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 3.224e-05/0.002583, allocations: 33.7 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.002593, allocations: 4 kB / 0.5464 GB, free: 28.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.002598, allocations: 4 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.216e-06/0.002606, allocations: 7.922 kB / 0.5464 GB, free: 28.45 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.288e-05/0.002639, allocations: 12 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.296e-06/0.002642, allocations: 3.938 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.129e-05/0.002653, allocations: 3.953 kB / 0.5464 GB, free: 28.43 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.336e-06/0.002657, allocations: 3.188 kB / 0.5464 GB, free: 28.43 MB / 410.7 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.432e-05/0.002691, allocations: 113.8 kB / 0.5465 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.978e-06/0.002695, allocations: 0 / 0.5465 GB, free: 28.3 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.971e-05/0.002715, allocations: 12 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.002716, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-06/0.002717, allocations: 0 / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.002721, allocations: 3.984 kB / 0.5466 GB, free: 28.29 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.283e-05/0.002774, allocations: 77.77 kB / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-07/0.002774, allocations: 0 / 0.5466 GB, free: 28.2 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.369e-05/0.002788, allocations: 8 kB / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.22e-06/0.002793, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.002795, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.677e-06/0.002798, allocations: 0 / 0.5466 GB, free: 28.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.002799, allocations: 4 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.002801, allocations: 3.984 kB / 0.5466 GB, free: 28.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.826e-05/0.002849, allocations: 65 kB / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.454e-06/0.002857, allocations: 0 / 0.5467 GB, free: 28.1 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.695e-06/0.002864, allocations: 8 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.002875, allocations: 4 kB / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.323e-06/0.002876, allocations: 0 / 0.5467 GB, free: 28.09 MB / 410.7 MB Notification: Performance of sorting global known variables: time 9.177e-06/0.002886, allocations: 8.859 kB / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.002886, allocations: 0 / 0.5467 GB, free: 28.07 MB / 410.7 MB Notification: Performance of remove unused functions: time 9.502e-05/0.002981, allocations: 4 kB / 0.5467 GB, free: 28.07 MB / 410.7 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.676e-05/0.003037, allocations: 84.41 kB / 0.5468 GB, free: 27.98 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 5.64e-05/0.003094, allocations: 12.86 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.005e-06/0.003097, allocations: 3.938 kB / 0.5468 GB, free: 27.96 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.775e-06/0.003105, allocations: 12.86 kB / 0.5468 GB, free: 27.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.481e-05/0.003169, allocations: 21.88 kB / 0.5469 GB, free: 27.93 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000185/0.003354, allocations: 138.2 kB / 0.547 GB, free: 27.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.499e-05/0.003379, allocations: 63.34 kB / 0.5471 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.676e-05/0.003406, allocations: 47.38 kB / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.003407, allocations: 0 / 0.5471 GB, free: 27.63 MB / 410.7 MB Notification: Performance of Templates: time 0.001225/0.004632, allocations: 0.4948 MB / 0.5476 GB, free: 27.14 MB / 410.7 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: 3.8171345498412848]