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.001295/0.001295, allocations: 92.52 kB / 19.94 MB, free: 4.602 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.001517/0.001517, allocations: 165.9 kB / 23.21 MB, free: 1.332 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.082/1.082, allocations: 177.1 MB / 203.5 MB, free: 5.77 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.7456/0.7456, allocations: 291.2 MB / 0.5382 GB, free: 51.81 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 1.743e-06/1.743e-06, allocations: 3.938 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.494e-05/3.668e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.41 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose): time 0.001298/0.001335, allocations: 0.6163 MB / 0.6979 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 5.119e-05/0.001386, allocations: 3.938 kB / 0.6979 GB, free: 9.789 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.594e-05/0.001422, allocations: 7.938 kB / 0.6979 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.875e-05/0.001441, allocations: 0 / 0.6979 GB, free: 9.781 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 3.419e-05/0.001475, allocations: 3.938 kB / 0.6979 GB, free: 9.777 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.863e-05/0.001533, allocations: 11.98 kB / 0.698 GB, free: 9.766 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 6.605e-05/0.001599, allocations: 7.984 kB / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 6.384e-05/0.001663, allocations: 7.984 kB / 0.698 GB, free: 9.75 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 4.415e-05/0.001707, allocations: 11.94 kB / 0.698 GB, free: 9.738 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 6.382e-05/0.001771, allocations: 3.984 kB / 0.698 GB, free: 9.734 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 3.043e-05/0.001802, allocations: 4 kB / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.51e-06/0.001807, allocations: 0 / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.001825, allocations: 0 / 0.698 GB, free: 9.73 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 2.948e-05/0.001855, allocations: 19.92 kB / 0.698 GB, free: 9.711 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 6.08e-05/0.001915, allocations: 3.984 kB / 0.698 GB, free: 9.707 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.001919, allocations: 4 kB / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of FrontEnd: time 1.443e-06/0.00192, allocations: 0 / 0.698 GB, free: 9.703 MB / 410.8 MB Notification: Performance of Transformations before backend: time 5.07e-06/0.001925, 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.0003617/0.002287, allocations: 254.3 kB / 0.6983 GB, free: 9.422 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/0.002334, allocations: 12.03 kB / 0.6983 GB, free: 9.41 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.463e-05/0.002368, allocations: 4.922 kB / 0.6983 GB, free: 9.406 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.27e-05/0.002441, allocations: 109.8 kB / 0.6984 GB, free: 9.273 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.002454, allocations: 4.359 kB / 0.6984 GB, free: 9.27 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.002465, allocations: 8.375 kB / 0.6984 GB, free: 9.262 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001039/0.002569, allocations: 38.2 kB / 0.6984 GB, free: 9.219 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.002579, allocations: 192 / 0.6984 GB, free: 9.219 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.00259, allocations: 384 / 0.6984 GB, free: 9.219 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.002595, allocations: 384 / 0.6984 GB, free: 9.219 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.521e-05/0.00264, allocations: 19.92 kB / 0.6984 GB, free: 9.199 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001217/0.002762, allocations: 105.3 kB / 0.6985 GB, free: 9.066 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002008/0.002963, allocations: 42.64 kB / 0.6986 GB, free: 9.016 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/0.002996, allocations: 24.92 kB / 0.6986 GB, free: 8.988 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.15e-05/0.003007, allocations: 0 / 0.6986 GB, free: 8.988 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.548e-05/0.003023, allocations: 34.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.003024, allocations: 0 / 0.6986 GB, free: 8.945 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001511/0.003175, allocations: 65.56 kB / 0.6987 GB, free: 8.875 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.653e-05/0.003201, allocations: 51.41 kB / 0.6988 GB, free: 8.812 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.361e-05/0.003255, allocations: 105.8 kB / 0.6989 GB, free: 8.699 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 6.032e-06/0.003261, allocations: 29.69 kB / 0.6989 GB, free: 8.664 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.69e-05/0.003278, allocations: 80.14 kB / 0.699 GB, free: 8.582 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.097e-05/0.003309, allocations: 15.84 kB / 0.699 GB, free: 8.566 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.124e-05/0.00333, allocations: 13.72 kB / 0.699 GB, free: 8.547 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 4.022e-05/0.00337, allocations: 318.8 kB / 0.6993 GB, free: 8.227 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.47e-05/0.003385, allocations: 11.92 kB / 0.6993 GB, free: 8.215 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.082e-05/0.003396, allocations: 8.25 kB / 0.6993 GB, free: 8.207 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.33e-05/0.003429, allocations: 20.86 kB / 0.6993 GB, free: 8.184 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.003432, allocations: 4 kB / 0.6993 GB, free: 8.18 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 5.277e-05/0.003485, allocations: 49.69 kB / 0.6994 GB, free: 8.125 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.346e-05/0.003498, allocations: 4 kB / 0.6994 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.003503, allocations: 0 / 0.6994 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.00352, allocations: 336 / 0.6994 GB, free: 8.121 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.542e-05/0.003566, allocations: 8 kB / 0.6994 GB, free: 8.113 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.003573, allocations: 3.938 kB / 0.6994 GB, free: 8.109 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.908e-05/0.003592, allocations: 7.891 kB / 0.6994 GB, free: 8.102 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.991e-06/0.003598, allocations: 4 kB / 0.6994 GB, free: 8.098 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 4.679e-05/0.003645, allocations: 117.8 kB / 0.6995 GB, free: 7.973 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.118e-06/0.003649, allocations: 3.984 kB / 0.6995 GB, free: 7.969 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.003668, allocations: 3.688 kB / 0.6995 GB, free: 7.965 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.00367, allocations: 4 kB / 0.6995 GB, free: 7.961 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.003675, allocations: 0 / 0.6995 GB, free: 7.961 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.003679, allocations: 3.938 kB / 0.6995 GB, free: 7.957 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.026e-05/0.003729, allocations: 105.3 kB / 0.6996 GB, free: 7.824 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.00373, allocations: 0 / 0.6996 GB, free: 7.824 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.549e-05/0.003745, allocations: 8 kB / 0.6996 GB, free: 7.816 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.003747, allocations: 4 kB / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.003755, allocations: 0 / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.91e-07/0.003755, allocations: 0 / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.003756, allocations: 0 / 0.6997 GB, free: 7.812 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.615e-05/0.003832, allocations: 84.95 kB / 0.6997 GB, free: 7.711 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 6.473e-06/0.003839, allocations: 4 kB / 0.6997 GB, free: 7.707 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.003849, allocations: 3.938 kB / 0.6997 GB, free: 7.703 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.166e-06/0.003858, allocations: 0 / 0.6997 GB, free: 7.703 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.52e-05/0.003873, allocations: 3.984 kB / 0.6997 GB, free: 7.699 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.003877, allocations: 8 kB / 0.6998 GB, free: 7.691 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.73e-05/0.003894, allocations: 79.28 kB / 0.6998 GB, free: 7.613 MB / 410.8 MB Notification: Performance of sort global known variables: time 6e-08/0.003894, allocations: 4 kB / 0.6998 GB, free: 7.609 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001123/0.004006, allocations: 7.938 kB / 0.6998 GB, free: 7.602 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.898e-05/0.004095, allocations: 103.2 kB / 0.6999 GB, free: 7.492 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 9.48e-05/0.00419, allocations: 19.98 kB / 0.7 GB, free: 7.473 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.004192, allocations: 0 / 0.7 GB, free: 7.473 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.037e-05/0.004203, allocations: 11.94 kB / 0.7 GB, free: 7.461 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.004331, allocations: 4 kB / 0.7 GB, free: 7.457 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002956/0.004627, allocations: 144.7 kB / 0.7001 GB, free: 7.285 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.587e-05/0.004673, allocations: 63.34 kB / 0.7002 GB, free: 7.203 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.749e-05/0.00471, allocations: 12.5 kB / 0.7002 GB, free: 7.191 MB / 410.8 MB Notification: Performance of SimCode: time 7.81e-07/0.004711, allocations: 0 / 0.7002 GB, free: 7.191 MB / 410.8 MB Notification: Performance of Templates: time 0.002097/0.006809, allocations: 0.5208 MB / 0.7007 GB, free: 6.676 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 > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_glucose.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.459884455427527]