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.0009698/0.0009698, allocations: 92.52 kB / 19.94 MB, free: 4.598 MB / 18.57 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.0009562/0.0009562, allocations: 169.9 kB / 23.21 MB, free: 1.328 MB / 18.57 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.025/1.025, allocations: 177.1 MB / 203.5 MB, free: 5.754 MB / 186.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.7305/0.7305, allocations: 291.1 MB / 0.5382 GB, free: 51.82 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.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: Performance of FrontEnd - loaded program: time 1.653e-06/1.653e-06, allocations: 0 / 0.6973 GB, free: 10.42 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.772e-05/2.938e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.42 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass): time 0.001259/0.001289, allocations: 0.6163 MB / 0.6979 GB, free: 9.801 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 5.873e-05/0.001347, allocations: 11.98 kB / 0.6979 GB, free: 9.789 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.144e-05/0.001379, allocations: 7.938 kB / 0.6979 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.627e-05/0.001395, allocations: 0 / 0.6979 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.286e-05/0.001418, allocations: 0 / 0.6979 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.527e-05/0.001473, allocations: 3.984 kB / 0.6979 GB, free: 9.777 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.479e-05/0.001528, allocations: 19.92 kB / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.431e-05/0.001582, allocations: 3.984 kB / 0.698 GB, free: 9.754 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.873e-05/0.001621, allocations: 7.984 kB / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.431e-05/0.001675, allocations: 11.98 kB / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.001701, allocations: 3.938 kB / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 4.969e-06/0.001706, allocations: 0 / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.551e-05/0.001721, allocations: 7.938 kB / 0.698 GB, free: 9.723 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.919e-05/0.00174, allocations: 4 kB / 0.698 GB, free: 9.719 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.615e-05/0.001796, allocations: 15.97 kB / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.001798, allocations: 0 / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0018, allocations: 0 / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.579e-06/0.001805, allocations: 0 / 0.698 GB, free: 9.703 MB / 410.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.0003033/0.002108, allocations: 262.3 kB / 0.6983 GB, free: 9.414 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.002149, allocations: 8.031 kB / 0.6983 GB, free: 9.406 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.921e-05/0.002179, allocations: 4.938 kB / 0.6983 GB, free: 9.402 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.415e-05/0.002243, allocations: 105.8 kB / 0.6984 GB, free: 9.273 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.002255, allocations: 4.375 kB / 0.6984 GB, free: 9.27 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.686e-06/0.002264, allocations: 4.375 kB / 0.6984 GB, free: 9.266 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.765e-05/0.002351, allocations: 38.25 kB / 0.6984 GB, free: 9.223 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.002359, allocations: 192 / 0.6984 GB, free: 9.223 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.004e-05/0.002369, allocations: 4.375 kB / 0.6984 GB, free: 9.219 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.002374, allocations: 384 / 0.6984 GB, free: 9.219 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.041e-05/0.002414, allocations: 11.88 kB / 0.6984 GB, free: 9.207 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.814e-05/0.002512, allocations: 117.2 kB / 0.6985 GB, free: 9.062 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001564/0.002669, allocations: 46.69 kB / 0.6986 GB, free: 9.008 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.709e-05/0.002696, allocations: 12.86 kB / 0.6986 GB, free: 8.992 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.053e-05/0.002706, allocations: 0 / 0.6986 GB, free: 8.992 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.118e-05/0.002717, allocations: 38.56 kB / 0.6986 GB, free: 8.945 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 8.61e-07/0.002718, allocations: 0 / 0.6986 GB, free: 8.945 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001305/0.002849, allocations: 53.72 kB / 0.6987 GB, free: 8.887 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.351e-05/0.002872, allocations: 51.41 kB / 0.6987 GB, free: 8.824 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.251e-05/0.002915, allocations: 109.8 kB / 0.6988 GB, free: 8.707 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 5.38e-06/0.00292, allocations: 25.7 kB / 0.6989 GB, free: 8.676 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.419e-05/0.002934, allocations: 84.14 kB / 0.6989 GB, free: 8.59 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.504e-05/0.002959, allocations: 15.84 kB / 0.699 GB, free: 8.574 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.301e-05/0.002982, allocations: 21.7 kB / 0.699 GB, free: 8.547 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.176e-05/0.003014, allocations: 310.8 kB / 0.6993 GB, free: 8.234 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.22e-05/0.003026, allocations: 4 kB / 0.6993 GB, free: 8.23 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.109e-05/0.003038, allocations: 12.25 kB / 0.6993 GB, free: 8.219 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.634e-05/0.003074, allocations: 20.84 kB / 0.6993 GB, free: 8.195 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.003076, allocations: 11.94 kB / 0.6993 GB, free: 8.184 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.588e-05/0.003122, allocations: 41.7 kB / 0.6994 GB, free: 8.137 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.003134, allocations: 4 kB / 0.6994 GB, free: 8.133 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.00314, allocations: 4.312 kB / 0.6994 GB, free: 8.129 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.003154, allocations: 4 kB / 0.6994 GB, free: 8.125 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.751e-05/0.003191, allocations: 4 kB / 0.6994 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.003197, allocations: 0 / 0.6994 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.294e-05/0.00321, allocations: 11.89 kB / 0.6994 GB, free: 8.109 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.003214, allocations: 4 kB / 0.6994 GB, free: 8.105 MB / 410.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 3.675e-05/0.003251, allocations: 109.8 kB / 0.6995 GB, free: 7.988 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.707e-06/0.003255, allocations: 3.984 kB / 0.6995 GB, free: 7.984 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.668e-05/0.003272, allocations: 11.69 kB / 0.6995 GB, free: 7.973 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.003273, allocations: 0 / 0.6995 GB, free: 7.973 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.003277, allocations: 0 / 0.6995 GB, free: 7.973 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.003281, allocations: 7.922 kB / 0.6995 GB, free: 7.965 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.668e-05/0.003327, allocations: 105.3 kB / 0.6996 GB, free: 7.832 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.003328, allocations: 0 / 0.6996 GB, free: 7.832 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.381e-05/0.003342, allocations: 7.938 kB / 0.6996 GB, free: 7.824 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-06/0.003343, allocations: 3.938 kB / 0.6996 GB, free: 7.82 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.003355, allocations: 4 kB / 0.6996 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.003356, allocations: 0 / 0.6996 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.003357, allocations: 4 kB / 0.6996 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.079e-05/0.003418, allocations: 85 kB / 0.6997 GB, free: 7.711 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.528e-06/0.003422, allocations: 0 / 0.6997 GB, free: 7.711 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.327e-06/0.003432, allocations: 0 / 0.6997 GB, free: 7.711 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-06/0.003439, allocations: 3.938 kB / 0.6997 GB, free: 7.707 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.335e-05/0.003452, allocations: 4 kB / 0.6997 GB, free: 7.703 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.483e-06/0.003454, allocations: 0 / 0.6997 GB, free: 7.703 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.434e-05/0.003468, allocations: 87.27 kB / 0.6998 GB, free: 7.617 MB / 410.8 MB Notification: Performance of sort global known variables: time 5e-08/0.003468, allocations: 0 / 0.6998 GB, free: 7.617 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001075/0.003576, allocations: 11.94 kB / 0.6998 GB, free: 7.605 MB / 410.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 6.517e-05/0.003641, allocations: 103.2 kB / 0.6999 GB, free: 7.496 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.303e-05/0.003724, allocations: 19.98 kB / 0.6999 GB, free: 7.477 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.003726, allocations: 0 / 0.6999 GB, free: 7.477 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 9.969e-06/0.003736, allocations: 8 kB / 0.6999 GB, free: 7.469 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.003848, allocations: 4.625 kB / 0.7 GB, free: 7.465 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002182/0.004066, allocations: 142.5 kB / 0.7001 GB, free: 7.293 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.029e-05/0.004096, allocations: 67.34 kB / 0.7002 GB, free: 7.207 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.287e-05/0.004119, allocations: 8.5 kB / 0.7002 GB, free: 7.199 MB / 410.8 MB Notification: Performance of SimCode: time 5.11e-07/0.00412, allocations: 0 / 0.7002 GB, free: 7.199 MB / 410.8 MB Notification: Performance of Templates: time 0.00146/0.005579, allocations: 0.5266 MB / 0.7007 GB, free: 6.68 MB / 410.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 > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.339935242198408]