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_aptt.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.003037/0.003037, allocations: 101.5 kB / 18.95 MB, free: 1.18 MB / 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.00377/0.00377, allocations: 212.9 kB / 22.25 MB, free: 3.578 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.786/1.786, allocations: 230.6 MB / 256 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 178] 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 1.472/1.472, allocations: 316.7 MB / 0.6144 GB, free: 93.15 MB / 410.7 MB " [Timeout remaining time 178] 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_aptt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt") translateModel(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt") [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.004038/0.004038, allocations: 77.25 kB / 0.775 GB, free: 14.81 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.16/0.164, allocations: 73.99 MB / 0.8472 GB, free: 4.957 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt): time 0.002018/0.1661, allocations: 0.6135 MB / 0.8478 GB, free: 4.359 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.4e-05/0.1661, allocations: 7.922 kB / 0.8478 GB, free: 4.352 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.821e-05/0.1661, allocations: 0.5938 kB / 0.8478 GB, free: 4.352 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.157e-05/0.1661, allocations: 2.438 kB / 0.8478 GB, free: 4.352 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.591e-05/0.1662, allocations: 3.938 kB / 0.8478 GB, free: 4.348 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 7.979e-05/0.1663, allocations: 8 kB / 0.8478 GB, free: 4.34 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.351e-05/0.1663, allocations: 7.984 kB / 0.8478 GB, free: 4.332 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 4.731e-05/0.1664, allocations: 7.938 kB / 0.8478 GB, free: 4.324 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.901e-05/0.1664, allocations: 7.938 kB / 0.8479 GB, free: 4.316 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 4.994e-05/0.1664, allocations: 9.922 kB / 0.8479 GB, free: 4.309 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.342e-05/0.1665, allocations: 0 / 0.8479 GB, free: 4.309 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.12e-06/0.1665, allocations: 0 / 0.8479 GB, free: 4.309 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.034e-05/0.1665, allocations: 11.92 kB / 0.8479 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 1.843e-05/0.1665, allocations: 0 / 0.8479 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.47e-05/0.1666, allocations: 15.92 kB / 0.8479 GB, free: 4.281 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.1666, allocations: 1.281 kB / 0.8479 GB, free: 4.281 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.593e-06/0.1666, allocations: 0 / 0.8479 GB, free: 4.281 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.36e-06/0.1666, allocations: 0 / 0.8479 GB, free: 4.281 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.0004049/0.167, allocations: 250.9 kB / 0.8481 GB, free: 4.004 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.167, allocations: 13.09 kB / 0.8481 GB, free: 3.992 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.281e-05/0.167, allocations: 0.9375 kB / 0.8481 GB, free: 3.992 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000146/0.1672, allocations: 122.4 kB / 0.8483 GB, free: 3.848 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.234e-06/0.1672, allocations: 0.9688 kB / 0.8483 GB, free: 3.848 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.1672, allocations: 4.938 kB / 0.8483 GB, free: 3.844 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.804e-05/0.1673, allocations: 34.2 kB / 0.8483 GB, free: 3.805 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.203e-06/0.1673, allocations: 0.8125 kB / 0.8483 GB, free: 3.805 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.277e-05/0.1673, allocations: 7.938 kB / 0.8483 GB, free: 3.797 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.1673, allocations: 0.625 kB / 0.8483 GB, free: 3.797 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.91e-05/0.1674, allocations: 8.578 kB / 0.8483 GB, free: 3.789 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.1675, allocations: 109.4 kB / 0.8484 GB, free: 3.652 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003679/0.1679, allocations: 51.62 kB / 0.8485 GB, free: 3.594 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.291e-05/0.1679, allocations: 8.859 kB / 0.8485 GB, free: 3.582 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 8.406e-06/0.1679, allocations: 4.531 kB / 0.8485 GB, free: 3.578 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.168, allocations: 35.23 kB / 0.8485 GB, free: 3.535 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 9.31e-07/0.168, allocations: 0 / 0.8485 GB, free: 3.535 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001764/0.1681, allocations: 54.34 kB / 0.8486 GB, free: 3.477 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.133e-05/0.1682, allocations: 53.28 kB / 0.8486 GB, free: 3.414 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.1683, allocations: 105.8 kB / 0.8487 GB, free: 3.301 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.989e-05/0.1683, allocations: 25.7 kB / 0.8487 GB, free: 3.27 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.629e-05/0.1684, allocations: 84.14 kB / 0.8488 GB, free: 3.184 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.464e-05/0.1684, allocations: 11.89 kB / 0.8488 GB, free: 3.172 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.715e-05/0.1684, allocations: 19.94 kB / 0.8489 GB, free: 3.148 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001842/0.1686, allocations: 310.8 kB / 0.8492 GB, free: 2.836 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.534e-05/0.1686, allocations: 4 kB / 0.8492 GB, free: 2.832 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.844e-05/0.1687, allocations: 12.02 kB / 0.8492 GB, free: 2.82 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.334e-05/0.1687, allocations: 16.86 kB / 0.8492 GB, free: 2.801 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1687, allocations: 0 / 0.8492 GB, free: 2.801 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 7.344e-05/0.1688, allocations: 46.48 kB / 0.8492 GB, free: 2.75 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.1688, allocations: 7.984 kB / 0.8492 GB, free: 2.742 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1688, allocations: 3.938 kB / 0.8492 GB, free: 2.738 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.1688, allocations: 8.531 kB / 0.8492 GB, free: 2.73 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.314e-05/0.1689, allocations: 4.969 kB / 0.8493 GB, free: 2.727 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.678e-06/0.1689, allocations: 256 / 0.8493 GB, free: 2.727 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.045e-05/0.1689, allocations: 4 kB / 0.8493 GB, free: 2.723 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.514e-06/0.1689, allocations: 4.969 kB / 0.8493 GB, free: 2.719 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 0.0001102/0.169, allocations: 109.8 kB / 0.8494 GB, free: 2.602 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.137e-06/0.169, allocations: 5.078 kB / 0.8494 GB, free: 2.598 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.842e-05/0.169, allocations: 8 kB / 0.8494 GB, free: 2.586 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.169, allocations: 3.938 kB / 0.8494 GB, free: 2.582 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/0.169, allocations: 4.5 kB / 0.8494 GB, free: 2.578 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/0.1691, allocations: 9.672 kB / 0.8494 GB, free: 2.57 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001137/0.1692, allocations: 105.3 kB / 0.8495 GB, free: 2.438 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.1692, allocations: 0 / 0.8495 GB, free: 2.438 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.161e-05/0.1692, allocations: 4 kB / 0.8495 GB, free: 2.434 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.203e-06/0.1692, allocations: 0 / 0.8495 GB, free: 2.434 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.566e-06/0.1692, allocations: 0.625 kB / 0.8495 GB, free: 2.434 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1692, allocations: 0.5938 kB / 0.8495 GB, free: 2.434 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.743e-06/0.1692, allocations: 11.92 kB / 0.8495 GB, free: 2.422 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001109/0.1693, allocations: 65.7 kB / 0.8496 GB, free: 2.34 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 1.232e-05/0.1693, allocations: 11.88 kB / 0.8496 GB, free: 2.328 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.232e-05/0.1694, allocations: 4.531 kB / 0.8496 GB, free: 2.324 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.066e-05/0.1694, allocations: 4.562 kB / 0.8496 GB, free: 2.32 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.914e-05/0.1694, allocations: 3.938 kB / 0.8496 GB, free: 2.316 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.743e-06/0.1694, allocations: 0.5312 kB / 0.8496 GB, free: 2.316 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.505e-05/0.1695, allocations: 83.95 kB / 0.8497 GB, free: 2.234 MB / 474.8 MB Notification: Performance of sort global known variables: time 5e-08/0.1695, allocations: 0 / 0.8497 GB, free: 2.234 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001777/0.1696, allocations: 4.719 kB / 0.8497 GB, free: 2.23 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 0.0001275/0.1698, allocations: 103.9 kB / 0.8498 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.246e-05/0.1698, allocations: 16.69 kB / 0.8498 GB, free: 2.105 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.1698, allocations: 0 / 0.8498 GB, free: 2.105 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.127e-05/0.1699, allocations: 12.58 kB / 0.8498 GB, free: 2.094 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001512/0.17, allocations: 4 kB / 0.8498 GB, free: 2.09 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002716/0.1703, allocations: 109.9 kB / 0.8499 GB, free: 1.957 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.437e-05/0.1703, allocations: 60.44 kB / 0.85 GB, free: 1.879 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.735e-05/0.1704, allocations: 4 kB / 0.85 GB, free: 1.875 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.1704, allocations: 7.938 kB / 0.85 GB, free: 1.867 MB / 474.8 MB Notification: Performance of SimCode: time 4.71e-07/0.1704, allocations: 0.625 kB / 0.85 GB, free: 1.867 MB / 474.8 MB Notification: Performance of Templates: time 0.002702/0.1731, allocations: 403.3 kB / 0.8504 GB, free: 1.543 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.409319223137572]