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.0007547/0.0007547, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009064/0.001661, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.0007529/0.0007529, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009421/0.001695, allocations: 463.6 kB / 11.68 MB, free: 2.484 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 0.9907/0.9907, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1069/1.098, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.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.8328/0.8328, allocations: 291.2 MB / 0.5226 GB, free: 52.94 MB / 410.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.03496/0.8678, allocations: 21.04 MB / 0.5431 GB, free: 31.96 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_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 2.264e-06/2.264e-06, allocations: 0 / 0.5445 GB, free: 30.61 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.288e-05/2.515e-05, allocations: 2.312 kB / 0.5445 GB, free: 30.6 MB / 410.7 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose): time 0.001519/0.001544, allocations: 0.6886 MB / 0.5452 GB, free: 29.92 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 3.383e-05/0.001578, allocations: 11.92 kB / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.982e-05/0.001598, allocations: 0 / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 4.568e-06/0.001602, allocations: 4 kB / 0.5452 GB, free: 29.91 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 1.266e-05/0.001615, allocations: 7.875 kB / 0.5452 GB, free: 29.9 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 2.886e-05/0.001644, allocations: 3.984 kB / 0.5452 GB, free: 29.89 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 5.533e-05/0.001699, allocations: 15.98 kB / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.095e-05/0.00174, allocations: 0 / 0.5452 GB, free: 29.88 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.281e-05/0.001793, allocations: 19.92 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.765e-05/0.001851, allocations: 0 / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.001875, allocations: 4 kB / 0.5452 GB, free: 29.86 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.23e-06/0.00188, allocations: 4 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 1.208e-05/0.001893, allocations: 3.938 kB / 0.5452 GB, free: 29.85 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 2.38e-05/0.001916, allocations: 4 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 5.919e-05/0.001976, allocations: 7.984 kB / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-05/0.001992, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of FrontEnd: time 6.22e-07/0.001992, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.932e-05/0.002011, allocations: 0 / 0.5452 GB, free: 29.84 MB / 410.7 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.0003264/0.002338, allocations: 235 kB / 0.5455 GB, free: 29.58 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.002374, allocations: 19.84 kB / 0.5455 GB, free: 29.56 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.002404, allocations: 8.922 kB / 0.5455 GB, free: 29.55 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.469e-05/0.002479, allocations: 113.8 kB / 0.5456 GB, free: 29.42 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.002489, allocations: 4.312 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.002498, allocations: 8.312 kB / 0.5456 GB, free: 29.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.048e-05/0.002569, allocations: 34.25 kB / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.002576, allocations: 192 / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.342e-06/0.002582, allocations: 384 / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.002588, allocations: 384 / 0.5456 GB, free: 29.37 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.642e-05/0.002614, allocations: 7.938 kB / 0.5457 GB, free: 29.36 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.949e-05/0.002704, allocations: 65.05 kB / 0.5457 GB, free: 29.28 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001828/0.002887, allocations: 50.58 kB / 0.5458 GB, free: 29.22 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.506e-05/0.002912, allocations: 12.8 kB / 0.5458 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.993e-06/0.002919, allocations: 0 / 0.5458 GB, free: 29.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.002938, allocations: 34.56 kB / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.00294, allocations: 0 / 0.5458 GB, free: 29.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001104/0.00305, allocations: 45.78 kB / 0.5459 GB, free: 29.11 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.761e-05/0.003078, allocations: 51.41 kB / 0.5459 GB, free: 29.05 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.457e-05/0.003122, allocations: 110 kB / 0.546 GB, free: 28.93 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 7.153e-06/0.003129, allocations: 29.7 kB / 0.546 GB, free: 28.9 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.049e-05/0.00314, allocations: 80.14 kB / 0.5461 GB, free: 28.82 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.003169, allocations: 15.84 kB / 0.5461 GB, free: 28.8 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.067e-05/0.003199, allocations: 17.72 kB / 0.5461 GB, free: 28.78 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 4.018e-05/0.003239, allocations: 326.8 kB / 0.5465 GB, free: 28.45 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.003249, allocations: 3.938 kB / 0.5465 GB, free: 28.45 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.013e-05/0.003259, allocations: 4 kB / 0.5465 GB, free: 28.44 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.689e-05/0.003286, allocations: 21.11 kB / 0.5465 GB, free: 28.42 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.003288, allocations: 0 / 0.5465 GB, free: 28.42 MB / 410.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 4.865e-05/0.003337, allocations: 41.69 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.003349, allocations: 4 kB / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.003353, allocations: 0 / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.987e-06/0.003362, allocations: 0 / 0.5465 GB, free: 28.37 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.851e-05/0.003411, allocations: 15.94 kB / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-06/0.003414, allocations: 0 / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.468e-05/0.003429, allocations: 0 / 0.5465 GB, free: 28.35 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.165e-06/0.003432, allocations: 0 / 0.5465 GB, free: 28.35 MB / 410.7 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.77e-05/0.00347, allocations: 117.8 kB / 0.5467 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.122e-06/0.003476, allocations: 0 / 0.5467 GB, free: 28.23 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.048e-05/0.003496, allocations: 15.67 kB / 0.5467 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.003498, allocations: 3.938 kB / 0.5467 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.0035, allocations: 0 / 0.5467 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.003502, allocations: 0 / 0.5467 GB, free: 28.21 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.605e-05/0.003558, allocations: 73.83 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.003559, allocations: 4 kB / 0.5467 GB, free: 28.12 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.003584, allocations: 4 kB / 0.5467 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.003e-06/0.003591, allocations: 7.984 kB / 0.5468 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.003593, allocations: 0 / 0.5468 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.406e-06/0.003596, allocations: 0 / 0.5468 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.003598, allocations: 0 / 0.5468 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-06/0.003599, allocations: 0 / 0.5468 GB, free: 28.11 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.387e-05/0.003663, allocations: 73 kB / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.148e-06/0.003672, allocations: 0 / 0.5468 GB, free: 28.02 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.376e-05/0.003686, allocations: 7.125 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.041e-05/0.003696, allocations: 0 / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.003698, allocations: 4 kB / 0.5468 GB, free: 28.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 1.077e-05/0.003709, allocations: 12.84 kB / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of sort global known variables: time 9e-08/0.003709, allocations: 0 / 0.5468 GB, free: 27.99 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0001402/0.003849, allocations: 4 kB / 0.5469 GB, free: 27.99 MB / 410.7 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.482e-05/0.003914, allocations: 80.42 kB / 0.5469 GB, free: 27.9 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 6.876e-05/0.003983, allocations: 24.84 kB / 0.547 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.174e-06/0.00399, allocations: 0 / 0.547 GB, free: 27.87 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 1.139e-05/0.004001, allocations: 16.8 kB / 0.547 GB, free: 27.85 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.583e-05/0.004067, allocations: 9.906 kB / 0.547 GB, free: 27.84 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002011/0.004268, allocations: 136.4 kB / 0.5471 GB, free: 27.68 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.126e-05/0.00429, allocations: 55.36 kB / 0.5472 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 1.495e-05/0.004304, allocations: 0 / 0.5472 GB, free: 27.61 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.056e-05/0.004335, allocations: 51.38 kB / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of SimCode: time 6.31e-07/0.004336, allocations: 0 / 0.5472 GB, free: 27.56 MB / 410.7 MB Notification: Performance of Templates: time 0.002123/0.006459, allocations: 461.2 kB / 0.5477 GB, free: 27.15 MB / 410.7 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: 3.3609395250678062]