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.001083/0.001083, 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.001176/0.001176, allocations: 219 kB / 23 MB, free: 2.961 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.9665/0.9665, allocations: 230.6 MB / 256.8 MB, free: 9.582 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.7765/0.7765, allocations: 312.3 MB / 0.6108 GB, free: 97.49 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_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.001418/0.001418, allocations: 73.67 kB / 0.7698 GB, free: 20.16 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1573, allocations: 73.99 MB / 0.8421 GB, free: 10.3 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt): time 0.001776/0.1591, allocations: 0.6166 MB / 0.8427 GB, free: 9.699 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.108e-05/0.1591, allocations: 11.92 kB / 0.8427 GB, free: 9.688 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.349e-05/0.1592, allocations: 0.5938 kB / 0.8427 GB, free: 9.688 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.378e-05/0.1592, allocations: 0.6562 kB / 0.8427 GB, free: 9.688 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 4.162e-05/0.1592, allocations: 7.938 kB / 0.8427 GB, free: 9.68 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.28e-05/0.1593, allocations: 0.5 kB / 0.8427 GB, free: 9.68 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.711e-05/0.1594, allocations: 16.55 kB / 0.8427 GB, free: 9.664 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.407e-05/0.1594, allocations: 7.938 kB / 0.8427 GB, free: 9.656 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 1.983e-05/0.1594, allocations: 4.469 kB / 0.8427 GB, free: 9.652 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.035e-05/0.1595, allocations: 16.72 kB / 0.8427 GB, free: 9.637 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.1595, allocations: 3.938 kB / 0.8427 GB, free: 9.633 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.68e-06/0.1595, allocations: 0.625 kB / 0.8427 GB, free: 9.633 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.765e-05/0.1595, allocations: 4 kB / 0.8427 GB, free: 9.629 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.622e-05/0.1596, allocations: 8.641 kB / 0.8428 GB, free: 9.621 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 5.962e-05/0.1596, allocations: 4 kB / 0.8428 GB, free: 9.617 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.041e-06/0.1596, allocations: 4.688 kB / 0.8428 GB, free: 9.613 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.144e-06/0.1596, allocations: 0.7188 kB / 0.8428 GB, free: 9.613 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.891e-06/0.1596, allocations: 0 / 0.8428 GB, free: 9.613 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.0003442/0.16, allocations: 251 kB / 0.843 GB, free: 9.336 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.16, allocations: 16.45 kB / 0.843 GB, free: 9.32 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.92e-05/0.16, allocations: 4.922 kB / 0.843 GB, free: 9.316 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.538e-05/0.1601, allocations: 119.1 kB / 0.8431 GB, free: 9.176 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.007e-06/0.1602, allocations: 0.875 kB / 0.8431 GB, free: 9.176 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.303e-05/0.1602, allocations: 4.375 kB / 0.8431 GB, free: 9.172 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.447e-05/0.1603, allocations: 34.75 kB / 0.8432 GB, free: 9.133 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1603, allocations: 4.625 kB / 0.8432 GB, free: 9.129 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.134e-05/0.1603, allocations: 4.5 kB / 0.8432 GB, free: 9.125 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1603, allocations: 0 / 0.8432 GB, free: 9.125 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.021e-05/0.1603, allocations: 12.66 kB / 0.8432 GB, free: 9.113 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001358/0.1605, allocations: 105.4 kB / 0.8433 GB, free: 8.98 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002864/0.1607, allocations: 47.25 kB / 0.8433 GB, free: 8.926 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.82e-05/0.1608, allocations: 17.44 kB / 0.8434 GB, free: 8.906 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.1608, allocations: 0.7188 kB / 0.8434 GB, free: 8.906 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.423e-05/0.1608, allocations: 30.56 kB / 0.8434 GB, free: 8.867 MB / 474.8 MB Notification: Performance of pre-optimization done (n=3): time 6.92e-07/0.1608, allocations: 4.562 kB / 0.8434 GB, free: 8.863 MB / 474.8 MB Notification: Performance of matching and sorting (n=3): time 0.0001541/0.161, allocations: 54.22 kB / 0.8434 GB, free: 8.805 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/0.161, allocations: 55.34 kB / 0.8435 GB, free: 8.738 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.166e-05/0.1611, allocations: 102.5 kB / 0.8436 GB, free: 8.629 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.1611, allocations: 25.7 kB / 0.8436 GB, free: 8.598 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 3.412e-05/0.1611, allocations: 88.62 kB / 0.8437 GB, free: 8.508 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.1611, allocations: 12.45 kB / 0.8437 GB, free: 8.496 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.006e-05/0.1612, allocations: 14.31 kB / 0.8437 GB, free: 8.477 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 9.707e-05/0.1613, allocations: 318.8 kB / 0.844 GB, free: 8.156 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.1613, allocations: 0.625 kB / 0.844 GB, free: 8.156 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.49e-05/0.1613, allocations: 7.984 kB / 0.844 GB, free: 8.148 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.137e-05/0.1614, allocations: 21.42 kB / 0.8441 GB, free: 8.125 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1614, allocations: 0.5 kB / 0.8441 GB, free: 8.125 MB / 474.8 MB Notification: Performance of matching and sorting (n=3) (initialization): time 6.645e-05/0.1614, allocations: 45.69 kB / 0.8441 GB, free: 8.074 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1614, allocations: 4.594 kB / 0.8441 GB, free: 8.07 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.1614, allocations: 0.625 kB / 0.8441 GB, free: 8.07 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.1615, allocations: 7.938 kB / 0.8441 GB, free: 8.062 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.511e-05/0.1615, allocations: 4.625 kB / 0.8441 GB, free: 8.059 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.091e-06/0.1615, allocations: 0.625 kB / 0.8441 GB, free: 8.059 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.546e-05/0.1615, allocations: 4 kB / 0.8441 GB, free: 8.055 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.48e-06/0.1615, allocations: 0.8281 kB / 0.8441 GB, free: 8.055 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 6.539e-05/0.1616, allocations: 115.5 kB / 0.8442 GB, free: 7.934 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.222e-06/0.1616, allocations: 4.578 kB / 0.8442 GB, free: 7.93 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.723e-05/0.1616, allocations: 12.23 kB / 0.8443 GB, free: 7.914 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.689e-06/0.1616, allocations: 8.609 kB / 0.8443 GB, free: 7.906 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.1616, allocations: 11.94 kB / 0.8443 GB, free: 7.895 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.1616, allocations: 0.7188 kB / 0.8443 GB, free: 7.895 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.586e-05/0.1617, allocations: 101.3 kB / 0.8444 GB, free: 7.766 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.1617, allocations: 0.625 kB / 0.8444 GB, free: 7.766 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.537e-05/0.1617, allocations: 4.625 kB / 0.8444 GB, free: 7.762 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.1617, allocations: 0 / 0.8444 GB, free: 7.762 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.277e-06/0.1617, allocations: 4.578 kB / 0.8444 GB, free: 7.758 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.356e-06/0.1617, allocations: 4 kB / 0.8444 GB, free: 7.754 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/0.1617, allocations: 4.438 kB / 0.8444 GB, free: 7.75 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.56e-05/0.1618, allocations: 65.72 kB / 0.8445 GB, free: 7.668 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 7.033e-06/0.1618, allocations: 3.953 kB / 0.8445 GB, free: 7.664 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.174e-05/0.1618, allocations: 4.625 kB / 0.8445 GB, free: 7.66 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.658e-06/0.1618, allocations: 0.625 kB / 0.8445 GB, free: 7.66 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.986e-05/0.1619, allocations: 7.938 kB / 0.8445 GB, free: 7.652 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.853e-06/0.1619, allocations: 0.5938 kB / 0.8445 GB, free: 7.652 MB / 474.8 MB Notification: Performance of sorting global known variables: time 3.484e-05/0.1619, allocations: 83.27 kB / 0.8445 GB, free: 7.57 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1619, allocations: 8.531 kB / 0.8446 GB, free: 7.562 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000176/0.1621, allocations: 0.5312 kB / 0.8446 GB, free: 7.562 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.000106/0.1622, allocations: 111.8 kB / 0.8447 GB, free: 7.445 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 8.145e-05/0.1623, allocations: 12.56 kB / 0.8447 GB, free: 7.434 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1623, allocations: 0.75 kB / 0.8447 GB, free: 7.434 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.193e-05/0.1623, allocations: 7.984 kB / 0.8447 GB, free: 7.426 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000146/0.1624, allocations: 8.594 kB / 0.8447 GB, free: 7.418 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002609/0.1627, allocations: 139.3 kB / 0.8448 GB, free: 7.25 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.538e-05/0.1627, allocations: 59.97 kB / 0.8449 GB, free: 7.172 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.766e-05/0.1628, allocations: 11.44 kB / 0.8449 GB, free: 7.16 MB / 474.8 MB Notification: Performance of SimCode: time 6.41e-07/0.1628, allocations: 0.5312 kB / 0.8449 GB, free: 7.16 MB / 474.8 MB Notification: Performance of Templates: time 0.001641/0.1644, allocations: 0.4923 MB / 0.8454 GB, free: 6.688 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 > Pharmacolibrary_Pharmacolibrary.Drugs.B_BloodAndBloodFormingOrgans.B01A_AntithromboticAgents.B01AF01_Rivaroxaban.Rivaroxaban_Esmaeili2022_PD_aptt.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.9510374972596765]