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_tachycardia.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.00192/0.00192, allocations: 109.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.002038/0.002038, allocations: 214.4 kB / 22.25 MB, free: 3.582 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.883/1.883, allocations: 230.6 MB / 256 MB, free: 9.582 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.428/1.428, allocations: 316.7 MB / 0.6144 GB, free: 93.27 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_tachycardia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia") [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.004098/0.004098, allocations: 73.05 kB / 0.7749 GB, free: 14.89 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1716, allocations: 73.99 MB / 0.8472 GB, free: 5.039 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia): time 0.002018/0.1736, allocations: 0.6209 MB / 0.8478 GB, free: 4.434 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 5.537e-05/0.1737, allocations: 8.531 kB / 0.8478 GB, free: 4.426 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.1737, allocations: 0 / 0.8478 GB, free: 4.426 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.422e-05/0.1737, allocations: 0.6562 kB / 0.8478 GB, free: 4.426 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.778e-05/0.1738, allocations: 3.938 kB / 0.8478 GB, free: 4.422 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.536e-05/0.1738, allocations: 8.797 kB / 0.8478 GB, free: 4.414 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.1739, allocations: 11.98 kB / 0.8478 GB, free: 4.402 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.1739, allocations: 4.625 kB / 0.8478 GB, free: 4.398 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.061e-05/0.174, allocations: 8.562 kB / 0.8478 GB, free: 4.391 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.025e-05/0.174, allocations: 3.984 kB / 0.8478 GB, free: 4.387 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.914e-05/0.174, allocations: 4.625 kB / 0.8478 GB, free: 4.383 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.979e-06/0.1741, allocations: 0 / 0.8478 GB, free: 4.383 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 2.932e-05/0.1741, allocations: 12.55 kB / 0.8479 GB, free: 4.371 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.369e-05/0.1741, allocations: 4.484 kB / 0.8479 GB, free: 4.367 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.054e-05/0.1742, allocations: 11.92 kB / 0.8479 GB, free: 4.355 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.1742, allocations: 0.5625 kB / 0.8479 GB, free: 4.355 MB / 474.8 MB Notification: Performance of FrontEnd: time 2.315e-06/0.1742, allocations: 0.5625 kB / 0.8479 GB, free: 4.355 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.352e-06/0.1742, allocations: 0 / 0.8479 GB, free: 4.355 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.0004539/0.1746, allocations: 257 kB / 0.8481 GB, free: 4.074 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/0.1747, allocations: 12.66 kB / 0.8481 GB, free: 4.062 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.572e-05/0.1747, allocations: 1.5 kB / 0.8481 GB, free: 4.062 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001344/0.1748, allocations: 126.4 kB / 0.8483 GB, free: 3.914 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.1749, allocations: 1 kB / 0.8483 GB, free: 3.914 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.119e-05/0.1749, allocations: 384 / 0.8483 GB, free: 3.914 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001092/0.175, allocations: 42.88 kB / 0.8483 GB, free: 3.867 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.175, allocations: 0.6875 kB / 0.8483 GB, free: 3.867 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.042e-05/0.175, allocations: 7.875 kB / 0.8483 GB, free: 3.859 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.175, allocations: 0.5625 kB / 0.8483 GB, free: 3.859 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/0.175, allocations: 12.52 kB / 0.8483 GB, free: 3.848 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001657/0.1752, allocations: 101.3 kB / 0.8484 GB, free: 3.719 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002192/0.1754, allocations: 51.11 kB / 0.8485 GB, free: 3.66 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.1755, allocations: 13.52 kB / 0.8485 GB, free: 3.645 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.267e-05/0.1755, allocations: 0.5625 kB / 0.8485 GB, free: 3.645 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.379e-05/0.1755, allocations: 43.19 kB / 0.8485 GB, free: 3.594 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.042e-06/0.1755, allocations: 0 / 0.8485 GB, free: 3.594 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001699/0.1757, allocations: 54.27 kB / 0.8486 GB, free: 3.535 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.175e-05/0.1757, allocations: 60.02 kB / 0.8486 GB, free: 3.465 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.761e-05/0.1758, allocations: 97.86 kB / 0.8487 GB, free: 3.359 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.071e-05/0.1758, allocations: 30.45 kB / 0.8487 GB, free: 3.324 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 5.046e-05/0.1759, allocations: 84.14 kB / 0.8488 GB, free: 3.238 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.804e-05/0.1759, allocations: 12.52 kB / 0.8488 GB, free: 3.227 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.989e-05/0.176, allocations: 17.72 kB / 0.8489 GB, free: 3.203 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001666/0.1761, allocations: 315.4 kB / 0.8492 GB, free: 2.887 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.686e-05/0.1762, allocations: 0 / 0.8492 GB, free: 2.887 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.985e-05/0.1762, allocations: 16.61 kB / 0.8492 GB, free: 2.871 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.733e-05/0.1762, allocations: 17.48 kB / 0.8492 GB, free: 2.852 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.1762, allocations: 0 / 0.8492 GB, free: 2.852 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.437e-05/0.1763, allocations: 56.34 kB / 0.8492 GB, free: 2.793 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.1763, allocations: 4 kB / 0.8492 GB, free: 2.789 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.04e-06/0.1763, allocations: 0 / 0.8492 GB, free: 2.789 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.1763, allocations: 3.938 kB / 0.8493 GB, free: 2.785 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.015e-05/0.1764, allocations: 4.047 kB / 0.8493 GB, free: 2.781 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1764, allocations: 4 kB / 0.8493 GB, free: 2.777 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.47e-05/0.1764, allocations: 10.09 kB / 0.8493 GB, free: 2.77 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.355e-06/0.1764, allocations: 4 kB / 0.8493 GB, free: 2.766 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.045e-05/0.1765, allocations: 110.9 kB / 0.8494 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.342e-06/0.1765, allocations: 0 / 0.8494 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.982e-05/0.1766, allocations: 11.67 kB / 0.8494 GB, free: 2.637 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1766, allocations: 3.938 kB / 0.8494 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/0.1766, allocations: 5.281 kB / 0.8494 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.1766, allocations: 0 / 0.8494 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001116/0.1767, allocations: 113.2 kB / 0.8495 GB, free: 2.488 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.1767, allocations: 1.281 kB / 0.8495 GB, free: 2.488 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.427e-05/0.1767, allocations: 11.98 kB / 0.8495 GB, free: 2.477 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.1767, allocations: 4 kB / 0.8495 GB, free: 2.473 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.322e-06/0.1767, allocations: 0.5938 kB / 0.8495 GB, free: 2.473 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.011e-06/0.1767, allocations: 0.75 kB / 0.8495 GB, free: 2.473 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.1767, allocations: 3.938 kB / 0.8495 GB, free: 2.469 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001231/0.1769, allocations: 81.64 kB / 0.8496 GB, free: 2.371 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.115e-06/0.1769, allocations: 4 kB / 0.8496 GB, free: 2.367 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.1769, allocations: 0.5938 kB / 0.8496 GB, free: 2.367 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.923e-05/0.1769, allocations: 0 / 0.8496 GB, free: 2.367 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.12e-05/0.1769, allocations: 4.562 kB / 0.8496 GB, free: 2.363 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.593e-06/0.1769, allocations: 6.375 kB / 0.8496 GB, free: 2.359 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.824e-05/0.177, allocations: 87.27 kB / 0.8497 GB, free: 2.273 MB / 474.8 MB Notification: Performance of sort global known variables: time 1.3e-07/0.177, allocations: 3.938 kB / 0.8497 GB, free: 2.27 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.000169/0.1772, allocations: 4 kB / 0.8497 GB, free: 2.266 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.0001288/0.1773, allocations: 99.25 kB / 0.8498 GB, free: 2.156 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 0.0001014/0.1774, allocations: 24.55 kB / 0.8498 GB, free: 2.133 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1774, allocations: 0 / 0.8498 GB, free: 2.133 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 1.675e-05/0.1774, allocations: 4.531 kB / 0.8498 GB, free: 2.129 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.1776, allocations: 14.36 kB / 0.8498 GB, free: 2.121 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.178, allocations: 108.9 kB / 0.85 GB, free: 1.988 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.552e-05/0.1781, allocations: 64.53 kB / 0.85 GB, free: 1.906 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.565e-05/0.1781, allocations: 0 / 0.85 GB, free: 1.906 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.986e-05/0.1781, allocations: 12.34 kB / 0.85 GB, free: 1.895 MB / 474.8 MB Notification: Performance of SimCode: time 6.82e-07/0.1781, allocations: 0 / 0.85 GB, free: 1.895 MB / 474.8 MB Notification: Performance of Templates: time 0.003031/0.1811, allocations: 417.2 kB / 0.8504 GB, free: 1.555 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.404221575008705]