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_tachycardia.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.0009757/0.0009757, 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.0009645/0.0009645, 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.081/1.081, allocations: 177.1 MB / 203.5 MB, free: 5.742 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.7213/0.7213, allocations: 291.2 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_tachycardia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia") translateModel(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.694e-06/1.694e-06, allocations: 0 / 0.6973 GB, free: 10.46 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.727e-05/1.897e-05, allocations: 2.281 kB / 0.6973 GB, free: 10.45 MB / 410.8 MB Notification: Performance of NFInst.instantiate(Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia): time 0.001/0.001019, allocations: 0.6168 MB / 0.6979 GB, free: 9.836 MB / 410.8 MB Notification: Performance of NFInst.instExpressions: time 4.942e-05/0.001068, allocations: 15.92 kB / 0.6979 GB, free: 9.82 MB / 410.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.16e-05/0.0011, allocations: 0 / 0.6979 GB, free: 9.82 MB / 410.8 MB Notification: Performance of NFTyping.typeComponents: time 1.492e-05/0.001115, allocations: 4 kB / 0.6979 GB, free: 9.816 MB / 410.8 MB Notification: Performance of NFTyping.typeBindings: time 2.83e-05/0.001143, allocations: 3.938 kB / 0.6979 GB, free: 9.812 MB / 410.8 MB Notification: Performance of NFTyping.typeClassSections: time 5.18e-05/0.001195, allocations: 0 / 0.6979 GB, free: 9.812 MB / 410.8 MB Notification: Performance of NFFlatten.flatten: time 5.776e-05/0.001253, allocations: 19.92 kB / 0.698 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFFlatten.resolveConnections: time 5.238e-05/0.001305, allocations: 0 / 0.698 GB, free: 9.793 MB / 410.8 MB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.001341, allocations: 7.984 kB / 0.698 GB, free: 9.785 MB / 410.8 MB Notification: Performance of NFSimplifyModel.simplify: time 5.503e-05/0.001396, allocations: 11.97 kB / 0.698 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFPackage.collectConstants: time 2.294e-05/0.001419, allocations: 0 / 0.698 GB, free: 9.773 MB / 410.8 MB Notification: Performance of NFFlatten.collectFunctions: time 5.67e-06/0.001425, allocations: 4 kB / 0.698 GB, free: 9.77 MB / 410.8 MB Notification: Performance of NFScalarize.scalarize: time 1.462e-05/0.00144, allocations: 7.938 kB / 0.698 GB, free: 9.762 MB / 410.8 MB Notification: Performance of NFVerifyModel.verify: time 1.819e-05/0.001458, allocations: 4 kB / 0.698 GB, free: 9.758 MB / 410.8 MB Notification: Performance of NFConvertDAE.convert: time 5.046e-05/0.001508, allocations: 11.97 kB / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of FrontEnd - DAE generated: time 1.914e-06/0.00151, allocations: 0 / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of FrontEnd: time 9.21e-07/0.001511, allocations: 0 / 0.698 GB, free: 9.746 MB / 410.8 MB Notification: Performance of Transformations before backend: time 4.258e-06/0.001515, allocations: 0 / 0.698 GB, free: 9.746 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.0002883/0.001804, allocations: 258.3 kB / 0.6983 GB, free: 9.461 MB / 410.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.001842, allocations: 8.031 kB / 0.6983 GB, free: 9.453 MB / 410.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.041e-05/0.001872, allocations: 4.938 kB / 0.6983 GB, free: 9.449 MB / 410.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.062e-05/0.001933, allocations: 109.8 kB / 0.6984 GB, free: 9.316 MB / 410.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.152e-05/0.001944, allocations: 4.375 kB / 0.6984 GB, free: 9.312 MB / 410.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.107e-06/0.001953, allocations: 4.375 kB / 0.6984 GB, free: 9.309 MB / 410.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.001e-05/0.002043, allocations: 46.19 kB / 0.6984 GB, free: 9.258 MB / 410.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.002052, allocations: 8.125 kB / 0.6984 GB, free: 9.25 MB / 410.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.307e-06/0.002061, allocations: 384 / 0.6984 GB, free: 9.25 MB / 410.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.002066, allocations: 384 / 0.6984 GB, free: 9.25 MB / 410.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.219e-05/0.002108, allocations: 15.92 kB / 0.6985 GB, free: 9.234 MB / 410.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.871e-05/0.002207, allocations: 101.3 kB / 0.6985 GB, free: 9.105 MB / 410.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001638/0.00237, allocations: 46.64 kB / 0.6986 GB, free: 9.051 MB / 410.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.673e-05/0.002397, allocations: 12.8 kB / 0.6986 GB, free: 9.035 MB / 410.8 MB Notification: Performance of preOpt evalFunc (simulation): time 1.072e-05/0.002408, allocations: 4 kB / 0.6986 GB, free: 9.031 MB / 410.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.391e-05/0.002422, allocations: 38.69 kB / 0.6986 GB, free: 8.984 MB / 410.8 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.002423, allocations: 7.984 kB / 0.6987 GB, free: 8.977 MB / 410.8 MB Notification: Performance of matching and sorting (n=4): time 0.0001296/0.002553, allocations: 45.7 kB / 0.6987 GB, free: 8.926 MB / 410.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.286e-05/0.002576, allocations: 63.33 kB / 0.6988 GB, free: 8.852 MB / 410.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.391e-05/0.00262, allocations: 101.8 kB / 0.6989 GB, free: 8.742 MB / 410.8 MB Notification: Performance of collectPreVariables (initialization): time 7.183e-06/0.002627, allocations: 25.7 kB / 0.6989 GB, free: 8.711 MB / 410.8 MB Notification: Performance of collectInitialEqns (initialization): time 1.711e-05/0.002644, allocations: 88.14 kB / 0.699 GB, free: 8.621 MB / 410.8 MB Notification: Performance of collectInitialBindings (initialization): time 3.138e-05/0.002675, allocations: 19.81 kB / 0.699 GB, free: 8.602 MB / 410.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.002702, allocations: 17.72 kB / 0.699 GB, free: 8.578 MB / 410.8 MB Notification: Performance of setup shared object (initialization): time 3.663e-05/0.002739, allocations: 310.8 kB / 0.6993 GB, free: 8.266 MB / 410.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.878e-05/0.002757, allocations: 7.938 kB / 0.6993 GB, free: 8.258 MB / 410.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.39e-05/0.002771, allocations: 15.98 kB / 0.6993 GB, free: 8.242 MB / 410.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.379e-05/0.002815, allocations: 20.86 kB / 0.6993 GB, free: 8.219 MB / 410.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.002818, allocations: 0 / 0.6993 GB, free: 8.219 MB / 410.8 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.446e-05/0.002882, allocations: 45.69 kB / 0.6994 GB, free: 8.168 MB / 410.8 MB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.002898, allocations: 8 kB / 0.6994 GB, free: 8.16 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.002903, allocations: 0 / 0.6994 GB, free: 8.16 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.002917, allocations: 0 / 0.6994 GB, free: 8.16 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.348e-05/0.002961, allocations: 4 kB / 0.6994 GB, free: 8.156 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.047e-05/0.002971, allocations: 3.938 kB / 0.6994 GB, free: 8.152 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.219e-05/0.002983, allocations: 7.891 kB / 0.6994 GB, free: 8.145 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.002988, allocations: 8 kB / 0.6994 GB, free: 8.137 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.564e-05/0.003024, allocations: 109.8 kB / 0.6995 GB, free: 8.02 MB / 410.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.007e-06/0.003028, allocations: 4 kB / 0.6995 GB, free: 8.016 MB / 410.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.78e-05/0.003045, allocations: 11.67 kB / 0.6995 GB, free: 8.004 MB / 410.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.003047, allocations: 0 / 0.6995 GB, free: 8.004 MB / 410.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.00305, allocations: 0 / 0.6995 GB, free: 8.004 MB / 410.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.003053, allocations: 7.875 kB / 0.6995 GB, free: 7.996 MB / 410.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.012e-05/0.003093, allocations: 105.3 kB / 0.6996 GB, free: 7.863 MB / 410.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.32e-07/0.003094, allocations: 0 / 0.6996 GB, free: 7.863 MB / 410.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.328e-05/0.003107, allocations: 7.984 kB / 0.6996 GB, free: 7.855 MB / 410.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.72e-07/0.003108, allocations: 0 / 0.6996 GB, free: 7.855 MB / 410.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.003114, allocations: 4.25 kB / 0.6997 GB, free: 7.852 MB / 410.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.31e-07/0.003114, allocations: 4 kB / 0.6997 GB, free: 7.848 MB / 410.8 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.003115, allocations: 4 kB / 0.6997 GB, free: 7.844 MB / 410.8 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.441e-05/0.003169, allocations: 80.95 kB / 0.6997 GB, free: 7.746 MB / 410.8 MB Notification: Performance of postOpt removeConstants (simulation): time 4.769e-06/0.003174, allocations: 4 kB / 0.6997 GB, free: 7.742 MB / 410.8 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.756e-06/0.003183, allocations: 0 / 0.6997 GB, free: 7.742 MB / 410.8 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.253e-06/0.00319, allocations: 4 kB / 0.6997 GB, free: 7.738 MB / 410.8 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.003203, allocations: 0 / 0.6997 GB, free: 7.738 MB / 410.8 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.092e-06/0.003204, allocations: 0 / 0.6997 GB, free: 7.738 MB / 410.8 MB Notification: Performance of sorting global known variables: time 1.629e-05/0.003221, allocations: 83.27 kB / 0.6998 GB, free: 7.656 MB / 410.8 MB Notification: Performance of sort global known variables: time 1.4e-07/0.003221, allocations: 0 / 0.6998 GB, free: 7.656 MB / 410.8 MB Notification: Performance of remove unused functions: time 0.0001058/0.003327, allocations: 15.94 kB / 0.6998 GB, free: 7.641 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 5.866e-05/0.003385, allocations: 99.25 kB / 0.6999 GB, free: 7.535 MB / 410.8 MB Notification: Performance of simCode: created initialization part: time 6.951e-05/0.003455, allocations: 24.3 kB / 0.7 GB, free: 7.512 MB / 410.8 MB Notification: Performance of simCode: created event and clocks part: time 1.582e-06/0.003456, allocations: 0 / 0.7 GB, free: 7.512 MB / 410.8 MB Notification: Performance of simCode: created simulation system equations: time 1.245e-05/0.003469, allocations: 12.03 kB / 0.7 GB, free: 7.5 MB / 410.8 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001054/0.003574, allocations: 4 kB / 0.7 GB, free: 7.496 MB / 410.8 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001947/0.003769, allocations: 143.2 kB / 0.7001 GB, free: 7.324 MB / 410.8 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.907e-05/0.003798, allocations: 63.34 kB / 0.7002 GB, free: 7.242 MB / 410.8 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.243e-05/0.00382, allocations: 12.5 kB / 0.7002 GB, free: 7.23 MB / 410.8 MB Notification: Performance of SimCode: time 4.61e-07/0.003821, allocations: 0 / 0.7002 GB, free: 7.23 MB / 410.8 MB Notification: Performance of Templates: time 0.001292/0.005112, allocations: 0.5265 MB / 0.7007 GB, free: 6.711 MB / 410.8 MB " [Timeout remaining time 660] make -j1 -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.makefile [Timeout 660] (rm -f Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.pipe ; mkfifo Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.pipe ; head -c 1048576 < Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.pipe >> ../files/Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.sim & ./Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia > Pharmacolibrary_Pharmacolibrary.Drugs.R_RespiratorySystem.R03A_AdrenergicsInhalants.R03AC02_Salbutamol.Salbutamol_Walsh2023_PD_tachycardia.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.319323470816016]