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.001898/0.001898, allocations: 84.44 kB / 19.17 MB, free: 0.7383 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.00204/0.00204, allocations: 173.9 kB / 22.46 MB, free: 2.102 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.642/1.642, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.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.491/1.491, allocations: 292.9 MB / 0.5392 GB, free: 49.82 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: Performance of FrontEnd - loaded program: time 1.262e-06/1.262e-06, allocations: 0 / 0.6998 GB, free: 8.574 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.719e-05/2.845e-05, allocations: 2.281 kB / 0.6998 GB, free: 8.57 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose): time 0.001475/0.001503, allocations: 0.6151 MB / 0.7004 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.979e-05/0.001553, allocations: 15.92 kB / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.335e-05/0.001587, allocations: 0 / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.772e-05/0.001604, allocations: 0 / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.591e-05/0.00163, allocations: 0 / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 4.696e-05/0.001677, allocations: 3.984 kB / 0.7005 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.333e-05/0.001741, allocations: 19.92 kB / 0.7005 GB, free: 7.914 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.509e-05/0.001796, allocations: 7.938 kB / 0.7005 GB, free: 7.906 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 5.275e-05/0.001848, allocations: 7.984 kB / 0.7005 GB, free: 7.898 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.187e-05/0.0019, allocations: 11.98 kB / 0.7005 GB, free: 7.887 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.001928, allocations: 0 / 0.7005 GB, free: 7.887 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-06/0.001933, allocations: 7.938 kB / 0.7005 GB, free: 7.879 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.358e-05/0.001946, allocations: 0 / 0.7005 GB, free: 7.879 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.892e-05/0.001965, allocations: 0 / 0.7005 GB, free: 7.879 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.295e-05/0.002018, allocations: 25.3 kB / 0.7005 GB, free: 7.855 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.002021, allocations: 0 / 0.7005 GB, free: 7.855 MB / 410.8 MB Notification: Performance of FrontEnd: time 5.41e-07/0.002021, allocations: 0 / 0.7005 GB, free: 7.855 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.339e-06/0.002026, allocations: 0 / 0.7005 GB, free: 7.855 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.0003266/0.002352, allocations: 262.3 kB / 0.7008 GB, free: 7.566 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.002392, allocations: 8.031 kB / 0.7008 GB, free: 7.559 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.304e-05/0.002425, allocations: 8.875 kB / 0.7008 GB, free: 7.551 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.151e-05/0.002496, allocations: 105.8 kB / 0.7009 GB, free: 7.422 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.002509, allocations: 4.375 kB / 0.7009 GB, free: 7.418 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.002518, allocations: 384 / 0.7009 GB, free: 7.418 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.411e-05/0.002612, allocations: 46.25 kB / 0.701 GB, free: 7.367 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.002621, allocations: 192 / 0.701 GB, free: 7.367 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.397e-06/0.002631, allocations: 384 / 0.701 GB, free: 7.367 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.002635, allocations: 384 / 0.701 GB, free: 7.367 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.947e-05/0.002684, allocations: 23.88 kB / 0.701 GB, free: 7.344 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001315/0.002815, allocations: 105.3 kB / 0.7011 GB, free: 7.211 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001914/0.003007, allocations: 46.62 kB / 0.7011 GB, free: 7.156 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.171e-05/0.003049, allocations: 12.86 kB / 0.7011 GB, free: 7.141 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.496e-05/0.003064, allocations: 4 kB / 0.7011 GB, free: 7.137 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.433e-05/0.003078, allocations: 30.56 kB / 0.7012 GB, free: 7.098 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 9.41e-07/0.003079, allocations: 0 / 0.7012 GB, free: 7.098 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001529/0.003232, allocations: 53.77 kB / 0.7012 GB, free: 7.039 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.917e-05/0.003261, allocations: 59.41 kB / 0.7013 GB, free: 6.969 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.875e-05/0.00331, allocations: 101.8 kB / 0.7014 GB, free: 6.859 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.003319, allocations: 29.7 kB / 0.7014 GB, free: 6.824 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.833e-05/0.003337, allocations: 88.14 kB / 0.7015 GB, free: 6.734 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 2.885e-05/0.003366, allocations: 7.906 kB / 0.7015 GB, free: 6.727 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.003397, allocations: 21.7 kB / 0.7015 GB, free: 6.699 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 5.808e-05/0.003455, allocations: 310.8 kB / 0.7018 GB, free: 6.387 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.893e-05/0.003474, allocations: 8 kB / 0.7018 GB, free: 6.379 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.263e-05/0.003486, allocations: 4 kB / 0.7018 GB, free: 6.375 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.057e-05/0.003527, allocations: 28.78 kB / 0.7019 GB, free: 6.344 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.003529, allocations: 0 / 0.7019 GB, free: 6.344 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.874e-05/0.003588, allocations: 41.7 kB / 0.7019 GB, free: 6.297 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.003603, allocations: 15.98 kB / 0.7019 GB, free: 6.281 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.578e-06/0.003607, allocations: 0 / 0.7019 GB, free: 6.281 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.486e-05/0.003632, allocations: 0 / 0.7019 GB, free: 6.281 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.366e-05/0.003686, allocations: 8 kB / 0.7019 GB, free: 6.273 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.003691, allocations: 0 / 0.7019 GB, free: 6.273 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.167e-05/0.003713, allocations: 15.83 kB / 0.7019 GB, free: 6.258 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.679e-06/0.003717, allocations: 0 / 0.7019 GB, free: 6.258 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 5.834e-05/0.003776, allocations: 109.8 kB / 0.702 GB, free: 6.141 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.216e-06/0.003784, allocations: 7.938 kB / 0.702 GB, free: 6.133 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.557e-05/0.00381, allocations: 7.688 kB / 0.7021 GB, free: 6.125 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-06/0.003811, allocations: 0 / 0.7021 GB, free: 6.125 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.003817, allocations: 7.984 kB / 0.7021 GB, free: 6.117 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.003822, allocations: 7.875 kB / 0.7021 GB, free: 6.109 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.755e-05/0.0039, allocations: 105.3 kB / 0.7022 GB, free: 5.977 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.003901, allocations: 0 / 0.7022 GB, free: 5.977 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.496e-05/0.003936, allocations: 4 kB / 0.7022 GB, free: 5.973 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.003937, allocations: 0 / 0.7022 GB, free: 5.973 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.697e-06/0.003946, allocations: 4 kB / 0.7022 GB, free: 5.969 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.003948, allocations: 4.234 kB / 0.7022 GB, free: 5.965 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.223e-06/0.003949, allocations: 4 kB / 0.7022 GB, free: 5.961 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.149e-05/0.00403, allocations: 81.34 kB / 0.7023 GB, free: 5.863 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.629e-06/0.004035, allocations: 4 kB / 0.7023 GB, free: 5.859 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.119e-05/0.004046, allocations: 48 / 0.7023 GB, free: 5.859 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.017e-05/0.004066, allocations: 7.984 kB / 0.7023 GB, free: 5.852 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.458e-05/0.004081, allocations: 0 / 0.7023 GB, free: 5.852 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.304e-06/0.004083, allocations: 0 / 0.7023 GB, free: 5.852 MB / 410.8 MB Notification: Performance of sorting global known variables: time 2.059e-05/0.004104, allocations: 87.27 kB / 0.7024 GB, free: 5.766 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.004104, allocations: 3.938 kB / 0.7024 GB, free: 5.762 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001698/0.004274, allocations: 7.938 kB / 0.7024 GB, free: 5.754 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 8.717e-05/0.004361, allocations: 99.25 kB / 0.7025 GB, free: 5.648 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 8.815e-05/0.004449, allocations: 19.98 kB / 0.7025 GB, free: 5.629 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.004451, allocations: 4 kB / 0.7025 GB, free: 5.625 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.517e-05/0.004466, allocations: 8 kB / 0.7025 GB, free: 5.617 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001501/0.004616, allocations: 7.281 kB / 0.7025 GB, free: 5.613 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.004853, allocations: 116.8 kB / 0.7026 GB, free: 5.473 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.446e-05/0.004887, allocations: 63.34 kB / 0.7027 GB, free: 5.391 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.481e-05/0.004902, allocations: 0 / 0.7027 GB, free: 5.391 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.073e-05/0.004923, allocations: 8.5 kB / 0.7027 GB, free: 5.383 MB / 410.8 MB Notification: Performance of SimCode: time 3.91e-07/0.004923, allocations: 4 kB / 0.7027 GB, free: 5.379 MB / 410.8 MB Notification: Performance of Templates: time 0.002711/0.007635, allocations: 411.8 kB / 0.7031 GB, free: 5.027 MB / 410.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: 6.595288220094517]