Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.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.002071/0.002071, allocations: 105.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.002312/0.002312, allocations: 218.4 kB / 22.25 MB, free: 3.695 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.818/1.818, allocations: 230.6 MB / 256 MB, free: 9.617 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.518/1.518, allocations: 316.7 MB / 0.6144 GB, free: 93.04 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.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose") [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.004017/0.004017, allocations: 73.27 kB / 0.775 GB, free: 14.79 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1696, allocations: 73.99 MB / 0.8472 GB, free: 4.93 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose): time 0.00199/0.1716, allocations: 0.6182 MB / 0.8478 GB, free: 4.324 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.282e-05/0.1716, allocations: 8.422 kB / 0.8478 GB, free: 4.316 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.1716, allocations: 0.8438 kB / 0.8478 GB, free: 4.316 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.526e-05/0.1717, allocations: 4 kB / 0.8478 GB, free: 4.312 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.967e-05/0.1717, allocations: 4.531 kB / 0.8478 GB, free: 4.309 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.691e-05/0.1718, allocations: 4 kB / 0.8478 GB, free: 4.305 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.742e-05/0.1718, allocations: 12.58 kB / 0.8478 GB, free: 4.293 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.409e-05/0.1719, allocations: 4.688 kB / 0.8479 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.313e-05/0.1719, allocations: 11.92 kB / 0.8479 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.364e-05/0.172, allocations: 4.547 kB / 0.8479 GB, free: 4.273 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.643e-05/0.172, allocations: 4 kB / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.719e-06/0.172, allocations: 0.5938 kB / 0.8479 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.172, allocations: 4.562 kB / 0.8479 GB, free: 4.266 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.336e-05/0.172, allocations: 8 kB / 0.8479 GB, free: 4.258 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 7.063e-05/0.1721, allocations: 12.66 kB / 0.8479 GB, free: 4.246 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.1721, allocations: 0 / 0.8479 GB, free: 4.246 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.044e-06/0.1721, allocations: 4.594 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1721, allocations: 0 / 0.8479 GB, free: 4.242 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004437/0.1725, allocations: 251 kB / 0.8481 GB, free: 3.965 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.1726, allocations: 12.66 kB / 0.8482 GB, free: 3.953 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.691e-05/0.1726, allocations: 1.625 kB / 0.8482 GB, free: 3.953 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/0.1727, allocations: 126.4 kB / 0.8483 GB, free: 3.805 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.187e-06/0.1727, allocations: 1.25 kB / 0.8483 GB, free: 3.805 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.532e-05/0.1728, allocations: 8.375 kB / 0.8483 GB, free: 3.797 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.859e-05/0.1729, allocations: 30.27 kB / 0.8483 GB, free: 3.762 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.144e-06/0.1729, allocations: 6.281 kB / 0.8483 GB, free: 3.758 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1729, allocations: 3.938 kB / 0.8483 GB, free: 3.754 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.783e-06/0.1729, allocations: 3.984 kB / 0.8483 GB, free: 3.75 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.458e-05/0.1729, allocations: 12 kB / 0.8483 GB, free: 3.738 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001671/0.1731, allocations: 105.4 kB / 0.8484 GB, free: 3.605 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002053/0.1733, allocations: 47.2 kB / 0.8485 GB, free: 3.551 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.452e-05/0.1733, allocations: 22.08 kB / 0.8485 GB, free: 3.527 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.172e-05/0.1734, allocations: 0 / 0.8485 GB, free: 3.527 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.85e-05/0.1734, allocations: 30.56 kB / 0.8485 GB, free: 3.488 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 8.22e-07/0.1734, allocations: 0.5 kB / 0.8485 GB, free: 3.488 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001686/0.1736, allocations: 62.25 kB / 0.8486 GB, free: 3.422 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.912e-05/0.1736, allocations: 55.34 kB / 0.8486 GB, free: 3.355 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.415e-05/0.1737, allocations: 106.4 kB / 0.8487 GB, free: 3.242 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.1737, allocations: 25.7 kB / 0.8488 GB, free: 3.211 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.087e-05/0.1738, allocations: 80.7 kB / 0.8489 GB, free: 3.129 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.938e-05/0.1738, allocations: 12.53 kB / 0.8489 GB, free: 3.117 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1738, allocations: 13.72 kB / 0.8489 GB, free: 3.098 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001667/0.174, allocations: 323.5 kB / 0.8492 GB, free: 2.773 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.174, allocations: 4 kB / 0.8492 GB, free: 2.77 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.431e-05/0.174, allocations: 4.781 kB / 0.8492 GB, free: 2.766 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.063e-05/0.1741, allocations: 25.66 kB / 0.8492 GB, free: 2.738 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1741, allocations: 0 / 0.8492 GB, free: 2.738 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.997e-05/0.1742, allocations: 50.31 kB / 0.8493 GB, free: 2.684 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.1742, allocations: 4 kB / 0.8493 GB, free: 2.68 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.568e-06/0.1742, allocations: 4.562 kB / 0.8493 GB, free: 2.676 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/0.1742, allocations: 4.531 kB / 0.8493 GB, free: 2.672 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.1743, allocations: 8 kB / 0.8493 GB, free: 2.664 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.524e-06/0.1743, allocations: 4.547 kB / 0.8493 GB, free: 2.66 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.1743, allocations: 4.516 kB / 0.8493 GB, free: 2.656 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.018e-06/0.1743, allocations: 0 / 0.8493 GB, free: 2.656 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 (4): * Single equations (assignments): 4 * 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 9.066e-05/0.1744, allocations: 115.4 kB / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.1744, allocations: 0.5312 kB / 0.8494 GB, free: 2.535 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.1744, allocations: 8.406 kB / 0.8494 GB, free: 2.527 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.67e-06/0.1744, allocations: 7.938 kB / 0.8494 GB, free: 2.52 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.977e-06/0.1744, allocations: 0.6562 kB / 0.8494 GB, free: 2.52 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1744, allocations: 3.938 kB / 0.8494 GB, free: 2.516 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001028/0.1745, allocations: 105.9 kB / 0.8495 GB, free: 2.383 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1745, allocations: 0 / 0.8495 GB, free: 2.383 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.268e-05/0.1746, allocations: 12.88 kB / 0.8495 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.1746, allocations: 0.6875 kB / 0.8495 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.438e-06/0.1746, allocations: 4 kB / 0.8495 GB, free: 2.367 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1746, allocations: 0.875 kB / 0.8495 GB, free: 2.367 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.1746, allocations: 3.938 kB / 0.8495 GB, free: 2.363 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001104/0.1747, allocations: 78.92 kB / 0.8496 GB, free: 2.27 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 9.247e-06/0.1747, allocations: 8 kB / 0.8496 GB, free: 2.262 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.032e-05/0.1747, allocations: 0 / 0.8496 GB, free: 2.262 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.342e-05/0.1747, allocations: 3.984 kB / 0.8496 GB, free: 2.258 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.97e-05/0.1748, allocations: 7.875 kB / 0.8496 GB, free: 2.25 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.248e-06/0.1748, allocations: 4 kB / 0.8496 GB, free: 2.246 MB / 474.8 MB Notification: Performance of sorting global known variables: time 4.952e-05/0.1748, allocations: 80 kB / 0.8497 GB, free: 2.168 MB / 474.8 MB Notification: Performance of sort global known variables: time 8e-08/0.1748, allocations: 0 / 0.8497 GB, free: 2.168 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001658/0.175, allocations: 9.938 kB / 0.8497 GB, free: 2.16 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 (4): * Single equations (assignments): 4 * 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.000128/0.1751, allocations: 105.5 kB / 0.8498 GB, free: 2.047 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.509e-05/0.1752, allocations: 19.94 kB / 0.8498 GB, free: 2.027 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1752, allocations: 1.219 kB / 0.8499 GB, free: 2.027 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.873e-05/0.1752, allocations: 7.984 kB / 0.8499 GB, free: 2.02 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.1754, allocations: 11.52 kB / 0.8499 GB, free: 2.012 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000276/0.1756, allocations: 109.8 kB / 0.85 GB, free: 1.879 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.8e-05/0.1757, allocations: 63.94 kB / 0.85 GB, free: 1.797 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.472e-05/0.1757, allocations: 0 / 0.85 GB, free: 1.797 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.25e-05/0.1757, allocations: 13.25 kB / 0.85 GB, free: 1.785 MB / 474.8 MB Notification: Performance of SimCode: time 3.9e-07/0.1757, allocations: 0 / 0.85 GB, free: 1.785 MB / 474.8 MB Notification: Performance of Templates: time 0.00276/0.1785, allocations: 417.3 kB / 0.8504 GB, free: 1.441 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.559634665958583]