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.002153/0.002153, 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.002503/0.002503, allocations: 169.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.665/1.665, allocations: 177.1 MB / 202.8 MB, free: 5.762 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.374/1.374, allocations: 293 MB / 0.5392 GB, free: 49.26 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: Performance of FrontEnd - loaded program: time 1.974e-06/1.974e-06, allocations: 0 / 0.6999 GB, free: 8.582 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.002e-05/4.199e-05, allocations: 6.219 kB / 0.6999 GB, free: 8.574 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_pass): time 0.001838/0.00188, allocations: 0.6196 MB / 0.7005 GB, free: 7.953 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 7.616e-05/0.001956, allocations: 15.92 kB / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.798e-05/0.001994, allocations: 0 / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.838e-05/0.002013, allocations: 0 / 0.7005 GB, free: 7.938 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.619e-05/0.002039, allocations: 3.938 kB / 0.7005 GB, free: 7.934 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 6.506e-05/0.002104, allocations: 3.984 kB / 0.7005 GB, free: 7.93 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 8.819e-05/0.002192, allocations: 19.92 kB / 0.7006 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.972e-05/0.002262, allocations: 0 / 0.7006 GB, free: 7.91 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.66e-05/0.002308, allocations: 7.984 kB / 0.7006 GB, free: 7.902 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.919e-05/0.002378, allocations: 11.98 kB / 0.7006 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.333e-05/0.002411, allocations: 0 / 0.7006 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 7.053e-06/0.002418, allocations: 0 / 0.7006 GB, free: 7.891 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.00244, allocations: 11.94 kB / 0.7006 GB, free: 7.879 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.541e-05/0.002465, allocations: 3.938 kB / 0.7006 GB, free: 7.875 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.778e-05/0.002533, allocations: 11.97 kB / 0.7006 GB, free: 7.863 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.002538, allocations: 7.984 kB / 0.7006 GB, free: 7.855 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.32e-07/0.002539, allocations: 0 / 0.7006 GB, free: 7.855 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.002543, allocations: 0 / 0.7006 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.000429/0.002972, allocations: 254.3 kB / 0.7008 GB, free: 7.574 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.003017, allocations: 12.03 kB / 0.7009 GB, free: 7.562 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.003055, allocations: 4.938 kB / 0.7009 GB, free: 7.559 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.579e-05/0.003151, allocations: 113.8 kB / 0.701 GB, free: 7.422 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.003168, allocations: 4.375 kB / 0.701 GB, free: 7.418 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.003178, allocations: 384 / 0.701 GB, free: 7.418 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001104/0.003288, allocations: 38.25 kB / 0.701 GB, free: 7.375 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.122e-05/0.0033, allocations: 4.125 kB / 0.701 GB, free: 7.371 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.003314, allocations: 8.312 kB / 0.701 GB, free: 7.363 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.003319, allocations: 384 / 0.701 GB, free: 7.363 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.631e-05/0.003375, allocations: 7.938 kB / 0.701 GB, free: 7.355 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001451/0.00352, allocations: 109.3 kB / 0.7011 GB, free: 7.219 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002014/0.003722, allocations: 50.64 kB / 0.7012 GB, free: 7.16 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.029e-05/0.003762, allocations: 8.859 kB / 0.7012 GB, free: 7.148 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.003777, allocations: 0 / 0.7012 GB, free: 7.148 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.831e-05/0.003795, allocations: 42.5 kB / 0.7012 GB, free: 7.098 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 7.11e-07/0.003796, allocations: 0 / 0.7012 GB, free: 7.098 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001811/0.003977, allocations: 53.95 kB / 0.7013 GB, free: 7.039 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.312e-05/0.00401, allocations: 51.41 kB / 0.7013 GB, free: 6.977 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.93e-05/0.00409, allocations: 109.8 kB / 0.7014 GB, free: 6.859 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 9.939e-06/0.004099, allocations: 25.7 kB / 0.7015 GB, free: 6.828 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 2.582e-05/0.004125, allocations: 88.14 kB / 0.7016 GB, free: 6.738 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.606e-05/0.004161, allocations: 11.91 kB / 0.7016 GB, free: 6.727 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.471e-05/0.004196, allocations: 21.7 kB / 0.7016 GB, free: 6.699 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 6.306e-05/0.004259, allocations: 310.8 kB / 0.7019 GB, free: 6.387 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.82e-05/0.004277, allocations: 4 kB / 0.7019 GB, free: 6.383 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.237e-05/0.00429, allocations: 8 kB / 0.7019 GB, free: 6.375 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.96e-05/0.004329, allocations: 24.78 kB / 0.7019 GB, free: 6.348 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.004331, allocations: 4 kB / 0.7019 GB, free: 6.344 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.827e-05/0.004389, allocations: 41.7 kB / 0.702 GB, free: 6.297 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.004403, allocations: 7.984 kB / 0.702 GB, free: 6.289 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.004409, allocations: 4 kB / 0.702 GB, free: 6.285 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.004426, allocations: 4 kB / 0.702 GB, free: 6.281 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.915e-05/0.004476, allocations: 4 kB / 0.702 GB, free: 6.277 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.004481, allocations: 0 / 0.702 GB, free: 6.277 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.004503, allocations: 11.83 kB / 0.702 GB, free: 6.266 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.141e-06/0.004509, allocations: 8 kB / 0.702 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.492e-05/0.004564, allocations: 114.2 kB / 0.7021 GB, free: 6.137 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.113e-06/0.004571, allocations: 0 / 0.7021 GB, free: 6.137 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.004596, allocations: 11.69 kB / 0.7021 GB, free: 6.125 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.004598, allocations: 0 / 0.7021 GB, free: 6.125 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.004603, allocations: 3.984 kB / 0.7021 GB, free: 6.121 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.888e-06/0.004607, allocations: 7.938 kB / 0.7021 GB, free: 6.113 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.524e-05/0.004672, allocations: 109.3 kB / 0.7022 GB, free: 5.977 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.004673, allocations: 0 / 0.7022 GB, free: 5.977 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.28e-05/0.004706, allocations: 4.25 kB / 0.7022 GB, free: 5.973 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.004707, allocations: 0 / 0.7022 GB, free: 5.973 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.185e-06/0.004715, allocations: 4 kB / 0.7022 GB, free: 5.969 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.004717, allocations: 3.984 kB / 0.7022 GB, free: 5.965 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.004718, allocations: 4 kB / 0.7022 GB, free: 5.961 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.759e-05/0.004796, allocations: 81.02 kB / 0.7023 GB, free: 5.863 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.548e-06/0.004801, allocations: 0 / 0.7023 GB, free: 5.863 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.09e-05/0.004811, allocations: 0 / 0.7023 GB, free: 5.863 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.87e-05/0.00483, allocations: 4 kB / 0.7023 GB, free: 5.859 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.771e-05/0.004848, allocations: 7.938 kB / 0.7023 GB, free: 5.852 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.00485, allocations: 0 / 0.7023 GB, free: 5.852 MB / 410.8 MB Notification: Performance of sorting global known variables: time 3.113e-05/0.004881, allocations: 87.27 kB / 0.7024 GB, free: 5.766 MB / 410.8 MB Notification: Performance of sort global known variables: time 8e-08/0.004881, allocations: 0 / 0.7024 GB, free: 5.766 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001667/0.005048, allocations: 7.938 kB / 0.7024 GB, free: 5.758 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.923e-05/0.005137, allocations: 99.25 kB / 0.7025 GB, free: 5.652 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 0.0001239/0.005261, allocations: 19.98 kB / 0.7025 GB, free: 5.633 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.005264, allocations: 0 / 0.7025 GB, free: 5.633 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 3.109e-05/0.005295, allocations: 12.27 kB / 0.7026 GB, free: 5.621 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.005455, allocations: 8 kB / 0.7026 GB, free: 5.613 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000265/0.00572, allocations: 112.8 kB / 0.7027 GB, free: 5.477 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.469e-05/0.005765, allocations: 63.44 kB / 0.7027 GB, free: 5.395 MB / 410.8 MB Notification: Performance of simCode: alias equations: time 1.652e-05/0.005781, allocations: 0 / 0.7027 GB, free: 5.395 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.246e-05/0.005824, allocations: 8.5 kB / 0.7027 GB, free: 5.387 MB / 410.8 MB Notification: Performance of SimCode: time 4.41e-07/0.005824, allocations: 0 / 0.7027 GB, free: 5.387 MB / 410.8 MB Notification: Performance of Templates: time 0.002873/0.008697, allocations: 416 kB / 0.7031 GB, free: 5.035 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 -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: 6.487403576029465]