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_pass.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.001766/0.001766, allocations: 109.5 kB / 18.95 MB, free: 1.184 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.002177/0.002177, allocations: 220 kB / 22.26 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.781/1.781, allocations: 230.6 MB / 256 MB, free: 9.637 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.538/1.538, allocations: 316.7 MB / 0.6144 GB, free: 93.05 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_pass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass") [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.004041/0.004041, allocations: 77.23 kB / 0.7749 GB, free: 14.76 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.181, allocations: 73.99 MB / 0.8472 GB, free: 4.906 MB / 474.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass): time 0.001941/0.183, allocations: 0.6108 MB / 0.8478 GB, free: 4.309 MB / 474.8 MB Notification: Performance of NFInst.instExpressions: time 6.848e-05/0.1831, allocations: 12.58 kB / 0.8478 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.219e-05/0.1831, allocations: 0.5938 kB / 0.8478 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFTyping.typeComponents: time 1.24e-05/0.1831, allocations: 0 / 0.8478 GB, free: 4.297 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 3.154e-05/0.1831, allocations: 4.531 kB / 0.8478 GB, free: 4.293 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.349e-05/0.1832, allocations: 4 kB / 0.8478 GB, free: 4.289 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 6.343e-05/0.1832, allocations: 12.52 kB / 0.8478 GB, free: 4.277 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.302e-05/0.1833, allocations: 8.609 kB / 0.8478 GB, free: 4.27 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 2.189e-05/0.1833, allocations: 11.98 kB / 0.8479 GB, free: 4.258 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.1834, allocations: 8.609 kB / 0.8479 GB, free: 4.25 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.1834, allocations: 4.844 kB / 0.8479 GB, free: 4.246 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.541e-06/0.1834, allocations: 0 / 0.8479 GB, free: 4.246 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.1834, allocations: 3.938 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 2.064e-05/0.1834, allocations: 0.5938 kB / 0.8479 GB, free: 4.242 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 6.203e-05/0.1835, allocations: 16.58 kB / 0.8479 GB, free: 4.227 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.1835, allocations: 0 / 0.8479 GB, free: 4.227 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.523e-06/0.1835, allocations: 0.8125 kB / 0.8479 GB, free: 4.227 MB / 474.8 MB Notification: Performance of Transformations before backend: time 6.212e-06/0.1835, allocations: 0 / 0.8479 GB, free: 4.227 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.0004661/0.184, allocations: 255 kB / 0.8481 GB, free: 3.945 MB / 474.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.184, allocations: 12.69 kB / 0.8481 GB, free: 3.934 MB / 474.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.084e-05/0.1841, allocations: 0.9375 kB / 0.8481 GB, free: 3.934 MB / 474.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.1842, allocations: 123.1 kB / 0.8483 GB, free: 3.789 MB / 474.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.1842, allocations: 384 / 0.8483 GB, free: 3.789 MB / 474.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.1843, allocations: 8.906 kB / 0.8483 GB, free: 3.781 MB / 474.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001194/0.1844, allocations: 38.27 kB / 0.8483 GB, free: 3.738 MB / 474.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1844, allocations: 0.7812 kB / 0.8483 GB, free: 3.738 MB / 474.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.1844, allocations: 7.922 kB / 0.8483 GB, free: 3.73 MB / 474.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.1844, allocations: 4.812 kB / 0.8483 GB, free: 3.727 MB / 474.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.101e-05/0.1845, allocations: 12 kB / 0.8483 GB, free: 3.715 MB / 474.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002255/0.1847, allocations: 110 kB / 0.8484 GB, free: 3.578 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003276/0.185, allocations: 43.31 kB / 0.8485 GB, free: 3.527 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.502e-05/0.1851, allocations: 21.5 kB / 0.8485 GB, free: 3.504 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.833e-05/0.1851, allocations: 0 / 0.8485 GB, free: 3.504 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.334e-05/0.1851, allocations: 31.16 kB / 0.8485 GB, free: 3.465 MB / 474.8 MB Notification: Performance of pre-optimization done (n=4): time 1.313e-06/0.1851, allocations: 0 / 0.8485 GB, free: 3.465 MB / 474.8 MB Notification: Performance of matching and sorting (n=4): time 0.0002664/0.1854, allocations: 62.12 kB / 0.8486 GB, free: 3.398 MB / 474.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.42e-05/0.1855, allocations: 55.91 kB / 0.8486 GB, free: 3.332 MB / 474.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1856, allocations: 102.4 kB / 0.8487 GB, free: 3.223 MB / 474.8 MB Notification: Performance of collectPreVariables (initialization): time 2.006e-05/0.1856, allocations: 29.7 kB / 0.8488 GB, free: 3.188 MB / 474.8 MB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.1857, allocations: 80.86 kB / 0.8488 GB, free: 3.105 MB / 474.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.128e-05/0.1857, allocations: 7.906 kB / 0.8488 GB, free: 3.098 MB / 474.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.553e-05/0.1857, allocations: 18.25 kB / 0.8489 GB, free: 3.074 MB / 474.8 MB Notification: Performance of setup shared object (initialization): time 0.0001829/0.1859, allocations: 316 kB / 0.8492 GB, free: 2.758 MB / 474.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.997e-05/0.1859, allocations: 8 kB / 0.8492 GB, free: 2.75 MB / 474.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.242e-05/0.1859, allocations: 4 kB / 0.8492 GB, free: 2.746 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.937e-05/0.186, allocations: 25.12 kB / 0.8492 GB, free: 2.719 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/0.186, allocations: 1.094 kB / 0.8492 GB, free: 2.719 MB / 474.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001088/0.1861, allocations: 57.62 kB / 0.8493 GB, free: 2.656 MB / 474.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.1861, allocations: 5.031 kB / 0.8493 GB, free: 2.652 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1861, allocations: 0 / 0.8493 GB, free: 2.652 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.1861, allocations: 3.938 kB / 0.8493 GB, free: 2.648 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.216e-05/0.1862, allocations: 9.359 kB / 0.8493 GB, free: 2.641 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.1862, allocations: 7.984 kB / 0.8493 GB, free: 2.633 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.1862, allocations: 3.953 kB / 0.8493 GB, free: 2.629 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.998e-06/0.1862, allocations: 0 / 0.8493 GB, free: 2.629 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.45e-05/0.1863, allocations: 112.9 kB / 0.8494 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.502e-06/0.1863, allocations: 0 / 0.8494 GB, free: 2.512 MB / 474.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.568e-05/0.1863, allocations: 7.688 kB / 0.8494 GB, free: 2.504 MB / 474.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.619e-06/0.1863, allocations: 3.938 kB / 0.8494 GB, free: 2.5 MB / 474.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.1864, allocations: 4 kB / 0.8494 GB, free: 2.496 MB / 474.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.1864, allocations: 0 / 0.8494 GB, free: 2.496 MB / 474.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001181/0.1865, allocations: 110.5 kB / 0.8495 GB, free: 2.359 MB / 474.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1865, allocations: 3.938 kB / 0.8495 GB, free: 2.355 MB / 474.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.52e-05/0.1865, allocations: 4 kB / 0.8495 GB, free: 2.352 MB / 474.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.1865, allocations: 4 kB / 0.8495 GB, free: 2.348 MB / 474.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.283e-06/0.1865, allocations: 5.906 kB / 0.8495 GB, free: 2.344 MB / 474.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.1865, allocations: 0 / 0.8495 GB, free: 2.344 MB / 474.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.1865, allocations: 7.938 kB / 0.8495 GB, free: 2.336 MB / 474.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.1867, allocations: 81.02 kB / 0.8496 GB, free: 2.238 MB / 474.8 MB Notification: Performance of postOpt removeConstants (simulation): time 8.256e-06/0.1867, allocations: 4.812 kB / 0.8496 GB, free: 2.234 MB / 474.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/0.1867, allocations: 3.984 kB / 0.8496 GB, free: 2.23 MB / 474.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.351e-05/0.1867, allocations: 5.094 kB / 0.8496 GB, free: 2.227 MB / 474.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.287e-05/0.1867, allocations: 3.938 kB / 0.8496 GB, free: 2.223 MB / 474.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.1867, allocations: 0 / 0.8496 GB, free: 2.223 MB / 474.8 MB Notification: Performance of sorting global known variables: time 5.365e-05/0.1868, allocations: 83.78 kB / 0.8497 GB, free: 2.141 MB / 474.8 MB Notification: Performance of sort global known variables: time 6e-08/0.1868, allocations: 0 / 0.8497 GB, free: 2.141 MB / 474.8 MB Notification: Performance of remove unused functions: time 0.0001673/0.187, allocations: 4.5 kB / 0.8497 GB, free: 2.137 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.000129/0.1871, allocations: 104.1 kB / 0.8498 GB, free: 2.023 MB / 474.8 MB Notification: Performance of simCode: created initialization part: time 9.98e-05/0.1872, allocations: 16.44 kB / 0.8498 GB, free: 2.008 MB / 474.8 MB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/0.1872, allocations: 4.625 kB / 0.8498 GB, free: 2.004 MB / 474.8 MB Notification: Performance of simCode: created simulation system equations: time 2.133e-05/0.1872, allocations: 11.98 kB / 0.8499 GB, free: 1.992 MB / 474.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001566/0.1874, allocations: 9.109 kB / 0.8499 GB, free: 1.988 MB / 474.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003273/0.1877, allocations: 113.6 kB / 0.85 GB, free: 1.852 MB / 474.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.553e-05/0.1878, allocations: 63.84 kB / 0.85 GB, free: 1.77 MB / 474.8 MB Notification: Performance of simCode: alias equations: time 1.605e-05/0.1878, allocations: 0.5938 kB / 0.85 GB, free: 1.77 MB / 474.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.1878, allocations: 12.03 kB / 0.85 GB, free: 1.758 MB / 474.8 MB Notification: Performance of SimCode: time 7.02e-07/0.1878, allocations: 0 / 0.85 GB, free: 1.758 MB / 474.8 MB Notification: Performance of Templates: time 0.002885/0.1907, allocations: 414.1 kB / 0.8504 GB, free: 1.422 MB / 474.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass -abortSlowSimulation -alarm=240 -lv LOG_STATS > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.604402914177626]